Show / Hide Table of Contents

Class RegionCommitmentsResource

The "regionCommitments" collection of methods.

Inheritance
System.Object
RegionCommitmentsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class RegionCommitmentsResource

Constructors

RegionCommitmentsResource(IClientService)

Constructs a new resource.

Declaration
public RegionCommitmentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

AggregatedList(String)

Retrieves an aggregated list of commitments by region.

Declaration
public virtual RegionCommitmentsResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type Name Description
System.String project

Project ID for this request.

Returns
Type Description
RegionCommitmentsResource.AggregatedListRequest

Get(String, String, String)

Returns the specified commitment resource. Gets a list of available commitments by making a list() request.

Declaration
public virtual RegionCommitmentsResource.GetRequest Get(string project, string region, string commitment)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

Name of the region for this request.

System.String commitment

Name of the commitment to return.

Returns
Type Description
RegionCommitmentsResource.GetRequest

Insert(Commitment, String, String)

Creates a commitment in the specified project using the data included in the request.

Declaration
public virtual RegionCommitmentsResource.InsertRequest Insert(Commitment body, string project, string region)
Parameters
Type Name Description
Commitment body

The body of the request.

System.String project

Project ID for this request.

System.String region

Name of the region for this request.

Returns
Type Description
RegionCommitmentsResource.InsertRequest

List(String, String)

Retrieves a list of commitments contained within the specified region.

Declaration
public virtual RegionCommitmentsResource.ListRequest List(string project, string region)
Parameters
Type Name Description
System.String project

Project ID for this request.

System.String region

Name of the region for this request.

Returns
Type Description
RegionCommitmentsResource.ListRequest
In This Article
Back to top