Represents an InterconnectAttachments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.compute.v1.InterconnectAttachmentsPackage
@google-cloud/computeConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new InterconnectAttachments service.
Name | Description |
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.
Name | Description |
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 |
Type | Description |
void |
aggregatedList(request)
public aggregatedList(request: google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest): Promise<google.cloud.compute.v1.InterconnectAttachmentAggregatedList>;
Calls AggregatedList.
Name | Description |
request |
google.cloud.compute.v1.IAggregatedListInterconnectAttachmentsRequest
AggregatedListInterconnectAttachmentsRequest message or plain object |
Type | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
delete(request)
public delete(request: google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Delete.
Name | Description |
request |
google.cloud.compute.v1.IDeleteInterconnectAttachmentRequest
DeleteInterconnectAttachmentRequest message or plain object |
Type | Description |
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.
Name | Description |
request |
IGetInterconnectAttachmentRequest
GetInterconnectAttachmentRequest message or plain object |
callback |
google.cloud.compute.v1.InterconnectAttachments.GetCallback
Node-style callback called with the error, if any, and InterconnectAttachment |
Type | Description |
void |
get(request)
public get(request: google.cloud.compute.v1.IGetInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.InterconnectAttachment>;
Calls Get.
Name | Description |
request |
IGetInterconnectAttachmentRequest
GetInterconnectAttachmentRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
insert(request)
public insert(request: google.cloud.compute.v1.IInsertInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Insert.
Name | Description |
request |
google.cloud.compute.v1.IInsertInterconnectAttachmentRequest
InsertInterconnectAttachmentRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
list(request)
public list(request: google.cloud.compute.v1.IListInterconnectAttachmentsRequest): Promise<google.cloud.compute.v1.InterconnectAttachmentList>;
Calls List.
Name | Description |
request |
google.cloud.compute.v1.IListInterconnectAttachmentsRequest
ListInterconnectAttachmentsRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
patch(request)
public patch(request: google.cloud.compute.v1.IPatchInterconnectAttachmentRequest): Promise<google.cloud.compute.v1.Operation>;
Calls Patch.
Name | Description |
request |
google.cloud.compute.v1.IPatchInterconnectAttachmentRequest
PatchInterconnectAttachmentRequest message or plain object |
Type | Description |
Promise<google.cloud.compute.v1.Operation> | Promise |