Compute Engine v1 API - Class RegionNetworkEndpointGroupsClientImpl (2.16.0)

public sealed class RegionNetworkEndpointGroupsClientImpl : RegionNetworkEndpointGroupsClient

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

RegionNetworkEndpointGroups client wrapper implementation, for convenient use.

Inheritance

object > RegionNetworkEndpointGroupsClient > RegionNetworkEndpointGroupsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionNetworkEndpointGroups API.

Constructors

RegionNetworkEndpointGroupsClientImpl(RegionNetworkEndpointGroupsClient, RegionNetworkEndpointGroupsSettings, ILogger)

public RegionNetworkEndpointGroupsClientImpl(RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient grpcClient, RegionNetworkEndpointGroupsSettings settings, ILogger logger)

Constructs a client wrapper for the RegionNetworkEndpointGroups service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RegionNetworkEndpointGroupsRegionNetworkEndpointGroupsClient

The underlying gRPC client.

settings RegionNetworkEndpointGroupsSettings

The base RegionNetworkEndpointGroupsSettings 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 RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient GrpcClient { get; }

The underlying gRPC RegionNetworkEndpointGroups client

Property Value
Type Description
RegionNetworkEndpointGroupsRegionNetworkEndpointGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

AttachNetworkEndpoints(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest, CallSettings)

public override Operation<Operation, Operation> AttachNetworkEndpoints(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Attach a list of network endpoints to the specified network endpoint group.

Parameters
Name Description
request AttachNetworkEndpointsRegionNetworkEndpointGroupRequest

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(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> AttachNetworkEndpointsAsync(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Attach a list of network endpoints to the specified network endpoint group.

Parameters
Name Description
request AttachNetworkEndpointsRegionNetworkEndpointGroupRequest

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(DeleteRegionNetworkEndpointGroupRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
Name Description
request DeleteRegionNetworkEndpointGroupRequest

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(DeleteRegionNetworkEndpointGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.

Parameters
Name Description
request DeleteRegionNetworkEndpointGroupRequest

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(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest, CallSettings)

public override Operation<Operation, Operation> DetachNetworkEndpoints(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Detach the network endpoint from the specified network endpoint group.

Parameters
Name Description
request DetachNetworkEndpointsRegionNetworkEndpointGroupRequest

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(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DetachNetworkEndpointsAsync(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Detach the network endpoint from the specified network endpoint group.

Parameters
Name Description
request DetachNetworkEndpointsRegionNetworkEndpointGroupRequest

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(GetRegionNetworkEndpointGroupRequest, CallSettings)

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

Returns the specified network endpoint group.

Parameters
Name Description
request GetRegionNetworkEndpointGroupRequest

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(GetRegionNetworkEndpointGroupRequest, CallSettings)

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

Returns the specified network endpoint group.

Parameters
Name Description
request GetRegionNetworkEndpointGroupRequest

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(InsertRegionNetworkEndpointGroupRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionNetworkEndpointGroupRequest 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 InsertRegionNetworkEndpointGroupRequest

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(InsertRegionNetworkEndpointGroupRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionNetworkEndpointGroupRequest 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 InsertRegionNetworkEndpointGroupRequest

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(ListRegionNetworkEndpointGroupsRequest, CallSettings)

public override PagedEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> List(ListRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
Name Description
request ListRegionNetworkEndpointGroupsRequest

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(ListRegionNetworkEndpointGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> ListAsync(ListRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Retrieves the list of regional network endpoint groups available to the specified project in the given region.

Parameters
Name Description
request ListRegionNetworkEndpointGroupsRequest

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(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest, CallSettings)

public override PagedEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> ListNetworkEndpoints(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Lists the network endpoints in the specified network endpoint group.

Parameters
Name Description
request ListNetworkEndpointsRegionNetworkEndpointGroupsRequest

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(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> ListNetworkEndpointsAsync(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Lists the network endpoints in the specified network endpoint group.

Parameters
Name Description
request ListNetworkEndpointsRegionNetworkEndpointGroupsRequest

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