Represents a GlobalOperations
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1beta.GlobalOperationsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new GlobalOperations service.
| Parameters | |
|---|---|
| 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.v1beta.IAggregatedListGlobalOperationsRequest, callback: google.cloud.compute.v1beta.GlobalOperations.AggregatedListCallback): void;Calls AggregatedList.
| Parameters | |
|---|---|
| Name | Description |
request |
IAggregatedListGlobalOperationsRequest
AggregatedListGlobalOperationsRequest message or plain object |
callback |
AggregatedListCallback
Node-style callback called with the error, if any, and OperationAggregatedList |
| Returns | |
|---|---|
| Type | Description |
void |
|
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1beta.IAggregatedListGlobalOperationsRequest): Promise<google.cloud.compute.v1beta.OperationAggregatedList>;Calls AggregatedList.
| Parameter | |
|---|---|
| Name | Description |
request |
IAggregatedListGlobalOperationsRequest
AggregatedListGlobalOperationsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.OperationAggregatedList> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalOperations;Creates new GlobalOperations service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
GlobalOperations |
RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1beta.IDeleteGlobalOperationRequest, callback: google.cloud.compute.v1beta.GlobalOperations.DeleteCallback): void;Calls Delete.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteGlobalOperationRequest
DeleteGlobalOperationRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and DeleteGlobalOperationResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
delete(request)
public delete(request: google.cloud.compute.v1beta.IDeleteGlobalOperationRequest): Promise<google.cloud.compute.v1beta.DeleteGlobalOperationResponse>;Calls Delete.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteGlobalOperationRequest
DeleteGlobalOperationRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.DeleteGlobalOperationResponse> |
Promise |
get(request, callback)
public get(request: google.cloud.compute.v1beta.IGetGlobalOperationRequest, callback: google.cloud.compute.v1beta.GlobalOperations.GetCallback): void;Calls Get.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetGlobalOperationRequest
GetGlobalOperationRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
get(request)
public get(request: google.cloud.compute.v1beta.IGetGlobalOperationRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls Get.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetGlobalOperationRequest
GetGlobalOperationRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |
list(request, callback)
public list(request: google.cloud.compute.v1beta.IListGlobalOperationsRequest, callback: google.cloud.compute.v1beta.GlobalOperations.ListCallback): void;Calls List.
| Parameters | |
|---|---|
| Name | Description |
request |
IListGlobalOperationsRequest
ListGlobalOperationsRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and OperationList |
| Returns | |
|---|---|
| Type | Description |
void |
|
list(request)
public list(request: google.cloud.compute.v1beta.IListGlobalOperationsRequest): Promise<google.cloud.compute.v1beta.OperationList>;Calls List.
| Parameter | |
|---|---|
| Name | Description |
request |
IListGlobalOperationsRequest
ListGlobalOperationsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.OperationList> |
Promise |
wait(request, callback)
public wait(request: google.cloud.compute.v1beta.IWaitGlobalOperationRequest, callback: google.cloud.compute.v1beta.GlobalOperations.WaitCallback): void;Calls Wait.
| Parameters | |
|---|---|
| Name | Description |
request |
IWaitGlobalOperationRequest
WaitGlobalOperationRequest message or plain object |
callback |
WaitCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
wait(request)
public wait(request: google.cloud.compute.v1beta.IWaitGlobalOperationRequest): Promise<google.cloud.compute.v1beta.Operation>;Calls Wait.
| Parameter | |
|---|---|
| Name | Description |
request |
IWaitGlobalOperationRequest
WaitGlobalOperationRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.compute.v1beta.Operation> |
Promise |