| 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.Patch | 
| 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(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.GetIamPolicy | getIamPolicy(String project,
            String resource)Gets the access control policy for a resource. | 
| 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.Patch | patch(String project,
     String image,
     Image content)Patches the specified image with the data included in the request. | 
| Compute.Images.SetIamPolicy | setIamPolicy(String project,
            String resource,
            GlobalSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.Images.SetLabels | setLabels(String project,
         String resource,
         GlobalSetLabelsRequest content)Sets the labels on an image. | 
| Compute.Images.TestIamPermissions | testIamPermissions(String project,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
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.GetIamPolicy getIamPolicy(String project, String resource) throws 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.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.Patch patch(String project, String image, Image content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.image - Name of the image resource to patch.content - the ImageIOExceptionpublic Compute.Images.SetIamPolicy setIamPolicy(String project, String resource, GlobalSetPolicyRequest content) throws 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 GlobalSetPolicyRequestIOExceptionpublic 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 or id of the resource for this request.content - the GlobalSetLabelsRequestIOExceptionpublic Compute.Images.TestIamPermissions testIamPermissions(String project, String resource, TestPermissionsRequest content) throws 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 TestPermissionsRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.