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 |
class |
Compute.Disks.Resize |
| Constructor and Description |
|---|
Compute.Disks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Disks.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves an aggregated list of persistent disks.
|
Compute.Disks.CreateSnapshot |
createSnapshot(java.lang.String project,
java.lang.String zone,
java.lang.String disk,
Snapshot content)
Creates a snapshot of a specified persistent 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 in the request.
|
Compute.Disks.List |
list(java.lang.String project,
java.lang.String zone)
Retrieves a list of persistent disks contained within the specified zone.
|
Compute.Disks.Resize |
resize(java.lang.String project,
java.lang.String zone,
java.lang.String disk,
DisksResizeRequest content)
Resizes the specified persistent disk.
|
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.IOExceptionpublic 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 Snapshotjava.io.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic 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 Diskjava.io.IOExceptionpublic 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.IOExceptionpublic Compute.Disks.Resize resize(java.lang.String project, java.lang.String zone, java.lang.String disk, DisksResizeRequest 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 - The name of the persistent disk.content - the DisksResizeRequestjava.io.IOException