Compute Engine v1 API - Class RegionCommitments.RegionCommitmentsBase (2.9.0)

[BindServiceMethod(typeof(RegionCommitments), "BindService")]
public abstract class RegionCommitments.RegionCommitmentsBase

Reference documentation and code samples for the Compute Engine v1 API class RegionCommitments.RegionCommitmentsBase.

Base class for server-side implementations of RegionCommitments

Inheritance

object > RegionCommitments.RegionCommitmentsBase

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListRegionCommitmentsRequest, ServerCallContext)

public virtual Task<CommitmentAggregatedList> AggregatedList(AggregatedListRegionCommitmentsRequest request, ServerCallContext context)

Retrieves an aggregated list of commitments by region.

Parameters
NameDescription
requestAggregatedListRegionCommitmentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCommitmentAggregatedList

The response to send back to the client (wrapped by a task).

Get(GetRegionCommitmentRequest, ServerCallContext)

public virtual Task<Commitment> Get(GetRegionCommitmentRequest request, ServerCallContext context)

Returns the specified commitment resource.

Parameters
NameDescription
requestGetRegionCommitmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCommitment

The response to send back to the client (wrapped by a task).

Insert(InsertRegionCommitmentRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertRegionCommitmentRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestInsertRegionCommitmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListRegionCommitmentsRequest, ServerCallContext)

public virtual Task<CommitmentList> List(ListRegionCommitmentsRequest request, ServerCallContext context)

Retrieves a list of commitments contained within the specified region.

Parameters
NameDescription
requestListRegionCommitmentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskCommitmentList

The response to send back to the client (wrapped by a task).

Update(UpdateRegionCommitmentRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateRegionCommitmentRequest request, ServerCallContext context)

Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew.

Parameters
NameDescription
requestUpdateRegionCommitmentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).