| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Snapshots.Delete |
class |
Compute.Snapshots.Get |
class |
Compute.Snapshots.List |
class |
Compute.Snapshots.SetLabels |
| 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.List |
list(String project)
Retrieves the list of Snapshot resources contained within the specified project.
|
Compute.Snapshots.SetLabels |
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on a snapshot.
|
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.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic 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 of the resource for this request.content - the GlobalSetLabelsRequestIOExceptionCopyright © 2011–2018 Google. All rights reserved.