public sealed class GlobalNetworkEndpointGroupsClientImpl : GlobalNetworkEndpointGroupsClientReference documentation and code samples for the Compute Engine v1 API class GlobalNetworkEndpointGroupsClientImpl.
GlobalNetworkEndpointGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The GlobalNetworkEndpointGroups API.
Constructors
GlobalNetworkEndpointGroupsClientImpl(GlobalNetworkEndpointGroupsClient, GlobalNetworkEndpointGroupsSettings, ILogger)
public GlobalNetworkEndpointGroupsClientImpl(GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient grpcClient, GlobalNetworkEndpointGroupsSettings settings, ILogger logger)Constructs a client wrapper for the GlobalNetworkEndpointGroups service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
GlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClientThe underlying gRPC client. |
settings |
GlobalNetworkEndpointGroupsSettingsThe base GlobalNetworkEndpointGroupsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
AttachNetworkEndpointsOperationsClient
public override OperationsClient AttachNetworkEndpointsOperationsClient { get; }The long-running operations client for AttachNetworkEndpoints.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DetachNetworkEndpointsOperationsClient
public override OperationsClient DetachNetworkEndpointsOperationsClient { get; }The long-running operations client for DetachNetworkEndpoints.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient GrpcClient { get; }The underlying gRPC GlobalNetworkEndpointGroups client
| Property Value | |
|---|---|
| Type | Description |
GlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> AttachNetworkEndpoints(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Attach a network endpoint to the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
AttachNetworkEndpointsGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> AttachNetworkEndpointsAsync(AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Attach a network endpoint to the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
AttachNetworkEndpointsGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Delete(DeleteGlobalNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteGlobalNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> DetachNetworkEndpoints(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Detach the network endpoint from the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
DetachNetworkEndpointsGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DetachNetworkEndpointsAsync(DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Detach the network endpoint from the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
DetachNetworkEndpointsGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetGlobalNetworkEndpointGroupRequest, CallSettings)
public override NetworkEndpointGroup Get(GetGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Returns the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NetworkEndpointGroup |
The RPC response. |
GetAsync(GetGlobalNetworkEndpointGroupRequest, CallSettings)
public override Task<NetworkEndpointGroup> GetAsync(GetGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Returns the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNetworkEndpointGroup |
A Task containing the RPC response. |
Insert(InsertGlobalNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Creates a network endpoint group in the specified project using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertGlobalNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)Creates a network endpoint group in the specified project using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalNetworkEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
List(ListGlobalNetworkEndpointGroupsRequest, CallSettings)
public override PagedEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> List(ListGlobalNetworkEndpointGroupsRequest request, CallSettings callSettings = null)Retrieves the list of network endpoint groups that are located in the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalNetworkEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableNetworkEndpointGroupListNetworkEndpointGroup |
A pageable sequence of NetworkEndpointGroup resources. |
ListAsync(ListGlobalNetworkEndpointGroupsRequest, CallSettings)
public override PagedAsyncEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> ListAsync(ListGlobalNetworkEndpointGroupsRequest request, CallSettings callSettings = null)Retrieves the list of network endpoint groups that are located in the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalNetworkEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableNetworkEndpointGroupListNetworkEndpointGroup |
A pageable asynchronous sequence of NetworkEndpointGroup resources. |
ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, CallSettings)
public override PagedEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> ListNetworkEndpoints(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, CallSettings callSettings = null)Lists the network endpoints in the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkEndpointsGlobalNetworkEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableNetworkEndpointGroupsListNetworkEndpointsNetworkEndpointWithHealthStatus |
A pageable sequence of NetworkEndpointWithHealthStatus resources. |
ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest, CallSettings)
public override PagedAsyncEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> ListNetworkEndpointsAsync(ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest request, CallSettings callSettings = null)Lists the network endpoints in the specified network endpoint group.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkEndpointsGlobalNetworkEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableNetworkEndpointGroupsListNetworkEndpointsNetworkEndpointWithHealthStatus |
A pageable asynchronous sequence of NetworkEndpointWithHealthStatus resources. |