[BindServiceMethod(typeof(NetworkEndpointGroups), "BindService")]
public abstract class NetworkEndpointGroups.NetworkEndpointGroupsBaseReference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroups.NetworkEndpointGroupsBase.
Base class for server-side implementations of NetworkEndpointGroups
Namespace
Google.Cloud.Compute.V1Assembly
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 |
AggregatedListNetworkEndpointGroupsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
AttachNetworkEndpointsNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DetachNetworkEndpointsNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListNetworkEndpointGroupsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListNetworkEndpointsNetworkEndpointGroupsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsNetworkEndpointGroupRequestThe request received from the client. |
context |
ServerCallContextThe 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). |