Class protos.google.cloud.compute.v1beta.InterconnectAttachmentGroups (6.5.0)

Represents an InterconnectAttachmentGroups

Inheritance

$protobuf.rpc.Service > protos.google.cloud.compute.v1beta.InterconnectAttachmentGroups

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new InterconnectAttachmentGroups 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): InterconnectAttachmentGroups;

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

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

delete(request, callback)

public delete(request: google.cloud.compute.v1beta.IDeleteInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.DeleteCallback): void;

Calls Delete.

Parameters
Name Description
request IDeleteInterconnectAttachmentGroupRequest

DeleteInterconnectAttachmentGroupRequest 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.v1beta.IDeleteInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.Operation>;

Calls Delete.

Parameter
Name Description
request IDeleteInterconnectAttachmentGroupRequest

DeleteInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.Operation>

Promise

get(request, callback)

public get(request: google.cloud.compute.v1beta.IGetInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetCallback): void;

Calls Get.

Parameters
Name Description
request IGetInterconnectAttachmentGroupRequest

GetInterconnectAttachmentGroupRequest message or plain object

callback GetCallback

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

Returns
Type Description
void

get(request)

public get(request: google.cloud.compute.v1beta.IGetInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroup>;

Calls Get.

Parameter
Name Description
request IGetInterconnectAttachmentGroupRequest

GetInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroup>

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.cloud.compute.v1beta.IGetIamPolicyInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
Name Description
request IGetIamPolicyInterconnectAttachmentGroupRequest

GetIamPolicyInterconnectAttachmentGroupRequest message or plain object

callback GetIamPolicyCallback

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

Returns
Type Description
void

getIamPolicy(request)

public getIamPolicy(request: google.cloud.compute.v1beta.IGetIamPolicyInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.Policy>;

Calls GetIamPolicy.

Parameter
Name Description
request IGetIamPolicyInterconnectAttachmentGroupRequest

GetIamPolicyInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.Policy>

Promise

getOperationalStatus(request, callback)

public getOperationalStatus(request: google.cloud.compute.v1beta.IGetOperationalStatusInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.GetOperationalStatusCallback): void;

Calls GetOperationalStatus.

Parameters
Name Description
request IGetOperationalStatusInterconnectAttachmentGroupRequest

GetOperationalStatusInterconnectAttachmentGroupRequest message or plain object

callback GetOperationalStatusCallback

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

Returns
Type Description
void

getOperationalStatus(request)

public getOperationalStatus(request: google.cloud.compute.v1beta.IGetOperationalStatusInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroupsGetOperationalStatusResponse>;

Calls GetOperationalStatus.

Parameter
Name Description
request IGetOperationalStatusInterconnectAttachmentGroupRequest

GetOperationalStatusInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroupsGetOperationalStatusResponse>

Promise

insert(request, callback)

public insert(request: google.cloud.compute.v1beta.IInsertInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.InsertCallback): void;

Calls Insert.

Parameters
Name Description
request IInsertInterconnectAttachmentGroupRequest

InsertInterconnectAttachmentGroupRequest 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.v1beta.IInsertInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.Operation>;

Calls Insert.

Parameter
Name Description
request IInsertInterconnectAttachmentGroupRequest

InsertInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.Operation>

Promise

list(request, callback)

public list(request: google.cloud.compute.v1beta.IListInterconnectAttachmentGroupsRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.ListCallback): void;

Calls List.

Parameters
Name Description
request IListInterconnectAttachmentGroupsRequest

ListInterconnectAttachmentGroupsRequest message or plain object

callback ListCallback

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

Returns
Type Description
void

list(request)

public list(request: google.cloud.compute.v1beta.IListInterconnectAttachmentGroupsRequest): Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroupsListResponse>;

Calls List.

Parameter
Name Description
request IListInterconnectAttachmentGroupsRequest

ListInterconnectAttachmentGroupsRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.InterconnectAttachmentGroupsListResponse>

Promise

patch(request, callback)

public patch(request: google.cloud.compute.v1beta.IPatchInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.PatchCallback): void;

Calls Patch.

Parameters
Name Description
request IPatchInterconnectAttachmentGroupRequest

PatchInterconnectAttachmentGroupRequest 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.v1beta.IPatchInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.Operation>;

Calls Patch.

Parameter
Name Description
request IPatchInterconnectAttachmentGroupRequest

PatchInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.Operation>

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.cloud.compute.v1beta.ISetIamPolicyInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
Name Description
request ISetIamPolicyInterconnectAttachmentGroupRequest

SetIamPolicyInterconnectAttachmentGroupRequest message or plain object

callback SetIamPolicyCallback

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

Returns
Type Description
void

setIamPolicy(request)

public setIamPolicy(request: google.cloud.compute.v1beta.ISetIamPolicyInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.Policy>;

Calls SetIamPolicy.

Parameter
Name Description
request ISetIamPolicyInterconnectAttachmentGroupRequest

SetIamPolicyInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.Policy>

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.cloud.compute.v1beta.ITestIamPermissionsInterconnectAttachmentGroupRequest, callback: google.cloud.compute.v1beta.InterconnectAttachmentGroups.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
Name Description
request ITestIamPermissionsInterconnectAttachmentGroupRequest

TestIamPermissionsInterconnectAttachmentGroupRequest message or plain object

callback TestIamPermissionsCallback

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

Returns
Type Description
void

testIamPermissions(request)

public testIamPermissions(request: google.cloud.compute.v1beta.ITestIamPermissionsInterconnectAttachmentGroupRequest): Promise<google.cloud.compute.v1beta.TestPermissionsResponse>;

Calls TestIamPermissions.

Parameter
Name Description
request ITestIamPermissionsInterconnectAttachmentGroupRequest

TestIamPermissionsInterconnectAttachmentGroupRequest message or plain object

Returns
Type Description
Promise<google.cloud.compute.v1beta.TestPermissionsResponse>

Promise