Modifier and Type | Class and Description |
---|---|
class |
Compute.Disks.AggregatedList |
class |
Compute.Disks.CreateSnapshot |
class |
Compute.Disks.Delete |
class |
Compute.Disks.Get |
class |
Compute.Disks.Insert |
class |
Compute.Disks.List |
Constructor and Description |
---|
Compute.Disks() |
Modifier and Type | Method and Description |
---|---|
Compute.Disks.AggregatedList |
aggregatedList(String project)
Retrieves the list of disks grouped by scope.
|
Compute.Disks.CreateSnapshot |
createSnapshot(String project,
String zone,
String disk,
Snapshot content)
Create a request for the method "disks.createSnapshot".
|
Compute.Disks.Delete |
delete(String project,
String zone,
String disk)
Deletes the specified persistent disk resource.
|
Compute.Disks.Get |
get(String project,
String zone,
String disk)
Returns the specified persistent disk resource.
|
Compute.Disks.Insert |
insert(String project,
String zone,
Disk content)
Creates a persistent disk resource in the specified project using the data included in the
request.
|
Compute.Disks.List |
list(String project,
String zone)
Retrieves the list of persistent disk resources contained within the specified zone.
|
public Compute.Disks.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.IOException
public Compute.Disks.CreateSnapshot createSnapshot(String project, String zone, String disk, Snapshot content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.disk
- Name of the persistent disk resource to delete.content
- the Snapshot
IOException
public Compute.Disks.Delete delete(String project, String zone, String disk) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.disk
- Name of the persistent disk resource to delete.IOException
public Compute.Disks.Get get(String project, String zone, String disk) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.disk
- Name of the persistent disk resource to return.IOException
public Compute.Disks.Insert insert(String project, String zone, Disk content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.content
- the Disk
IOException
public Compute.Disks.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.IOException