public sealed class NetworkEndpointGroupsClientImpl : NetworkEndpointGroupsClient
NetworkEndpointGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The NetworkEndpointGroups API.
Constructors
NetworkEndpointGroupsClientImpl(NetworkEndpointGroups.NetworkEndpointGroupsClient, NetworkEndpointGroupsSettings)
public NetworkEndpointGroupsClientImpl(NetworkEndpointGroups.NetworkEndpointGroupsClient grpcClient, NetworkEndpointGroupsSettings settings)
Constructs a client wrapper for the NetworkEndpointGroups service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | NetworkEndpointGroups.NetworkEndpointGroupsClient The underlying gRPC client. |
settings | NetworkEndpointGroupsSettings The base NetworkEndpointGroupsSettings used 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 |
NetworkEndpointGroups.NetworkEndpointGroupsClient |
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 |
PagedEnumerable<NetworkEndpointGroupAggregatedList, KeyValuePair<String, NetworkEndpointGroupsScopedList>> | 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 |
PagedAsyncEnumerable<NetworkEndpointGroupAggregatedList, KeyValuePair<String, NetworkEndpointGroupsScopedList>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 | |
---|---|
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. Gets a list of available network endpoint groups by making a list() request.
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 |
Task<NetworkEndpointGroup> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
PagedEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> | 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 |
PagedAsyncEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> | 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 |
PagedEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> | 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 |
PagedAsyncEnumerable<NetworkEndpointGroupsListNetworkEndpoints, NetworkEndpointWithHealthStatus> | 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 |
Task<TestPermissionsResponse> | A Task containing the RPC response. |