public class Compute.Disks
extends java.lang.Object
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(java.lang.String project)
Retrieves the list of disks grouped by scope.
|
Compute.Disks.CreateSnapshot |
createSnapshot(java.lang.String project,
java.lang.String zone,
java.lang.String disk,
Snapshot content)
Creates a snapshot of this disk.
|
Compute.Disks.Delete |
delete(java.lang.String project,
java.lang.String zone,
java.lang.String disk)
Deletes the specified persistent disk.
|
Compute.Disks.Get |
get(java.lang.String project,
java.lang.String zone,
java.lang.String disk)
Returns a specified persistent disk.
|
Compute.Disks.Insert |
insert(java.lang.String project,
java.lang.String zone,
Disk content)
Creates a persistent disk in the specified project using the data included in the request.
|
Compute.Disks.List |
list(java.lang.String project,
java.lang.String zone)
Retrieves the list of persistent disks contained within the specified zone.
|
public Compute.Disks.AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.java.io.IOException
public Compute.Disks.CreateSnapshot createSnapshot(java.lang.String project, java.lang.String zone, java.lang.String disk, Snapshot content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone for this request.disk
- Name of the persistent disk to snapshot.content
- the Snapshot
java.io.IOException
public Compute.Disks.Delete delete(java.lang.String project, java.lang.String zone, java.lang.String disk) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone for this request.disk
- Name of the persistent disk to delete.java.io.IOException
public Compute.Disks.Get get(java.lang.String project, java.lang.String zone, java.lang.String disk) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone for this request.disk
- Name of the persistent disk to return.java.io.IOException
public Compute.Disks.Insert insert(java.lang.String project, java.lang.String zone, Disk content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone for this request.content
- the Disk
java.io.IOException
public Compute.Disks.List list(java.lang.String project, java.lang.String zone) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.zone
- The name of the zone for this request.java.io.IOException