| Modifier and Type | Class and Description | 
|---|---|
| class  | Compute.MachineImages.Delete | 
| class  | Compute.MachineImages.Get | 
| class  | Compute.MachineImages.GetIamPolicy | 
| class  | Compute.MachineImages.Insert | 
| class  | Compute.MachineImages.List | 
| class  | Compute.MachineImages.SetIamPolicy | 
| class  | Compute.MachineImages.TestIamPermissions | 
| Constructor and Description | 
|---|
| MachineImages() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.MachineImages.Delete | delete(String project,
      String machineImage)Deletes the specified machine image. | 
| Compute.MachineImages.Get | get(String project,
   String machineImage)Returns the specified machine image. | 
| Compute.MachineImages.GetIamPolicy | getIamPolicy(String project,
            String resource)Gets the access control policy for a resource. | 
| Compute.MachineImages.Insert | insert(String project,
      MachineImage content)Creates a machine image in the specified project using the data that is included in the request. | 
| Compute.MachineImages.List | list(String project)Retrieves a list of machine images that are contained within the specified project. | 
| Compute.MachineImages.SetIamPolicy | setIamPolicy(String project,
            String resource,
            GlobalSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.MachineImages.TestIamPermissions | testIamPermissions(String project,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
public Compute.MachineImages.Delete delete(String project, String machineImage) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.machineImage - The name of the machine image to delete.IOExceptionpublic Compute.MachineImages.Get get(String project, String machineImage) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.machineImage - The name of the machine image.IOExceptionpublic Compute.MachineImages.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.MachineImages.Insert insert(String project, MachineImage content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the MachineImageIOExceptionpublic Compute.MachineImages.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.MachineImages.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.MachineImages.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.