Compute Engine API v1beta13 (revision 24)



com.google.api.services.compute
Class Compute.Zones

java.lang.Object
  extended by com.google.api.services.compute.Compute.Zones
Enclosing class:
Compute

public class Compute.Zones
extends Object

The "zones" collection of methods.


Nested Class Summary
 class Compute.Zones.Get
           
 class Compute.Zones.List
           
 
Constructor Summary
Compute.Zones()
           
 
Method Summary
 Compute.Zones.Get get(String project, String zone)
          Returns the specified zone resource.
 Compute.Zones.List list(String project)
          Retrieves the list of zone resources available to the specified project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compute.Zones

public Compute.Zones()
Method Detail

get

public Compute.Zones.Get get(String project,
                             String zone)
                      throws IOException
Returns the specified zone resource. Create a request for the method "zones.get". This request holds the parameters needed by the the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
project - Name of the project scoping 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 the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
project - Name of the project scoping this request.
Returns:
the request
Throws:
IOException