Represents a RegionOperations
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.RegionOperationsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new RegionOperations service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionOperations;
Creates new RegionOperations 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 |
RegionOperations | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
IDeleteRegionOperationRequest
DeleteRegionOperationRequest message or plain object |
callback |
google.cloud.compute.v1.RegionOperations.DeleteCallback
Node-style callback called with the error, if any, and DeleteRegionOperationResponse |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest): Promise<google.cloud.compute.v1.DeleteRegionOperationResponse>;
Calls Delete.
Name | Description |
request |
IDeleteRegionOperationRequest
DeleteRegionOperationRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.DeleteRegionOperationResponse> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionOperationRequest
GetRegionOperationRequest message or plain object |
callback |
google.cloud.compute.v1.RegionOperations.GetCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetRegionOperationRequest
GetRegionOperationRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListRegionOperationsRequest, callback: google.cloud.compute.v1.RegionOperations.ListCallback): void;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionOperationsRequest
ListRegionOperationsRequest message or plain object |
callback |
google.cloud.compute.v1.RegionOperations.ListCallback
Node-style callback called with the error, if any, and OperationList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListRegionOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListRegionOperationsRequest
ListRegionOperationsRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.OperationList> | Promise |
wait(request, callback)
public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.WaitCallback): void;
Calls Wait.
Name | Description |
request |
IWaitRegionOperationRequest
WaitRegionOperationRequest message or plain object |
callback |
google.cloud.compute.v1.RegionOperations.WaitCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
wait(request)
public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Wait.
Name | Description |
request |
IWaitRegionOperationRequest
WaitRegionOperationRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |