Class NetworkEndpointGroupsClientImpl (2.0.0)

public sealed class NetworkEndpointGroupsClientImpl : NetworkEndpointGroupsClient

NetworkEndpointGroups client wrapper implementation, for convenient use.

Inheritance

Object > NetworkEndpointGroupsClient > NetworkEndpointGroupsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The NetworkEndpointGroups API.

Constructors

NetworkEndpointGroupsClientImpl(NetworkEndpointGroups.NetworkEndpointGroupsClient, NetworkEndpointGroupsSettings, ILogger)

public NetworkEndpointGroupsClientImpl(NetworkEndpointGroups.NetworkEndpointGroupsClient grpcClient, NetworkEndpointGroupsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientNetworkEndpointGroups.NetworkEndpointGroupsClient

The underlying gRPC client.

settingsNetworkEndpointGroupsSettings

The base NetworkEndpointGroupsSettings 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 NetworkEndpointGroups.NetworkEndpointGroupsClient GrpcClient { get; }

The underlying gRPC NetworkEndpointGroups client

Property Value
TypeDescription
NetworkEndpointGroups.NetworkEndpointGroupsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListNetworkEndpointGroupsRequest, CallSettings)

public override PagedEnumerable<NetworkEndpointGroupAggregatedList, KeyValuePair<string, NetworkEndpointGroupsScopedList>> AggregatedList(AggregatedListNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Retrieves the list of network endpoint groups and sorts them by zone.

Parameters
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

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<NetworkEndpointGroupAggregatedList, KeyValuePair<String, NetworkEndpointGroupsScopedList>>

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<NetworkEndpointGroupAggregatedList, KeyValuePair<string, NetworkEndpointGroupsScopedList>> AggregatedListAsync(AggregatedListNetworkEndpointGroupsRequest request, CallSettings callSettings = null)

Retrieves the list of network endpoint groups and sorts them by zone.

Parameters
NameDescription
requestAggregatedListNetworkEndpointGroupsRequest

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<NetworkEndpointGroupAggregatedList, KeyValuePair<String, NetworkEndpointGroupsScopedList>>

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AttachNetworkEndpoints(AttachNetworkEndpointsNetworkEndpointGroupRequest, CallSettings)

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

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

Parameters
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

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

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

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

Parameters
NameDescription
requestAttachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteNetworkEndpointGroupRequest

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

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

Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.

Parameters
NameDescription
requestDeleteNetworkEndpointGroupRequest

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

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

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

Detach a list of network endpoints from the specified network endpoint group.

Parameters
NameDescription
requestDetachNetworkEndpointsNetworkEndpointGroupRequest

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

public override NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest 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
requestGetNetworkEndpointGroupRequest

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

public override Task<NetworkEndpointGroup> GetAsync(GetNetworkEndpointGroupRequest 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
requestGetNetworkEndpointGroupRequest

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

public override Operation<Operation, Operation> Insert(InsertNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertNetworkEndpointGroupRequest

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

public override async Task<Operation<Operation, Operation>> InsertAsync(InsertNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Creates a network endpoint group in the specified project using the parameters that are included in the request.

Parameters
NameDescription
requestInsertNetworkEndpointGroupRequest

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

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

Retrieves the list of network endpoint groups that are located in the specified project and zone.

Parameters
NameDescription
requestListNetworkEndpointGroupsRequest

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

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

Retrieves the list of network endpoint groups that are located in the specified project and zone.

Parameters
NameDescription
requestListNetworkEndpointGroupsRequest

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

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

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

Lists the network endpoints in the specified network endpoint group.

Parameters
NameDescription
requestListNetworkEndpointsNetworkEndpointGroupsRequest

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

TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsNetworkEndpointGroupRequest

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<TestPermissionsResponse>

A Task containing the RPC response.

Overrides