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