[BindServiceMethod(typeof(GlobalNetworkEndpointGroups), "BindService")]
public abstract class GlobalNetworkEndpointGroupsBase
Reference documentation and code samples for the Compute Engine v1 API class GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsBase.
Base class for server-side implementations of GlobalNetworkEndpointGroups
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, ServerCallContext)
public virtual Task<Operation> AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, ServerCallContext context)
Attach a network endpoint to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest 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). |
Delete(DeleteGlobalNetworkEndpointGroupRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteGlobalNetworkEndpointGroupRequest request, ServerCallContext context)
Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
Parameters | |
---|---|
Name | Description |
request | DeleteGlobalNetworkEndpointGroupRequest 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). |
DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, ServerCallContext)
public virtual Task<Operation> DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, ServerCallContext context)
Detach the network endpoint from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest 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(GetGlobalNetworkEndpointGroupRequest, ServerCallContext)
public virtual Task<NetworkEndpointGroup> Get(GetGlobalNetworkEndpointGroupRequest 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 | GetGlobalNetworkEndpointGroupRequest 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(InsertGlobalNetworkEndpointGroupRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertGlobalNetworkEndpointGroupRequest 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 | InsertGlobalNetworkEndpointGroupRequest 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(ListGlobalNetworkEndpointGroupsRequest, ServerCallContext)
public virtual Task<NetworkEndpointGroupList> List(ListGlobalNetworkEndpointGroupsRequest request, ServerCallContext context)
Retrieves the list of network endpoint groups that are located in the specified project.
Parameters | |
---|---|
Name | Description |
request | ListGlobalNetworkEndpointGroupsRequest 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). |
ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, ServerCallContext)
public virtual Task<NetworkEndpointGroupsListNetworkEndpoints> ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, ServerCallContext context)
Lists the network endpoints in the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<NetworkEndpointGroupsListNetworkEndpoints> | The response to send back to the client (wrapped by a task). |