Class GlobalNetworkEndpointGroupsClientImpl (1.0.0)

public sealed class GlobalNetworkEndpointGroupsClientImpl : GlobalNetworkEndpointGroupsClient

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(GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient, GlobalNetworkEndpointGroupsSettings)

public GlobalNetworkEndpointGroupsClientImpl(GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient grpcClient, GlobalNetworkEndpointGroupsSettings settings)

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

Parameters
NameDescription
grpcClientGlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient

The underlying gRPC client.

settingsGlobalNetworkEndpointGroupsSettings

The base GlobalNetworkEndpointGroupsSettings used 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
GlobalNetworkEndpointGroups.GlobalNetworkEndpointGroupsClient
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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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. Gets a list of available network endpoint groups by making a list() request.

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. Gets a list of available network endpoint groups by making a list() request.

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
Task<NetworkEndpointGroup>

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
Operation<Operation, Operation>

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
Task<Operation<Operation, Operation>>

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
PagedEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup>

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
PagedAsyncEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup>

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
PagedEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus>

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
PagedAsyncEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus>

A pageable asynchronous sequence of NetworkEndpointWithHealthStatus resources.

Overrides