Represents an InterconnectLocations
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.InterconnectLocationsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new InterconnectLocations 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): InterconnectLocations;Creates new InterconnectLocations 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 |
| InterconnectLocations | RPC service. Useful where requests and/or responses are streamed. |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetInterconnectLocationRequest, callback: google.cloud.compute.v1.InterconnectLocations.GetCallback): void;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetInterconnectLocationRequest
GetInterconnectLocationRequest message or plain object |
| callback |
google.cloud.compute.v1.InterconnectLocations.GetCallback
Node-style callback called with the error, if any, and InterconnectLocation |
| Type | Description |
| void |
get(request)
public get(request: google.cloud.compute.v1.IGetInterconnectLocationRequest): Promise<google.cloud.compute.v1.InterconnectLocation>;Calls Get.
| Name | Description |
| request |
google.cloud.compute.v1.IGetInterconnectLocationRequest
GetInterconnectLocationRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.InterconnectLocation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListInterconnectLocationsRequest, callback: google.cloud.compute.v1.InterconnectLocations.ListCallback): void;Calls List.
| Name | Description |
| request |
IListInterconnectLocationsRequest
ListInterconnectLocationsRequest message or plain object |
| callback |
google.cloud.compute.v1.InterconnectLocations.ListCallback
Node-style callback called with the error, if any, and InterconnectLocationList |
| Type | Description |
| void |
list(request)
public list(request: google.cloud.compute.v1.IListInterconnectLocationsRequest): Promise<google.cloud.compute.v1.InterconnectLocationList>;Calls List.
| Name | Description |
| request |
IListInterconnectLocationsRequest
ListInterconnectLocationsRequest message or plain object |
| Type | Description |
| Promise<google.cloud.compute.v1.InterconnectLocationList> | Promise |