All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.RegionInstanceTemplates.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






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
  • Enclosing class:
    Compute


    public class Compute.RegionInstanceTemplates
    extends Object
    The "regionInstanceTemplates" collection of methods.
    • Constructor Detail

      • RegionInstanceTemplates

        public RegionInstanceTemplates()
    • 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