public class Compute.Regions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Regions.Get |
class |
Compute.Regions.List |
| Constructor and Description |
|---|
Compute.Regions() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Regions.Get |
get(java.lang.String project,
java.lang.String region)
Returns the specified Region resource.
|
Compute.Regions.List |
list(java.lang.String project)
Retrieves the list of region resources available to the specified project.
|
public Compute.Regions.Get get(java.lang.String project, java.lang.String region) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region resource to return.java.io.IOExceptionpublic Compute.Regions.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOException