Compute Engine v1 API - Class RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsBase (2.16.0)

[BindServiceMethod(typeof(RegionNetworkEndpointGroups), "BindService")]
public abstract class RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsBase

Reference documentation and code samples for the Compute Engine v1 API class RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsBase.

Base class for server-side implementations of RegionNetworkEndpointGroups

Inheritance

object > RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AttachNetworkEndpoints(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest, ServerCallContext)

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

Attach a list of network endpoints to the specified network endpoint group.

Parameters
Name Description
request AttachNetworkEndpointsRegionNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

Delete(DeleteRegionNetworkEndpointGroupRequest, ServerCallContext)

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

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
Name Description
request DeleteRegionNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DetachNetworkEndpoints(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest, ServerCallContext)

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

Detach the network endpoint from the specified network endpoint group.

Parameters
Name Description
request DetachNetworkEndpointsRegionNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

Get(GetRegionNetworkEndpointGroupRequest, ServerCallContext)

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

Returns the specified network endpoint group.

Parameters
Name Description
request GetRegionNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskNetworkEndpointGroup

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

Insert(InsertRegionNetworkEndpointGroupRequest, ServerCallContext)

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

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

Parameters
Name Description
request InsertRegionNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

List(ListRegionNetworkEndpointGroupsRequest, ServerCallContext)

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

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
Name Description
request ListRegionNetworkEndpointGroupsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskNetworkEndpointGroupList

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

ListNetworkEndpoints(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest, ServerCallContext)

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

Lists the network endpoints in the specified network endpoint group.

Parameters
Name Description
request ListNetworkEndpointsRegionNetworkEndpointGroupsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskNetworkEndpointGroupsListNetworkEndpoints

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