| Modifier and Type | Class and Description |
|---|---|
class |
Compute.MachineTypes.AggregatedList |
class |
Compute.MachineTypes.Get |
class |
Compute.MachineTypes.List |
| Constructor and Description |
|---|
MachineTypes() |
| Modifier and Type | Method and Description |
|---|---|
Compute.MachineTypes.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of machine types.
|
Compute.MachineTypes.Get |
get(String project,
String zone,
String machineType)
Returns the specified machine type.
|
Compute.MachineTypes.List |
list(String project,
String zone)
Retrieves a list of machine types available to the specified project.
|
public Compute.MachineTypes.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.MachineTypes.Get get(String project, String zone, String machineType) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.machineType - Name of the machine type to return.IOExceptionpublic Compute.MachineTypes.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.IOExceptionCopyright © 2011–2022 Google. All rights reserved.