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