Class RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsBase (2.0.0)

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

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