Class protos.google.cloud.compute.v1.NetworkEndpointGroups (3.8.1)

Represents a NetworkEndpointGroups

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new NetworkEndpointGroups 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.IAggregatedListNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.AggregatedListCallback): void;

Calls AggregatedList.

Parameters
NameDescription
request IAggregatedListNetworkEndpointGroupsRequest

AggregatedListNetworkEndpointGroupsRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.AggregatedListCallback

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

Returns
TypeDescription
void

aggregatedList(request)

public aggregatedList(request: google.cloud.compute.v1.IAggregatedListNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupAggregatedList>;

Calls AggregatedList.

Parameter
NameDescription
request IAggregatedListNetworkEndpointGroupsRequest

AggregatedListNetworkEndpointGroupsRequest message or plain object

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

Promise

attachNetworkEndpoints(request, callback)

public attachNetworkEndpoints(request: google.cloud.compute.v1.IAttachNetworkEndpointsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.AttachNetworkEndpointsCallback): void;

Calls AttachNetworkEndpoints.

Parameters
NameDescription
request IAttachNetworkEndpointsNetworkEndpointGroupRequest

AttachNetworkEndpointsNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.AttachNetworkEndpointsCallback

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

Returns
TypeDescription
void

attachNetworkEndpoints(request)

public attachNetworkEndpoints(request: google.cloud.compute.v1.IAttachNetworkEndpointsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;

Calls AttachNetworkEndpoints.

Parameter
NameDescription
request IAttachNetworkEndpointsNetworkEndpointGroupRequest

AttachNetworkEndpointsNetworkEndpointGroupRequest message or plain object

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

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

delete(request, callback)

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

Calls Delete.

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

DeleteNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

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

DeleteNetworkEndpointGroupRequest message or plain object

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

Promise

detachNetworkEndpoints(request, callback)

public detachNetworkEndpoints(request: google.cloud.compute.v1.IDetachNetworkEndpointsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.DetachNetworkEndpointsCallback): void;

Calls DetachNetworkEndpoints.

Parameters
NameDescription
request IDetachNetworkEndpointsNetworkEndpointGroupRequest

DetachNetworkEndpointsNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.DetachNetworkEndpointsCallback

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

Returns
TypeDescription
void

detachNetworkEndpoints(request)

public detachNetworkEndpoints(request: google.cloud.compute.v1.IDetachNetworkEndpointsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.Operation>;

Calls DetachNetworkEndpoints.

Parameter
NameDescription
request IDetachNetworkEndpointsNetworkEndpointGroupRequest

DetachNetworkEndpointsNetworkEndpointGroupRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

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

GetNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.GetCallback

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

Returns
TypeDescription
void

get(request)

public get(request: google.cloud.compute.v1.IGetNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroup>;

Calls Get.

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

GetNetworkEndpointGroupRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertNetworkEndpointGroupRequest

InsertNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertNetworkEndpointGroupRequest

InsertNetworkEndpointGroupRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

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

ListNetworkEndpointGroupsRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.ListCallback

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

Returns
TypeDescription
void

list(request)

public list(request: google.cloud.compute.v1.IListNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupList>;

Calls List.

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

ListNetworkEndpointGroupsRequest message or plain object

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

Promise

listNetworkEndpoints(request, callback)

public listNetworkEndpoints(request: google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.ListNetworkEndpointsCallback): void;

Calls ListNetworkEndpoints.

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

ListNetworkEndpointsNetworkEndpointGroupsRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.ListNetworkEndpointsCallback

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

Returns
TypeDescription
void

listNetworkEndpoints(request)

public listNetworkEndpoints(request: google.cloud.compute.v1.IListNetworkEndpointsNetworkEndpointGroupsRequest): Promise<google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints>;

Calls ListNetworkEndpoints.

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

ListNetworkEndpointsNetworkEndpointGroupsRequest message or plain object

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

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsNetworkEndpointGroupRequest, callback: google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
NameDescription
request ITestIamPermissionsNetworkEndpointGroupRequest

TestIamPermissionsNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.NetworkEndpointGroups.TestIamPermissionsCallback

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

Returns
TypeDescription
void

testIamPermissions(request)

public testIamPermissions(request: google.cloud.compute.v1.ITestIamPermissionsNetworkEndpointGroupRequest): Promise<google.cloud.compute.v1.TestPermissionsResponse>;

Calls TestIamPermissions.

Parameter
NameDescription
request ITestIamPermissionsNetworkEndpointGroupRequest

TestIamPermissionsNetworkEndpointGroupRequest message or plain object

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

Promise