| Modifier and Type | Class and Description |
|---|---|
class |
Compute.RegionSnapshots.Delete |
class |
Compute.RegionSnapshots.Get |
class |
Compute.RegionSnapshots.GetIamPolicy |
class |
Compute.RegionSnapshots.Insert |
class |
Compute.RegionSnapshots.List |
class |
Compute.RegionSnapshots.SetIamPolicy |
class |
Compute.RegionSnapshots.SetLabels |
class |
Compute.RegionSnapshots.TestIamPermissions |
| Constructor and Description |
|---|
RegionSnapshots() |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionSnapshots.Delete |
delete(String project,
String region,
String snapshot)
Deletes the specified Snapshot resource.
|
Compute.RegionSnapshots.Get |
get(String project,
String region,
String snapshot)
Returns the specified Snapshot resource.
|
Compute.RegionSnapshots.GetIamPolicy |
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
|
Compute.RegionSnapshots.Insert |
insert(String project,
String region,
Snapshot content)
Creates a snapshot in the specified region using the data included in the request.
|
Compute.RegionSnapshots.List |
list(String project,
String region)
Retrieves the list of Snapshot resources contained within the specified region.
|
Compute.RegionSnapshots.SetIamPolicy |
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.RegionSnapshots.SetLabels |
setLabels(String project,
String region,
String resource,
RegionSetLabelsRequest content)
Sets the labels on a regional snapshot.
|
Compute.RegionSnapshots.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.RegionSnapshots.Delete delete(String project, String region, String snapshot) 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.snapshot - Name of the snapshot resource to delete.IOExceptionpublic Compute.RegionSnapshots.Get get(String project, String region, String snapshot) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.snapshot - Name of the Snapshot resource to return.IOExceptionpublic Compute.RegionSnapshots.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.RegionSnapshots.Insert insert(String project, String region, 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.content - the SnapshotIOExceptionpublic Compute.RegionSnapshots.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.RegionSnapshots.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.RegionSnapshots.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.RegionSnapshots.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 TestPermissionsRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.