Compute Engine v1 API - Class GlobalNetworkEndpointGroupsClientImpl (3.1.0)

public sealed class GlobalNetworkEndpointGroupsClientImpl : GlobalNetworkEndpointGroupsClient

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

GlobalNetworkEndpointGroups client wrapper implementation, for convenient use.

Inheritance

object > GlobalNetworkEndpointGroupsClient > GlobalNetworkEndpointGroupsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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 GlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClient

The underlying gRPC client.

settings GlobalNetworkEndpointGroupsSettings

The base GlobalNetworkEndpointGroupsSettings used within this client.

logger ILogger

Optional 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
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

DetachNetworkEndpointsOperationsClient

public override OperationsClient DetachNetworkEndpointsOperationsClient { get; }

The long-running operations client for DetachNetworkEndpoints.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient GrpcClient { get; }

The underlying gRPC GlobalNetworkEndpointGroups client

Property Value
Type Description
GlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

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 AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

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 AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

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 DeleteGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

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 DeleteGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

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 DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

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 DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetGlobalNetworkEndpointGroupRequest, CallSettings)

public override NetworkEndpointGroup Get(GetGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Returns the specified network endpoint group.

Parameters
Name Description
request GetGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
NetworkEndpointGroup

The RPC response.

Overrides

GetAsync(GetGlobalNetworkEndpointGroupRequest, CallSettings)

public override Task<NetworkEndpointGroup> GetAsync(GetGlobalNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Returns the specified network endpoint group.

Parameters
Name Description
request GetGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskNetworkEndpointGroup

A Task containing the RPC response.

Overrides

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 InsertGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

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 InsertGlobalNetworkEndpointGroupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

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 ListGlobalNetworkEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableNetworkEndpointGroupListNetworkEndpointGroup

A pageable sequence of NetworkEndpointGroup resources.

Overrides

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 ListGlobalNetworkEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableNetworkEndpointGroupListNetworkEndpointGroup

A pageable asynchronous sequence of NetworkEndpointGroup resources.

Overrides

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 ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableNetworkEndpointGroupsListNetworkEndpointsNetworkEndpointWithHealthStatus

A pageable sequence of NetworkEndpointWithHealthStatus resources.

Overrides

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 ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableNetworkEndpointGroupsListNetworkEndpointsNetworkEndpointWithHealthStatus

A pageable asynchronous sequence of NetworkEndpointWithHealthStatus resources.

Overrides