Represents an Interconnects
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.InterconnectsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Interconnects 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): Interconnects;
Creates new Interconnects 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 |
Interconnects | RPC service. Useful where requests and/or responses are streamed. |
delete(request, callback)
public delete(request: google.cloud.compute.v1.IDeleteInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.DeleteCallback): void;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteInterconnectRequest
DeleteInterconnectRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.DeleteCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteInterconnectRequest
DeleteInterconnectRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
get(request, callback)
public get(request: google.cloud.compute.v1.IGetInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.GetCallback): void;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetInterconnectRequest
GetInterconnectRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.GetCallback
Node-style callback called with the error, if any, and Interconnect |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetInterconnectRequest): Promise<google.cloud.compute.v1.Interconnect>;
Calls Get.
Name | Description |
request |
google.cloud.compute.v1.IGetInterconnectRequest
GetInterconnectRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Interconnect> | Promise |
getDiagnostics(request, callback)
public getDiagnostics(request: google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.GetDiagnosticsCallback): void;
Calls GetDiagnostics.
Name | Description |
request |
google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest
GetDiagnosticsInterconnectRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.GetDiagnosticsCallback
Node-style callback called with the error, if any, and InterconnectsGetDiagnosticsResponse |
Type | Description |
void |
getDiagnostics(request)
public getDiagnostics(request: google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest): Promise<google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse>;
Calls GetDiagnostics.
Name | Description |
request |
google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest
GetDiagnosticsInterconnectRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse> | Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.InsertCallback): void;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertInterconnectRequest
InsertInterconnectRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.InsertCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertInterconnectRequest
InsertInterconnectRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |
list(request, callback)
public list(request: google.cloud.compute.v1.IListInterconnectsRequest, callback: google.cloud.compute.v1.Interconnects.ListCallback): void;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListInterconnectsRequest
ListInterconnectsRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.ListCallback
Node-style callback called with the error, if any, and InterconnectList |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListInterconnectsRequest): Promise<google.cloud.compute.v1.InterconnectList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListInterconnectsRequest
ListInterconnectsRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.InterconnectList> | Promise |
patch(request, callback)
public patch(request: google.cloud.compute.v1.IPatchInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.PatchCallback): void;
Calls Patch.
Name | Description |
request |
google.cloud.compute.v1.IPatchInterconnectRequest
PatchInterconnectRequest message or plain object |
callback |
google.cloud.compute.v1.Interconnects.PatchCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Name | Description |
request |
google.cloud.compute.v1.IPatchInterconnectRequest
PatchInterconnectRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |