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 resource.
|
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 resource.
|
Compute.Images.Insert |
insert(java.lang.String project,
Image content)
Creates an image resource in the specified project using the data included in the request.
|
Compute.Images.List |
list(java.lang.String project)
Retrieves the list of image resources 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.IOException
public 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 DeprecationStatus
java.io.IOException
public 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.IOException
public 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 Image
java.io.IOException
public 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