Compute Engine v1 API - Class GlobalNetworkEndpointGroupsClientImpl (2.15.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
NameDescription
grpcClientGlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClient

The underlying gRPC client.

settingsGlobalNetworkEndpointGroupsSettings

The base GlobalNetworkEndpointGroupsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

AttachNetworkEndpointsOperationsClient

public override OperationsClient AttachNetworkEndpointsOperationsClient { get; }

The long-running operations client for AttachNetworkEndpoints.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

DetachNetworkEndpointsOperationsClient

public override OperationsClient DetachNetworkEndpointsOperationsClient { get; }

The long-running operations client for DetachNetworkEndpoints.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient GrpcClient { get; }

The underlying gRPC GlobalNetworkEndpointGroups client

Property Value
TypeDescription
GlobalNetworkEndpointGroupsGlobalNetworkEndpointGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
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
NameDescription
requestAttachNetworkEndpointsGlobalNetworkEndpointGroupRequest

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

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

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

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

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(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
NameDescription
requestDeleteGlobalNetworkEndpointGroupRequest

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

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

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

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

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

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

Returns the specified network endpoint group.

Parameters
NameDescription
requestGetGlobalNetworkEndpointGroupRequest

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

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

Returns the specified network endpoint group.

Parameters
NameDescription
requestGetGlobalNetworkEndpointGroupRequest

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(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
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

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(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
NameDescription
requestInsertGlobalNetworkEndpointGroupRequest

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(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
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

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(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
NameDescription
requestListGlobalNetworkEndpointGroupsRequest

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableNetworkEndpointGroupsListNetworkEndpointsNetworkEndpointWithHealthStatus

A pageable asynchronous sequence of NetworkEndpointWithHealthStatus resources.

Overrides