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

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







Compute.Regions (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.Regions

  • Enclosing class:
    Compute


    public class Compute.Regions
    extends Object
    The "regions" collection of methods.
    • Constructor Detail

      • Regions

        public Regions()
    • Method Detail

      • get

        public Compute.Regions.Get get(String project,
                                       String region)
                                throws IOException
        Returns the specified Region resource. Gets a list of available regions by making a list() request. Create a request for the method "regions.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 - Name of the region resource to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.Regions.List list(String project)
                                  throws IOException
        Retrieves the list of region resources available to the specified project. Create a request for the method "regions.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.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy