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

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

Parameters
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<NetworkEndpointGroupAggregatedList>

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

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

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

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

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

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

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

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

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

Parameters
NameDescription
requestGetNetworkEndpointGroupRequest

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

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

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

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

TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, ServerCallContext)

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<TestPermissionsResponse>

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