public class Compute.InstanceTemplates
extends java.lang.Object
| 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(java.lang.String project,
java.lang.String instanceTemplate)
Deletes the specified instance template.
|
Compute.InstanceTemplates.Get |
get(java.lang.String project,
java.lang.String instanceTemplate)
Returns the specified instance template.
|
Compute.InstanceTemplates.GetIamPolicy |
getIamPolicy(java.lang.String project,
java.lang.String resource)
Gets the access control policy for a resource.
|
Compute.InstanceTemplates.Insert |
insert(java.lang.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(java.lang.String project)
Retrieves a list of instance templates that are contained within the specified project.
|
Compute.InstanceTemplates.SetIamPolicy |
setIamPolicy(java.lang.String project,
java.lang.String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.InstanceTemplates.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.InstanceTemplates.Delete delete(java.lang.String project, java.lang.String instanceTemplate) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.instanceTemplate - The name of the instance template to delete.java.io.IOExceptionpublic Compute.InstanceTemplates.Get get(java.lang.String project, java.lang.String instanceTemplate) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.instanceTemplate - The name of the instance template.java.io.IOExceptionpublic Compute.InstanceTemplates.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.IOExceptionpublic Compute.InstanceTemplates.Insert insert(java.lang.String project, InstanceTemplate content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the InstanceTemplatejava.io.IOExceptionpublic Compute.InstanceTemplates.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.IOExceptionpublic Compute.InstanceTemplates.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 GlobalSetPolicyRequestjava.io.IOExceptionpublic Compute.InstanceTemplates.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 TestPermissionsRequestjava.io.IOException