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

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







Compute.Zones (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute

Class Compute.Zones

  • Enclosing class:
    Compute


    public class Compute.Zones
    extends Object
    The "zones" collection of methods.
    • Constructor Detail

      • Zones

        public Zones()
    • Method Detail

      • get

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

        public Compute.Zones.List list(String project)
                                throws IOException
        Retrieves the list of Zone resources available to the specified project. Create a request for the method "zones.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–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy