public class Compute.Images
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Images.Delete |
class |
Compute.Images.Deprecate |
class |
Compute.Images.Get |
class |
Compute.Images.Insert |
class |
Compute.Images.List |
| Constructor and Description |
|---|
Compute.Images() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Images.Delete |
delete(java.lang.String project,
java.lang.String image)
Deletes the specified image.
|
Compute.Images.Deprecate |
deprecate(java.lang.String project,
java.lang.String image,
DeprecationStatus content)
Sets the deprecation status of an image.
|
Compute.Images.Get |
get(java.lang.String project,
java.lang.String image)
Returns the specified image.
|
Compute.Images.Insert |
insert(java.lang.String project,
Image content)
Creates an image in the specified project using the data included in the request.
|
Compute.Images.List |
list(java.lang.String project)
Retrieves the list of private images available to the specified project.
|
public Compute.Images.Delete delete(java.lang.String project, java.lang.String image) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Name of the image resource to delete.java.io.IOExceptionpublic Compute.Images.Deprecate deprecate(java.lang.String project, java.lang.String image, DeprecationStatus content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Image name.content - the DeprecationStatusjava.io.IOExceptionpublic Compute.Images.Get get(java.lang.String project, java.lang.String image) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Name of the image resource to return.java.io.IOExceptionpublic Compute.Images.Insert insert(java.lang.String project, Image content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the Imagejava.io.IOExceptionpublic Compute.Images.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOException