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

[BindServiceMethod(typeof(RegionNetworkEndpointGroups), "BindService")]
public abstract class 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

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
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

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(GetRegionNetworkEndpointGroupRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestGetRegionNetworkEndpointGroupRequest

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(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
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

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(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
NameDescription
requestListRegionNetworkEndpointGroupsRequest

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).