Class protos.google.cloud.compute.v1.InterconnectAttachments (3.9.1)

Represents an InterconnectAttachments

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new InterconnectAttachments service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

aggregatedList(request, callback)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest, callback: google.cloud.compute.v1.InterconnectAttachments.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
NameDescription
request google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest

AggregatedListInterconnectAttachmentsRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.AggregatedListCallback

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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest): Promise<google.cloud.compute.v1.InterconnectAttachmentAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest

AggregatedListInterconnectAttachmentsRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): InterconnectAttachments;

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

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

delete(request, callback)

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

Calls Delete.

Parameters
NameDescription
request google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest

DeleteInterconnectAttachmentRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

public delete(request: google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Delete.

Parameter
NameDescription
request google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest

DeleteInterconnectAttachmentRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

Parameters
NameDescription
request google.cloud.compute.v1.IGetInterconnectAttachmentRequest

GetInterconnectAttachmentRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.InterconnectAttachment>;

Calls Get.

Parameter
NameDescription
request google.cloud.compute.v1.IGetInterconnectAttachmentRequest

GetInterconnectAttachmentRequest message or plain object

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

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1.IInsertInterconnectAttachmentRequest, callback: google.cloud.compute.v1.InterconnectAttachments.InsertCallback): void;

Calls Insert.

Parameters
NameDescription
request google.cloud.compute.v1.IInsertInterconnectAttachmentRequest

InsertInterconnectAttachmentRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.InsertCallback

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

Returns
TypeDescription
void

insert(request)

public insert(request: google.cloud.compute.v1.IInsertInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Insert.

Parameter
NameDescription
request google.cloud.compute.v1.IInsertInterconnectAttachmentRequest

InsertInterconnectAttachmentRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

Parameters
NameDescription
request google.cloud.compute.v1.IListInterconnectAttachmentsRequest

ListInterconnectAttachmentsRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListInterconnectAttachmentsRequest): Promise<google.cloud.compute.v1.InterconnectAttachmentList>;

Calls List.

Parameter
NameDescription
request google.cloud.compute.v1.IListInterconnectAttachmentsRequest

ListInterconnectAttachmentsRequest message or plain object

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

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1.IPatchInterconnectAttachmentRequest, callback: google.cloud.compute.v1.InterconnectAttachments.PatchCallback): void;

Calls Patch.

Parameters
NameDescription
request google.cloud.compute.v1.IPatchInterconnectAttachmentRequest

PatchInterconnectAttachmentRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.PatchCallback

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

Returns
TypeDescription
void

patch(request)

public patch(request: google.cloud.compute.v1.IPatchInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;

Calls Patch.

Parameter
NameDescription
request google.cloud.compute.v1.IPatchInterconnectAttachmentRequest

PatchInterconnectAttachmentRequest message or plain object

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

Promise

setLabels(request, callback)

public setLabels(request: google.cloud.compute.v1.ISetLabelsInterconnectAttachmentRequest, callback: google.cloud.compute.v1.InterconnectAttachments.SetLabelsCallback): void;

Calls SetLabels.

Parameters
NameDescription
request google.cloud.compute.v1.ISetLabelsInterconnectAttachmentRequest

SetLabelsInterconnectAttachmentRequest message or plain object

callback google.cloud.compute.v1.InterconnectAttachments.SetLabelsCallback

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

Returns
TypeDescription
void

setLabels(request)

public setLabels(request: google.cloud.compute.v1.ISetLabelsInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;

Calls SetLabels.

Parameter
NameDescription
request google.cloud.compute.v1.ISetLabelsInterconnectAttachmentRequest

SetLabelsInterconnectAttachmentRequest message or plain object

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

Promise