Compute Engine v1 API - Class GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsBase (2.2.0)

[BindServiceMethod(typeof(GlobalNetworkEndpointGroups), "BindService")]
public abstract class GlobalNetworkEndpointGroupsBase

Reference documentation and code samples for the Compute Engine v1 API class GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsBase.

Base class for server-side implementations of GlobalNetworkEndpointGroups

Inheritance

Object > GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<Operation> AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, ServerCallContext context)

Attach a network endpoint to the specified network endpoint group.

Parameters
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

Delete(DeleteGlobalNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteGlobalNetworkEndpointGroupRequest request, ServerCallContext context)

Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<Operation> DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, ServerCallContext context)

Detach the network endpoint from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

Get(GetGlobalNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<NetworkEndpointGroup> Get(GetGlobalNetworkEndpointGroupRequest request, ServerCallContext context)

Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.

Parameters
NameDescription
requestGetGlobalNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NetworkEndpointGroup>

The response to send back to the client (wrapped by a task).

Insert(InsertGlobalNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertGlobalNetworkEndpointGroupRequest request, ServerCallContext context)

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

List(ListGlobalNetworkEndpointGroupsRequest, ServerCallContext)

public virtual Task<NetworkEndpointGroupList> List(ListGlobalNetworkEndpointGroupsRequest request, ServerCallContext context)

Retrieves the list of network endpoint groups that are located in the specified project.

Parameters
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NetworkEndpointGroupList>

The response to send back to the client (wrapped by a task).

ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, ServerCallContext)

public virtual Task<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, ServerCallContext context)

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<NetworkEndpointGroupsListNetworkEndpoints>

The response to send back to the client (wrapped by a task).