Class protos.google.cloud.compute.v1.GlobalOrganizationOperations (4.3.0)

Represents a GlobalOrganizationOperations

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1.GlobalOrganizationOperations

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new GlobalOrganizationOperations service.

Parameters
NameDescription
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): GlobalOrganizationOperations;

Creates new GlobalOrganizationOperations service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
GlobalOrganizationOperations

RPC service. Useful where requests and/or responses are streamed.

delete(request, callback)

public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.DeleteCallback): void;

Calls Delete.

Parameters
NameDescription
request IDeleteGlobalOrganizationOperationRequest

DeleteGlobalOrganizationOperationRequest message or plain object

callback DeleteCallback

Node-style callback called with the error, if any, and DeleteGlobalOrganizationOperationResponse

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse>;

Calls Delete.

Parameter
NameDescription
request IDeleteGlobalOrganizationOperationRequest

DeleteGlobalOrganizationOperationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.GetCallback): void;

Calls Get.

Parameters
NameDescription
request IGetGlobalOrganizationOperationRequest

GetGlobalOrganizationOperationRequest message or plain object

callback GetCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Get.

Parameter
NameDescription
request IGetGlobalOrganizationOperationRequest

GetGlobalOrganizationOperationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.ListCallback): void;

Calls List.

Parameters
NameDescription
request IListGlobalOrganizationOperationsRequest

ListGlobalOrganizationOperationsRequest message or plain object

callback ListCallback

Node-style callback called with the error, if any, and OperationList

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;

Calls List.

Parameter
NameDescription
request IListGlobalOrganizationOperationsRequest

ListGlobalOrganizationOperationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.compute.v1.OperationList>

Promise