[BindServiceMethod(typeof(RegionCommitments), "BindService")]
public abstract class RegionCommitmentsBaseBase class for server-side implementations of RegionCommitments
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
request |
AggregatedListRegionCommitmentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<CommitmentAggregatedList> |
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. Gets a list of available commitments by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionCommitmentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Commitment> |
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 | |
|---|---|
| Name | Description |
request |
InsertRegionCommitmentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation> |
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 | |
|---|---|
| Name | Description |
request |
ListRegionCommitmentsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<CommitmentList> |
The response to send back to the client (wrapped by a task). |