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.Insert |
class |
Compute.InstanceTemplates.List |
Constructor and Description |
---|
Compute.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 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 and zone.
|
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
- The project ID for this request.instanceTemplate
- The name of the instance template to delete.java.io.IOException
public 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
- The project ID for this request.instanceTemplate
- The name of the instance template.java.io.IOException
public Compute.InstanceTemplates.Insert insert(java.lang.String project, InstanceTemplate content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.content
- the InstanceTemplate
java.io.IOException
public Compute.InstanceTemplates.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- The project ID for this request.java.io.IOException