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.GetFromFamily |
class |
Compute.Images.GetIamPolicy |
class |
Compute.Images.Insert |
class |
Compute.Images.List |
class |
Compute.Images.SetIamPolicy |
class |
Compute.Images.SetLabels |
class |
Compute.Images.TestIamPermissions |
Constructor and Description |
---|
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.GetFromFamily |
getFromFamily(java.lang.String project,
java.lang.String family)
Returns the latest image that is part of an image family and is not deprecated.
|
Compute.Images.GetIamPolicy |
getIamPolicy(java.lang.String project,
java.lang.String resource)
Gets the access control policy for a resource.
|
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 custom images available to the specified project.
|
Compute.Images.SetIamPolicy |
setIamPolicy(java.lang.String project,
java.lang.String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Images.SetLabels |
setLabels(java.lang.String project,
java.lang.String resource,
GlobalSetLabelsRequest content)
Sets the labels on an image.
|
Compute.Images.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
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.GetFromFamily getFromFamily(java.lang.String project, java.lang.String family) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.family
- Name of the image family to search for.java.io.IOException
public Compute.Images.GetIamPolicy getIamPolicy(java.lang.String project, java.lang.String resource) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.resource
- Name or id of the resource for this request.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
public Compute.Images.SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String resource, GlobalSetPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.resource
- Name or id of the resource for this request.content
- the GlobalSetPolicyRequest
java.io.IOException
public Compute.Images.SetLabels setLabels(java.lang.String project, java.lang.String resource, GlobalSetLabelsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.resource
- Name or id of the resource for this request.content
- the GlobalSetLabelsRequest
java.io.IOException
public Compute.Images.TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String resource, TestPermissionsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.resource
- Name or id of the resource for this request.content
- the TestPermissionsRequest
java.io.IOException