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(String project,
String image)
Deletes the specified image resource.
|
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 resource.
|
Compute.Images.Insert |
insert(String project,
Image content)
Creates an image resource in the specified project using the data included in the request.
|
Compute.Images.List |
list(String project)
Retrieves the list of image resources available to the specified project.
|
public Compute.Images.Delete delete(String project, String image) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.image
- Name of the image resource to delete.IOException
public Compute.Images.Deprecate deprecate(String project, String image, DeprecationStatus content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.image
- Image name.content
- the DeprecationStatus
IOException
public Compute.Images.Get get(String project, String image) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.image
- Name of the image resource to return.IOException
public Compute.Images.Insert insert(String project, Image content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.content
- the Image
IOException
public Compute.Images.List list(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Name of the project scoping this request.IOException