| Modifier and Type | Class and Description |
|---|---|
class |
Compute.RegionDisks.AddResourcePolicies |
class |
Compute.RegionDisks.BulkInsert |
class |
Compute.RegionDisks.CreateSnapshot |
class |
Compute.RegionDisks.Delete |
class |
Compute.RegionDisks.Get |
class |
Compute.RegionDisks.GetAsyncReplicationStatus |
class |
Compute.RegionDisks.GetIamPolicy |
class |
Compute.RegionDisks.Insert |
class |
Compute.RegionDisks.List |
class |
Compute.RegionDisks.RemoveResourcePolicies |
class |
Compute.RegionDisks.Resize |
class |
Compute.RegionDisks.SetIamPolicy |
class |
Compute.RegionDisks.SetLabels |
class |
Compute.RegionDisks.StartAsyncReplication |
class |
Compute.RegionDisks.StopAsyncReplication |
class |
Compute.RegionDisks.StopGroupAsyncReplication |
class |
Compute.RegionDisks.TestIamPermissions |
class |
Compute.RegionDisks.Update |
class |
Compute.RegionDisks.WaitForReplicationCatchUp |
| Constructor and Description |
|---|
RegionDisks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionDisks.AddResourcePolicies |
addResourcePolicies(String project,
String region,
String disk,
RegionDisksAddResourcePoliciesRequest content)
Adds existing resource policies to a regional disk.
|
Compute.RegionDisks.BulkInsert |
bulkInsert(String project,
String region,
BulkInsertDiskResource content)
Bulk create a set of disks.
|
Compute.RegionDisks.CreateSnapshot |
createSnapshot(String project,
String region,
String disk,
Snapshot content)
Creates a snapshot of a specified persistent disk.
|
Compute.RegionDisks.Delete |
delete(String project,
String region,
String disk)
Deletes the specified regional persistent disk.
|
Compute.RegionDisks.Get |
get(String project,
String region,
String disk)
Returns a specified regional persistent disk.
|
Compute.RegionDisks.GetAsyncReplicationStatus |
getAsyncReplicationStatus(String project,
String region,
String disk)
Gets the status of current async replication for a given device.
|
Compute.RegionDisks.GetIamPolicy |
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
|
Compute.RegionDisks.Insert |
insert(String project,
String region,
Disk content)
Creates a persistent regional disk in the specified project using the data included in the
request.
|
Compute.RegionDisks.List |
list(String project,
String region)
Retrieves the list of persistent disks contained within the specified region.
|
Compute.RegionDisks.RemoveResourcePolicies |
removeResourcePolicies(String project,
String region,
String disk,
RegionDisksRemoveResourcePoliciesRequest content)
Removes resource policies from a regional disk.
|
Compute.RegionDisks.Resize |
resize(String project,
String region,
String disk,
RegionDisksResizeRequest content)
Resizes the specified regional persistent disk.
|
Compute.RegionDisks.SetIamPolicy |
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.RegionDisks.SetLabels |
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on the target regional disk.
|
Compute.RegionDisks.StartAsyncReplication |
startAsyncReplication(String project,
String region,
String disk,
RegionDisksStartAsyncReplicationRequest content)
Starts asynchronous replication.
|
Compute.RegionDisks.StopAsyncReplication |
stopAsyncReplication(String project,
String region,
String disk)
Stops asynchronous replication.
|
Compute.RegionDisks.StopGroupAsyncReplication |
stopGroupAsyncReplication(String project,
String region,
DisksStopGroupAsyncReplicationResource content)
Stops asynchronous replication for a consistency group of disks.
|
Compute.RegionDisks.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
Compute.RegionDisks.Update |
update(String project,
String region,
String disk,
Disk content)
Update the specified disk with the data included in the request.
|
Compute.RegionDisks.WaitForReplicationCatchUp |
waitForReplicationCatchUp(String project,
String region,
String disk,
RegionWaitForReplicationCatchUpRequest content)
Wait for replication to catch up on the secondary disk.
|
public Compute.RegionDisks.AddResourcePolicies addResourcePolicies(String project, String region, String disk, RegionDisksAddResourcePoliciesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.disk - The disk name for this request.content - the RegionDisksAddResourcePoliciesRequestIOExceptionpublic Compute.RegionDisks.BulkInsert bulkInsert(String project, String region, BulkInsertDiskResource content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.content - the BulkInsertDiskResourceIOExceptionpublic Compute.RegionDisks.CreateSnapshot createSnapshot(String project, String region, String disk, Snapshot content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.disk - Name of the regional persistent disk to snapshot.content - the SnapshotIOExceptionpublic Compute.RegionDisks.Delete delete(String project, String region, String disk) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.disk - Name of the regional persistent disk to delete.IOExceptionpublic Compute.RegionDisks.Get get(String project, String region, String disk) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.disk - Name of the regional persistent disk to return.IOExceptionpublic Compute.RegionDisks.GetAsyncReplicationStatus getAsyncReplicationStatus(String project, String region, String disk) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - 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.RegionDisks.GetIamPolicy getIamPolicy(String project, String region, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.RegionDisks.Insert insert(String project, String region, Disk content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.content - the DiskIOExceptionpublic Compute.RegionDisks.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.IOExceptionpublic Compute.RegionDisks.RemoveResourcePolicies removeResourcePolicies(String project, String region, String disk, RegionDisksRemoveResourcePoliciesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - The name of the region for this request.disk - The disk name for this request.content - the RegionDisksRemoveResourcePoliciesRequestIOExceptionpublic Compute.RegionDisks.Resize resize(String project, String region, String disk, RegionDisksResizeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - The project ID for this request.region - Name of the region for this request.disk - Name of the regional persistent disk.content - the RegionDisksResizeRequestIOExceptionpublic Compute.RegionDisks.SetIamPolicy setIamPolicy(String project, String region, String resource, RegionSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the RegionSetPolicyRequestIOExceptionpublic Compute.RegionDisks.SetLabels setLabels(String project, String region, String resource, RegionSetLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The region for this request.resource - Name or id of the resource for this request.content - the RegionSetLabelsRequestIOExceptionpublic Compute.RegionDisks.StartAsyncReplication startAsyncReplication(String project, String region, String disk, RegionDisksStartAsyncReplicationRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - The name of the region for this request.disk - The name of the persistent disk.content - the RegionDisksStartAsyncReplicationRequestIOExceptionpublic Compute.RegionDisks.StopAsyncReplication stopAsyncReplication(String project, String region, String disk) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - The name of the region for this request.disk - The name of the persistent disk.IOExceptionpublic Compute.RegionDisks.StopGroupAsyncReplication stopGroupAsyncReplication(String project, String region, DisksStopGroupAsyncReplicationResource content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - The name of the region for this request. This must be the region of the primary or secondary disks
in the consistency group.content - the DisksStopGroupAsyncReplicationResourceIOExceptionpublic Compute.RegionDisks.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.RegionDisks.Update update(String project, String region, String disk, Disk content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.disk - The disk name for this request.content - the DiskIOExceptionpublic Compute.RegionDisks.WaitForReplicationCatchUp waitForReplicationCatchUp(String project, String region, String disk, RegionWaitForReplicationCatchUpRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - Name of the region for this request.disk - The name of the persistent disk. Name should conform to RFC1035 or be an unsigned long integer.content - the RegionWaitForReplicationCatchUpRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.