Compute Engine v1 API - Class NetworkEndpointGroups.NetworkEndpointGroupsBase (2.17.0)

[BindServiceMethod(typeof(NetworkEndpointGroups), "BindService")]
public abstract class NetworkEndpointGroups.NetworkEndpointGroupsBase

Reference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroups.NetworkEndpointGroupsBase.

Base class for server-side implementations of NetworkEndpointGroups

Inheritance

object > NetworkEndpointGroups.NetworkEndpointGroupsBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListNetworkEndpointGroupsRequest, ServerCallContext)

public virtual Task<NetworkEndpointGroupAggregatedList> AggregatedList(AggregatedListNetworkEndpointGroupsRequest request, ServerCallContext context)

Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListNetworkEndpointGroupsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskNetworkEndpointGroupAggregatedList

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

AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest, ServerCallContext)

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

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

Parameters
Name Description
request AttachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
Name Description
request DeleteNetworkEndpointGroupRequest

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
Name Description
request DetachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Returns the specified network endpoint group.

Parameters
Name Description
request GetNetworkEndpointGroupRequest

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

public virtual Task<Operation> Insert(InsertNetworkEndpointGroupRequest 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 InsertNetworkEndpointGroupRequest

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

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

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

Parameters
Name Description
request ListNetworkEndpointGroupsRequest

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
Name Description
request ListNetworkEndpointsNetworkEndpointGroupsRequest

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

TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsNetworkEndpointGroupRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTestPermissionsResponse

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