Class ZonesResource
The "zones" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class ZonesResource
Constructors
ZonesResource(IClientService)
Constructs a new resource.
Declaration
public ZonesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string, string)
Returns the specified Zone resource.
Declaration
public virtual ZonesResource.GetRequest Get(string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | Name of the zone resource to return. |
Returns
Type | Description |
---|---|
ZonesResource.GetRequest |
List(string)
Retrieves the list of Zone resources available to the specified project.
Declaration
public virtual ZonesResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
ZonesResource.ListRequest |