| Modifier and Type | Class and Description |
|---|---|
class |
Compute.SnapshotGroups.Delete |
class |
Compute.SnapshotGroups.Get |
class |
Compute.SnapshotGroups.GetIamPolicy |
class |
Compute.SnapshotGroups.Insert |
class |
Compute.SnapshotGroups.List |
class |
Compute.SnapshotGroups.SetIamPolicy |
class |
Compute.SnapshotGroups.TestIamPermissions |
| Constructor and Description |
|---|
SnapshotGroups() |
| Modifier and Type | Method and Description |
|---|---|
Compute.SnapshotGroups.Delete |
delete(String project,
String snapshotGroup)
Deletes the specified SnapshotGroup resource
Create a request for the method "snapshotGroups.delete".
|
Compute.SnapshotGroups.Get |
get(String project,
String snapshotGroup)
returns the specified SnapshotGroup resource.
|
Compute.SnapshotGroups.GetIamPolicy |
getIamPolicy(String project,
String resource)
Gets the access control policy for a resource.
|
Compute.SnapshotGroups.Insert |
insert(String project,
SnapshotGroup content)
Creates a snapshot group in the specified project using the data included in the request.
|
Compute.SnapshotGroups.List |
list(String project)
retrieves the list of SnapshotGroup resources contained within the specified project.
|
Compute.SnapshotGroups.SetIamPolicy |
setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.SnapshotGroups.TestIamPermissions |
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.SnapshotGroups.Delete delete(String project, String snapshotGroup) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.snapshotGroup - Name of the SnapshotGroup resource to delete.IOExceptionpublic Compute.SnapshotGroups.Get get(String project, String snapshotGroup) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.snapshotGroup - Name of the SnapshotGroup resource to return.IOExceptionpublic Compute.SnapshotGroups.GetIamPolicy getIamPolicy(String project, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.SnapshotGroups.Insert insert(String project, SnapshotGroup content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the SnapshotGroupIOExceptionpublic Compute.SnapshotGroups.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.SnapshotGroups.SetIamPolicy setIamPolicy(String project, String resource, GlobalSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the GlobalSetPolicyRequestIOExceptionpublic Compute.SnapshotGroups.TestIamPermissions testIamPermissions(String project, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.