Represents a RegionCommitments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionCommitmentsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new RegionCommitments service.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
Methods
aggregatedList(request, callback)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListRegionCommitmentsRequest, callback: google.cloud.compute.v1.RegionCommitments.AggregatedListCallback): void;Calls AggregatedList.
| Name | Description |
| request |
google.cloud.compute.v1.IAggregatedListRegionCommitmentsRequest
AggregatedListRegionCommitmentsRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionCommitments.AggregatedListCallback
Node-style callback called with the error, if any, and CommitmentAggregatedList |
| Type | Description |
| void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListRegionCommitmentsRequest): Promise<google.cloud.compute.v1.CommitmentAggregatedList>;Calls AggregatedList.
| Name | Description |
| request |
google.cloud.compute.v1.IAggregatedListRegionCommitmentsRequest
AggregatedListRegionCommitmentsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.CommitmentAggregatedList> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionCommitments;Creates new RegionCommitments service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| RegionCommitments | RPC service. Useful where requests and/or responses are streamed. |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionCommitmentRequest, callback: google.cloud.compute.v1.RegionCommitments.GetCallback): void;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetRegionCommitmentRequest
GetRegionCommitmentRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionCommitments.GetCallback
Node-style callback called with the error, if any, and Commitment |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionCommitmentRequest): Promise<google.cloud.compute.v1.Commitment>;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetRegionCommitmentRequest
GetRegionCommitmentRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Commitment> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertRegionCommitmentRequest, callback: google.cloud.compute.v1.RegionCommitments.InsertCallback): void;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertRegionCommitmentRequest
InsertRegionCommitmentRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionCommitments.InsertCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertRegionCommitmentRequest): Promise<google.cloud.compute.v1.Operation>;Calls Insert.
| Name | Description |
| request |
google.cloud.compute.v1.IInsertRegionCommitmentRequest
InsertRegionCommitmentRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionCommitmentsRequest, callback: google.cloud.compute.v1.RegionCommitments.ListCallback): void;Calls List.
| Name | Description |
| request |
google.cloud.compute.v1.IListRegionCommitmentsRequest
ListRegionCommitmentsRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionCommitments.ListCallback
Node-style callback called with the error, if any, and CommitmentList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionCommitmentsRequest): Promise<google.cloud.compute.v1.CommitmentList>;Calls List.
| Name | Description |
| request |
google.cloud.compute.v1.IListRegionCommitmentsRequest
ListRegionCommitmentsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.CommitmentList> | Promise |
update(request, callback)
public update(request: google.cloud.compute.v1.IUpdateRegionCommitmentRequest, callback: google.cloud.compute.v1.RegionCommitments.UpdateCallback): void;Calls Update.
| Name | Description |
| request |
google.cloud.compute.v1.IUpdateRegionCommitmentRequest
UpdateRegionCommitmentRequest message or plain object |
| callback |
google.cloud.compute.v1.RegionCommitments.UpdateCallback
Node-style callback called with the error, if any, and Operation |
| Type | Description |
| void |
update(request)
public update(request: google.cloud.compute.v1.IUpdateRegionCommitmentRequest): Promise<google.cloud.compute.v1.Operation>;Calls Update.
| Name | Description |
| request |
google.cloud.compute.v1.IUpdateRegionCommitmentRequest
UpdateRegionCommitmentRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.Operation> | Promise |