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.
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): Interconnects;
Creates new Interconnects 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 |
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteInterconnectRequest
DeleteInterconnectRequest message or plain object |
callback |
DeleteCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Parameter | |
---|---|
Name | Description |
request |
IDeleteInterconnectRequest
DeleteInterconnectRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetInterconnectRequest
GetInterconnectRequest message or plain object |
callback |
GetCallback
Node-style callback called with the error, if any, and Interconnect |
Returns | |
---|---|
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetInterconnectRequest): Promise<google.cloud.compute.v1.Interconnect>;
Calls Get.
Parameter | |
---|---|
Name | Description |
request |
IGetInterconnectRequest
GetInterconnectRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetDiagnosticsInterconnectRequest
GetDiagnosticsInterconnectRequest message or plain object |
callback |
GetDiagnosticsCallback
Node-style callback called with the error, if any, and InterconnectsGetDiagnosticsResponse |
Returns | |
---|---|
Type | Description |
void |
getDiagnostics(request)
public getDiagnostics(request: google.cloud.compute.v1.IGetDiagnosticsInterconnectRequest): Promise<google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse>;
Calls GetDiagnostics.
Parameter | |
---|---|
Name | Description |
request |
IGetDiagnosticsInterconnectRequest
GetDiagnosticsInterconnectRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse> |
Promise |
getMacsecConfig(request, callback)
public getMacsecConfig(request: google.cloud.compute.v1.IGetMacsecConfigInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.GetMacsecConfigCallback): void;
Calls GetMacsecConfig.
Parameters | |
---|---|
Name | Description |
request |
IGetMacsecConfigInterconnectRequest
GetMacsecConfigInterconnectRequest message or plain object |
callback |
GetMacsecConfigCallback
Node-style callback called with the error, if any, and InterconnectsGetMacsecConfigResponse |
Returns | |
---|---|
Type | Description |
void |
getMacsecConfig(request)
public getMacsecConfig(request: google.cloud.compute.v1.IGetMacsecConfigInterconnectRequest): Promise<google.cloud.compute.v1.InterconnectsGetMacsecConfigResponse>;
Calls GetMacsecConfig.
Parameter | |
---|---|
Name | Description |
request |
IGetMacsecConfigInterconnectRequest
GetMacsecConfigInterconnectRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.InterconnectsGetMacsecConfigResponse> |
Promise |
insert(request, callback)
public insert(request: google.cloud.compute.v1.IInsertInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.InsertCallback): void;
Calls Insert.
Parameters | |
---|---|
Name | Description |
request |
IInsertInterconnectRequest
InsertInterconnectRequest message or plain object |
callback |
InsertCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Parameter | |
---|---|
Name | Description |
request |
IInsertInterconnectRequest
InsertInterconnectRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IListInterconnectsRequest
ListInterconnectsRequest message or plain object |
callback |
ListCallback
Node-style callback called with the error, if any, and InterconnectList |
Returns | |
---|---|
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListInterconnectsRequest): Promise<google.cloud.compute.v1.InterconnectList>;
Calls List.
Parameter | |
---|---|
Name | Description |
request |
IListInterconnectsRequest
ListInterconnectsRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IPatchInterconnectRequest
PatchInterconnectRequest message or plain object |
callback |
PatchCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Parameter | |
---|---|
Name | Description |
request |
IPatchInterconnectRequest
PatchInterconnectRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |
setLabels(request, callback)
public setLabels(request: google.cloud.compute.v1.ISetLabelsInterconnectRequest, callback: google.cloud.compute.v1.Interconnects.SetLabelsCallback): void;
Calls SetLabels.
Parameters | |
---|---|
Name | Description |
request |
ISetLabelsInterconnectRequest
SetLabelsInterconnectRequest message or plain object |
callback |
SetLabelsCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
setLabels(request)
public setLabels(request: google.cloud.compute.v1.ISetLabelsInterconnectRequest): Promise<google.cloud.compute.v1.Operation>;
Calls SetLabels.
Parameter | |
---|---|
Name | Description |
request |
ISetLabelsInterconnectRequest
SetLabelsInterconnectRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.compute.v1.Operation> |
Promise |