Represents a GlobalOperations
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.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.v1.IAggregatedListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.AggregatedListCallback): void;
Calls AggregatedList.
Parameters | |
---|---|
Name | Description |
request |
IAggregatedListGlobalOperationsRequest
AggregatedListGlobalOperationsRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalOperations.AggregatedListCallback
Node-style callback called with the error, if any, and OperationAggregatedList |
Returns | |
---|---|
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationAggregatedList>;
Calls AggregatedList.
Parameter | |
---|---|
Name | Description |
request |
IAggregatedListGlobalOperationsRequest
AggregatedListGlobalOperationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.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.v1.IDeleteGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.DeleteCallback): void;
Calls Delete.
Parameters | |
---|---|
Name | Description |
request |
IDeleteGlobalOperationRequest
DeleteGlobalOperationRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalOperations.DeleteCallback
Node-style callback called with the error, if any, and DeleteGlobalOperationResponse |
Returns | |
---|---|
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteGlobalOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOperationResponse>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeleteGlobalOperationRequest
DeleteGlobalOperationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.DeleteGlobalOperationResponse> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.GetCallback): void;
Calls Get.
Parameters | |
---|---|
Name | Description |
request |
IGetGlobalOperationRequest
GetGlobalOperationRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalOperations.GetCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetGlobalOperationRequest
GetGlobalOperationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.ListCallback): void;
Calls List.
Parameters | |
---|---|
Name | Description |
request |
IListGlobalOperationsRequest
ListGlobalOperationsRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalOperations.ListCallback
Node-style callback called with the error, if any, and OperationList |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
IListGlobalOperationsRequest
ListGlobalOperationsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.OperationList> | Promise |
wait(request, callback)
public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.WaitCallback): void;
Calls Wait.
Parameters | |
---|---|
Name | Description |
request |
IWaitGlobalOperationRequest
WaitGlobalOperationRequest message or plain object |
callback |
google.cloud.compute.v1.GlobalOperations.WaitCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
wait(request)
public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Wait.
Parameter | |
---|---|
Name | Description |
request |
IWaitGlobalOperationRequest
WaitGlobalOperationRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |