Compute Engine v1 API - Class RegionNetworkEndpointGroupsClientImpl (2.8.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

GoogleCloudGoogle.Cloud.ComputeV1

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
NameDescription
grpcClientRegionNetworkEndpointGroupsRegionNetworkEndpointGroupsClient

The underlying gRPC client.

settingsRegionNetworkEndpointGroupsSettings

The base RegionNetworkEndpointGroupsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient GrpcClient { get; }

The underlying gRPC RegionNetworkEndpointGroups client

Property Value
TypeDescription
RegionNetworkEndpointGroupsRegionNetworkEndpointGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

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
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListRegionNetworkEndpointGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListRegionNetworkEndpointGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableNetworkEndpointGroupListNetworkEndpointGroup

A pageable asynchronous sequence of NetworkEndpointGroup resources.

Overrides