public sealed class NetworkEndpointGroupsClientImpl : NetworkEndpointGroupsClient
Reference documentation and code samples for the Compute Engine v1 API class NetworkEndpointGroupsClientImpl.
NetworkEndpointGroups client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NetworkEndpointGroups API.
Constructors
NetworkEndpointGroupsClientImpl(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 | |
---|---|
Name | Description |
grpcClient | NetworkEndpointGroupsNetworkEndpointGroupsClient The underlying gRPC client. |
settings | NetworkEndpointGroupsSettings The base NetworkEndpointGroupsSettings 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 |
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DetachNetworkEndpointsOperationsClient
public override OperationsClient DetachNetworkEndpointsOperationsClient { get; }
The long-running operations client for DetachNetworkEndpoints
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override NetworkEndpointGroups.NetworkEndpointGroupsClient GrpcClient { get; }
The underlying gRPC NetworkEndpointGroups client
Property Value | |
---|---|
Type | Description |
NetworkEndpointGroupsNetworkEndpointGroupsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest 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 |
PagedEnumerableNetworkEndpointGroupAggregatedListKeyValuePairstringNetworkEndpointGroupsScopedList | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
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 | |
---|---|
Name | Description |
request | AggregatedListNetworkEndpointGroupsRequest 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 |
PagedAsyncEnumerableNetworkEndpointGroupAggregatedListKeyValuePairstringNetworkEndpointGroupsScopedList | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
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 | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest 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. |
AttachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> AttachNetworkEndpointsAsync(AttachNetworkEndpointsNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Attach a list of network endpoints to the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | AttachNetworkEndpointsNetworkEndpointGroupRequest 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. |
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 | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest 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. |
DeleteAsync(DeleteNetworkEndpointGroupRequest, CallSettings)
public override 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 | |
---|---|
Name | Description |
request | DeleteNetworkEndpointGroupRequest 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. |
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 | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest 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. |
DetachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DetachNetworkEndpointsAsync(DetachNetworkEndpointsNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Detach a list of network endpoints from the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | DetachNetworkEndpointsNetworkEndpointGroupRequest 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. |
Get(GetNetworkEndpointGroupRequest, CallSettings)
public override NetworkEndpointGroup Get(GetNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest 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. |
GetAsync(GetNetworkEndpointGroupRequest, CallSettings)
public override Task<NetworkEndpointGroup> GetAsync(GetNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Returns the specified network endpoint group.
Parameters | |
---|---|
Name | Description |
request | GetNetworkEndpointGroupRequest 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. |
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 | |
---|---|
Name | Description |
request | InsertNetworkEndpointGroupRequest 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. |
InsertAsync(InsertNetworkEndpointGroupRequest, CallSettings)
public override 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 | |
---|---|
Name | Description |
request | InsertNetworkEndpointGroupRequest 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. |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest 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. |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointGroupsRequest 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. |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest 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. |
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 | |
---|---|
Name | Description |
request | ListNetworkEndpointsNetworkEndpointGroupsRequest 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. |
TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest 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 |
TestPermissionsResponse | The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsNetworkEndpointGroupRequest 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 |
TaskTestPermissionsResponse | A Task containing the RPC response. |