target.apidocs.com.google.api.services.compute.Compute.RegionInstanceTemplates.html Maven / Gradle / Ivy
Compute.RegionInstanceTemplates (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.RegionInstanceTemplates
- java.lang.Object
-
- com.google.api.services.compute.Compute.RegionInstanceTemplates
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Compute.RegionInstanceTemplates.Delete
class
Compute.RegionInstanceTemplates.Get
class
Compute.RegionInstanceTemplates.Insert
class
Compute.RegionInstanceTemplates.List
-
Constructor Summary
Constructors
Constructor and Description
RegionInstanceTemplates()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.RegionInstanceTemplates.Delete
delete(String project,
String region,
String instanceTemplate)
Deletes the specified instance template.
Compute.RegionInstanceTemplates.Get
get(String project,
String region,
String instanceTemplate)
Returns the specified instance template.
Compute.RegionInstanceTemplates.Insert
insert(String project,
String region,
InstanceTemplate content)
Creates an instance template in the specified project and region using the global instance
template whose URL is included in the request.
Compute.RegionInstanceTemplates.List
list(String project,
String region)
Retrieves a list of instance templates that are contained within the specified project and
region.
-
-
Method Detail
-
delete
public Compute.RegionInstanceTemplates.Delete delete(String project,
String region,
String instanceTemplate)
throws IOException
Deletes the specified instance template. Deleting an instance template is permanent and cannot be
undone.
Create a request for the method "regionInstanceTemplates.delete".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
region - The name of the region for this request.
instanceTemplate - The name of the instance template to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Compute.RegionInstanceTemplates.Get get(String project,
String region,
String instanceTemplate)
throws IOException
Returns the specified instance template.
Create a request for the method "regionInstanceTemplates.get".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
region - The name of the region for this request.
instanceTemplate - The name of the instance template.
- Returns:
- the request
- Throws:
IOException
-
insert
public Compute.RegionInstanceTemplates.Insert insert(String project,
String region,
InstanceTemplate content)
throws IOException
Creates an instance template in the specified project and region using the global instance
template whose URL is included in the request.
Create a request for the method "regionInstanceTemplates.insert".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
region - The name of the region for this request.
content - the InstanceTemplate
- Returns:
- the request
- Throws:
IOException
-
list
public Compute.RegionInstanceTemplates.List list(String project,
String region)
throws IOException
Retrieves a list of instance templates that are contained within the specified project and
region.
Create a request for the method "regionInstanceTemplates.list".
This request holds the parameters needed by the compute server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
project - Project ID for this request.
region - The name of the regions for this request.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy