Class protos.google.cloud.compute.v1.InterconnectRemoteLocations (4.5.0)

Represents an InterconnectRemoteLocations

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new InterconnectRemoteLocations service.

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

Creates new InterconnectRemoteLocations 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
InterconnectRemoteLocations

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

get(request, callback)

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

Calls Get.

Parameters
Name Description
request IGetInterconnectRemoteLocationRequest

GetInterconnectRemoteLocationRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

public get(request: google.cloud.compute.v1.IGetInterconnectRemoteLocationRequest): Promise<google.cloud.compute.v1.InterconnectRemoteLocation>;

Calls Get.

Parameter
Name Description
request IGetInterconnectRemoteLocationRequest

GetInterconnectRemoteLocationRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.InterconnectRemoteLocation>

Promise

list(request, callback)

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

Calls List.

Parameters
Name Description
request IListInterconnectRemoteLocationsRequest

ListInterconnectRemoteLocationsRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.compute.v1.IListInterconnectRemoteLocationsRequest): Promise<google.cloud.compute.v1.InterconnectRemoteLocationList>;

Calls List.

Parameter
Name Description
request IListInterconnectRemoteLocationsRequest

ListInterconnectRemoteLocationsRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1.InterconnectRemoteLocationList>

Promise