| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Disks.AddResourcePolicies |
class |
Compute.Disks.AggregatedList |
class |
Compute.Disks.BulkInsert |
class |
Compute.Disks.BulkSetLabels |
class |
Compute.Disks.CreateSnapshot |
class |
Compute.Disks.Delete |
class |
Compute.Disks.Get |
class |
Compute.Disks.GetAsyncReplicationStatus |
class |
Compute.Disks.GetIamPolicy |
class |
Compute.Disks.Insert |
class |
Compute.Disks.List |
class |
Compute.Disks.RemoveResourcePolicies |
class |
Compute.Disks.Resize |
class |
Compute.Disks.SetIamPolicy |
class |
Compute.Disks.SetLabels |
class |
Compute.Disks.StartAsyncReplication |
class |
Compute.Disks.StopAsyncReplication |
class |
Compute.Disks.StopGroupAsyncReplication |
class |
Compute.Disks.TestIamPermissions |
class |
Compute.Disks.Update |
class |
Compute.Disks.WaitForReplicationCatchUp |
| Constructor and Description |
|---|
Disks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Disks.AddResourcePolicies |
addResourcePolicies(String project,
String zone,
String disk,
DisksAddResourcePoliciesRequest content)
Adds existing resource policies to a disk.
|
Compute.Disks.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of persistent disks.
|
Compute.Disks.BulkInsert |
bulkInsert(String project,
String zone,
BulkInsertDiskResource content)
Bulk create a set of disks.
|
Compute.Disks.BulkSetLabels |
bulkSetLabels(String project,
String zone,
BulkZoneSetLabelsRequest content)
Sets the labels on many disks at once.
|
Compute.Disks.CreateSnapshot |
createSnapshot(String project,
String zone,
String disk,
Snapshot content)
Creates a snapshot of a specified persistent disk.
|
Compute.Disks.Delete |
delete(String project,
String zone,
String disk)
Deletes the specified persistent disk.
|
Compute.Disks.Get |
get(String project,
String zone,
String disk)
Returns the specified persistent disk.
|
Compute.Disks.GetAsyncReplicationStatus |
getAsyncReplicationStatus(String project,
String zone,
String disk)
Gets the status of current async replication for a given device.
|
Compute.Disks.GetIamPolicy |
getIamPolicy(String project,
String zone,
String resource)
Gets the access control policy for a resource.
|
Compute.Disks.Insert |
insert(String project,
String zone,
Disk content)
Creates a persistent disk in the specified project using the data in the request.
|
Compute.Disks.List |
list(String project,
String zone)
Retrieves a list of persistent disks contained within the specified zone.
|
Compute.Disks.RemoveResourcePolicies |
removeResourcePolicies(String project,
String zone,
String disk,
DisksRemoveResourcePoliciesRequest content)
Removes resource policies from a disk.
|
Compute.Disks.Resize |
resize(String project,
String zone,
String disk,
DisksResizeRequest content)
Resizes the specified persistent disk.
|
Compute.Disks.SetIamPolicy |
setIamPolicy(String project,
String zone,
String resource,
ZoneSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Disks.SetLabels |
setLabels(String project,
String zone,
String resource,
ZoneSetLabelsRequest content)
Sets the labels on a disk.
|
Compute.Disks.StartAsyncReplication |
startAsyncReplication(String project,
String zone,
String disk,
DisksStartAsyncReplicationRequest content)
Starts asynchronous replication.
|
Compute.Disks.StopAsyncReplication |
stopAsyncReplication(String project,
String zone,
String disk)
Stops asynchronous replication.
|
Compute.Disks.StopGroupAsyncReplication |
stopGroupAsyncReplication(String project,
String zone,
DisksStopGroupAsyncReplicationResource content)
Stops asynchronous replication for a consistency group of disks.
|
Compute.Disks.TestIamPermissions |
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
Compute.Disks.Update |
update(String project,
String zone,
String disk,
Disk content)
Updates the specified disk with the data included in the request.
|
Compute.Disks.WaitForReplicationCatchUp |
waitForReplicationCatchUp(String project,
String zone,
String disk,
WaitForReplicationCatchUpRequest content)
Wait for replication to catch up on the secondary disk.
|
public Compute.Disks.AddResourcePolicies addResourcePolicies(String project, String zone, String disk, DisksAddResourcePoliciesRequest content) 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.disk - The disk name for this request.content - the DisksAddResourcePoliciesRequestIOExceptionpublic Compute.Disks.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Disks.BulkInsert bulkInsert(String project, String zone, BulkInsertDiskResource content) 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.content - the BulkInsertDiskResourceIOExceptionpublic Compute.Disks.BulkSetLabels bulkSetLabels(String project, String zone, BulkZoneSetLabelsRequest content) 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.content - the BulkZoneSetLabelsRequestIOExceptionpublic Compute.Disks.CreateSnapshot createSnapshot(String project, String zone, String disk, Snapshot content) 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.disk - Name of the persistent disk to snapshot.content - the SnapshotIOExceptionpublic Compute.Disks.Delete delete(String project, String zone, String disk) 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.disk - Name of the persistent disk to delete.IOExceptionpublic Compute.Disks.Get get(String project, String zone, String disk) 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.disk - Name of the persistent disk to return.IOExceptionpublic Compute.Disks.GetAsyncReplicationStatus getAsyncReplicationStatus(String project, String zone, String disk) 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.disk - Name of the Disk resource whose Async replication details are requested. Name should conform to
RFC1035 or be an unsigned long integer.IOExceptionpublic Compute.Disks.GetIamPolicy getIamPolicy(String project, String zone, String resource) 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.resource - Name or id of the resource for this request.IOExceptionpublic Compute.Disks.Insert insert(String project, String zone, Disk content) 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.content - the DiskIOExceptionpublic Compute.Disks.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.IOExceptionpublic Compute.Disks.RemoveResourcePolicies removeResourcePolicies(String project, String zone, String disk, DisksRemoveResourcePoliciesRequest content) 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.disk - The disk name for this request.content - the DisksRemoveResourcePoliciesRequestIOExceptionpublic Compute.Disks.Resize resize(String project, String zone, String disk, DisksResizeRequest content) 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.disk - The name of the persistent disk.content - the DisksResizeRequestIOExceptionpublic Compute.Disks.SetIamPolicy setIamPolicy(String project, String zone, String resource, ZoneSetPolicyRequest content) 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.resource - Name or id of the resource for this request.content - the ZoneSetPolicyRequestIOExceptionpublic Compute.Disks.SetLabels setLabels(String project, String zone, String resource, ZoneSetLabelsRequest content) 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.resource - Name or id of the resource for this request.content - the ZoneSetLabelsRequestIOExceptionpublic Compute.Disks.StartAsyncReplication startAsyncReplication(String project, String zone, String disk, DisksStartAsyncReplicationRequest content) 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.disk - The name of the persistent disk.content - the DisksStartAsyncReplicationRequestIOExceptionpublic Compute.Disks.StopAsyncReplication stopAsyncReplication(String project, String zone, String disk) 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.disk - The name of the persistent disk.IOExceptionpublic Compute.Disks.StopGroupAsyncReplication stopGroupAsyncReplication(String project, String zone, DisksStopGroupAsyncReplicationResource content) 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. This must be the zone of the primary or secondary disks in
the consistency group.content - the DisksStopGroupAsyncReplicationResourceIOExceptionpublic Compute.Disks.TestIamPermissions testIamPermissions(String project, String zone, String resource, TestPermissionsRequest content) 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.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.Disks.Update update(String project, String zone, String disk, Disk content) 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.disk - The disk name for this request.content - the DiskIOExceptionpublic Compute.Disks.WaitForReplicationCatchUp waitForReplicationCatchUp(String project, String zone, String disk, WaitForReplicationCatchUpRequest content) 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.disk - The name of the persistent disk. Name should conform to RFC1035 or be an unsigned long integer.content - the WaitForReplicationCatchUpRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.