public sealed class RegionNetworkEndpointGroupsClientImpl : RegionNetworkEndpointGroupsClient
RegionNetworkEndpointGroups client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionNetworkEndpointGroups API.
Constructors
RegionNetworkEndpointGroupsClientImpl(RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient, RegionNetworkEndpointGroupsSettings, ILogger)
public RegionNetworkEndpointGroupsClientImpl(RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient grpcClient, RegionNetworkEndpointGroupsSettings settings, ILogger logger)
Constructs a client wrapper for the RegionNetworkEndpointGroups service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient The underlying gRPC client. |
settings | RegionNetworkEndpointGroupsSettings The base RegionNetworkEndpointGroupsSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient GrpcClient { get; }
The underlying gRPC RegionNetworkEndpointGroups client
Property Value | |
---|---|
Type | Description |
RegionNetworkEndpointGroups.RegionNetworkEndpointGroupsClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteRegionNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkEndpointGroupRequest 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(DeleteRegionNetworkEndpointGroupRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionNetworkEndpointGroupRequest request, CallSettings callSettings = null)
Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionNetworkEndpointGroupRequest 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(GetRegionNetworkEndpointGroupRequest, CallSettings)
public override NetworkEndpointGroup Get(GetRegionNetworkEndpointGroupRequest 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 | GetRegionNetworkEndpointGroupRequest 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(GetRegionNetworkEndpointGroupRequest, CallSettings)
public override Task<NetworkEndpointGroup> GetAsync(GetRegionNetworkEndpointGroupRequest 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 | GetRegionNetworkEndpointGroupRequest 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(InsertRegionNetworkEndpointGroupRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionNetworkEndpointGroupRequest 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 | InsertRegionNetworkEndpointGroupRequest 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(InsertRegionNetworkEndpointGroupRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionNetworkEndpointGroupRequest 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 | InsertRegionNetworkEndpointGroupRequest 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(ListRegionNetworkEndpointGroupsRequest, CallSettings)
public override PagedEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> List(ListRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNetworkEndpointGroupsRequest 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(ListRegionNetworkEndpointGroupsRequest, CallSettings)
public override PagedAsyncEnumerable<NetworkEndpointGroupList, NetworkEndpointGroup> ListAsync(ListRegionNetworkEndpointGroupsRequest request, CallSettings callSettings = null)
Retrieves the list of regional network endpoint groups available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionNetworkEndpointGroupsRequest 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. |