Class protos.google.cloud.compute.v1.GlobalNetworkEndpointGroups (3.6.0)

Represents a GlobalNetworkEndpointGroups

Inheritance

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

Package

@google-cloud/compute

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new GlobalNetworkEndpointGroups service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

attachNetworkEndpoints(request, callback)

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

Calls AttachNetworkEndpoints.

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

AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.AttachNetworkEndpointsCallback

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

Returns
TypeDescription
void

attachNetworkEndpoints(request)

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

Calls AttachNetworkEndpoints.

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

AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest 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): GlobalNetworkEndpointGroups;

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

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

delete(request, callback)

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

Calls Delete.

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

DeleteGlobalNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.DeleteCallback

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

Returns
TypeDescription
void

delete(request)

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

Calls Delete.

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

DeleteGlobalNetworkEndpointGroupRequest message or plain object

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

Promise

detachNetworkEndpoints(request, callback)

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

Calls DetachNetworkEndpoints.

Parameters
NameDescription
request IDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.DetachNetworkEndpointsCallback

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

Returns
TypeDescription
void

detachNetworkEndpoints(request)

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

Calls DetachNetworkEndpoints.

Parameter
NameDescription
request IDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest message or plain object

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

Promise

get(request, callback)

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

Calls Get.

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

GetGlobalNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.GetCallback

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

Returns
TypeDescription
void

get(request)

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

Calls Get.

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

GetGlobalNetworkEndpointGroupRequest message or plain object

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

Promise

insert(request, callback)

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

Calls Insert.

Parameters
NameDescription
request IInsertGlobalNetworkEndpointGroupRequest

InsertGlobalNetworkEndpointGroupRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.InsertCallback

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

Returns
TypeDescription
void

insert(request)

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

Calls Insert.

Parameter
NameDescription
request IInsertGlobalNetworkEndpointGroupRequest

InsertGlobalNetworkEndpointGroupRequest message or plain object

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

Promise

list(request, callback)

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

Calls List.

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

ListGlobalNetworkEndpointGroupsRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.ListCallback

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

Returns
TypeDescription
void

list(request)

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

Calls List.

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

ListGlobalNetworkEndpointGroupsRequest message or plain object

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

Promise

listNetworkEndpoints(request, callback)

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

Calls ListNetworkEndpoints.

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

ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest message or plain object

callback google.cloud.compute.v1.GlobalNetworkEndpointGroups.ListNetworkEndpointsCallback

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

Returns
TypeDescription
void

listNetworkEndpoints(request)

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

Calls ListNetworkEndpoints.

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

ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest message or plain object

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

Promise