| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Images.Delete |
class |
Compute.Images.Deprecate |
class |
Compute.Images.Get |
class |
Compute.Images.GetFromFamily |
class |
Compute.Images.Insert |
class |
Compute.Images.List |
class |
Compute.Images.SetLabels |
| Constructor and Description |
|---|
Images() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Images.Delete |
delete(String project,
String image)
Deletes the specified image.
|
Compute.Images.Deprecate |
deprecate(String project,
String image,
DeprecationStatus content)
Sets the deprecation status of an image.
|
Compute.Images.Get |
get(String project,
String image)
Returns the specified image.
|
Compute.Images.GetFromFamily |
getFromFamily(String project,
String family)
Returns the latest image that is part of an image family and is not deprecated.
|
Compute.Images.Insert |
insert(String project,
Image content)
Creates an image in the specified project using the data included in the request.
|
Compute.Images.List |
list(String project)
Retrieves the list of custom images available to the specified project.
|
Compute.Images.SetLabels |
setLabels(String project,
String resource,
GlobalSetLabelsRequest content)
Sets the labels on an image.
|
public Compute.Images.Delete delete(String project, String image) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Name of the image resource to delete.IOExceptionpublic Compute.Images.Deprecate deprecate(String project, String image, DeprecationStatus content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Image name.content - the DeprecationStatusIOExceptionpublic Compute.Images.Get get(String project, String image) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Name of the image resource to return.IOExceptionpublic Compute.Images.GetFromFamily getFromFamily(String project, String family) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.family - Name of the image family to search for.IOExceptionpublic Compute.Images.Insert insert(String project, Image content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ImageIOExceptionpublic Compute.Images.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Images.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.