public class Compute.RegionDisks
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.RegionDisks.AddResourcePolicies |
class |
Compute.RegionDisks.CreateSnapshot |
class |
Compute.RegionDisks.Delete |
class |
Compute.RegionDisks.Get |
class |
Compute.RegionDisks.Insert |
class |
Compute.RegionDisks.List |
class |
Compute.RegionDisks.RemoveResourcePolicies |
class |
Compute.RegionDisks.Resize |
class |
Compute.RegionDisks.SetLabels |
class |
Compute.RegionDisks.TestIamPermissions |
| Constructor and Description |
|---|
RegionDisks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionDisks.AddResourcePolicies |
addResourcePolicies(java.lang.String project,
java.lang.String region,
java.lang.String disk,
RegionDisksAddResourcePoliciesRequest content)
Adds existing resource policies to a regional disk.
|
Compute.RegionDisks.CreateSnapshot |
createSnapshot(java.lang.String project,
java.lang.String region,
java.lang.String disk,
Snapshot content)
Creates a snapshot of this regional disk.
|
Compute.RegionDisks.Delete |
delete(java.lang.String project,
java.lang.String region,
java.lang.String disk)
Deletes the specified regional persistent disk.
|
Compute.RegionDisks.Get |
get(java.lang.String project,
java.lang.String region,
java.lang.String disk)
Returns a specified regional persistent disk.
|
Compute.RegionDisks.Insert |
insert(java.lang.String project,
java.lang.String region,
Disk content)
Creates a persistent regional disk in the specified project using the data included in the
request.
|
Compute.RegionDisks.List |
list(java.lang.String project,
java.lang.String region)
Retrieves the list of persistent disks contained within the specified region.
|
Compute.RegionDisks.RemoveResourcePolicies |
removeResourcePolicies(java.lang.String project,
java.lang.String region,
java.lang.String disk,
RegionDisksRemoveResourcePoliciesRequest content)
Removes resource policies from a regional disk.
|
Compute.RegionDisks.Resize |
resize(java.lang.String project,
java.lang.String region,
java.lang.String disk,
RegionDisksResizeRequest content)
Resizes the specified regional persistent disk.
|
Compute.RegionDisks.SetLabels |
setLabels(java.lang.String project,
java.lang.String region,
java.lang.String resource,
RegionSetLabelsRequest content)
Sets the labels on the target regional disk.
|
Compute.RegionDisks.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String region,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.RegionDisks.AddResourcePolicies addResourcePolicies(java.lang.String project, java.lang.String region, java.lang.String disk, RegionDisksAddResourcePoliciesRequest content) throws java.io.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 RegionDisksAddResourcePoliciesRequestjava.io.IOExceptionpublic Compute.RegionDisks.CreateSnapshot createSnapshot(java.lang.String project, java.lang.String region, java.lang.String disk, Snapshot content) throws java.io.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 Snapshotjava.io.IOExceptionpublic Compute.RegionDisks.Delete delete(java.lang.String project, java.lang.String region, java.lang.String disk) throws java.io.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.java.io.IOExceptionpublic Compute.RegionDisks.Get get(java.lang.String project, java.lang.String region, java.lang.String disk) throws java.io.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.java.io.IOExceptionpublic Compute.RegionDisks.Insert insert(java.lang.String project, java.lang.String region, Disk content) throws java.io.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 Diskjava.io.IOExceptionpublic Compute.RegionDisks.List list(java.lang.String project, java.lang.String region) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.java.io.IOExceptionpublic Compute.RegionDisks.RemoveResourcePolicies removeResourcePolicies(java.lang.String project, java.lang.String region, java.lang.String disk, RegionDisksRemoveResourcePoliciesRequest content) throws java.io.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 RegionDisksRemoveResourcePoliciesRequestjava.io.IOExceptionpublic Compute.RegionDisks.Resize resize(java.lang.String project, java.lang.String region, java.lang.String disk, RegionDisksResizeRequest content) throws java.io.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 RegionDisksResizeRequestjava.io.IOExceptionpublic Compute.RegionDisks.SetLabels setLabels(java.lang.String project, java.lang.String region, java.lang.String resource, RegionSetLabelsRequest content) throws java.io.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 RegionSetLabelsRequestjava.io.IOExceptionpublic Compute.RegionDisks.TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String region, java.lang.String resource, TestPermissionsRequest content) throws java.io.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 TestPermissionsRequestjava.io.IOException