public sealed class TargetVpnGatewaysClientImpl : TargetVpnGatewaysClientTargetVpnGateways client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The TargetVpnGateways API.
Constructors
TargetVpnGatewaysClientImpl(TargetVpnGateways.TargetVpnGatewaysClient, TargetVpnGatewaysSettings, ILogger)
public TargetVpnGatewaysClientImpl(TargetVpnGateways.TargetVpnGatewaysClient grpcClient, TargetVpnGatewaysSettings settings, ILogger logger)Constructs a client wrapper for the TargetVpnGateways service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TargetVpnGateways.TargetVpnGatewaysClientThe underlying gRPC client. |
settings |
TargetVpnGatewaysSettingsThe base TargetVpnGatewaysSettings used within this client. |
logger |
ILoggerOptional 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 TargetVpnGateways.TargetVpnGatewaysClient GrpcClient { get; }The underlying gRPC TargetVpnGateways client
| Property Value | |
|---|---|
| Type | Description |
TargetVpnGateways.TargetVpnGatewaysClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AggregatedList(AggregatedListTargetVpnGatewaysRequest, CallSettings)
public override PagedEnumerable<TargetVpnGatewayAggregatedList, KeyValuePair<string, TargetVpnGatewaysScopedList>> AggregatedList(AggregatedListTargetVpnGatewaysRequest request, CallSettings callSettings = null)Retrieves an aggregated list of target VPN gateways.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListTargetVpnGatewaysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<TargetVpnGatewayAggregatedList, KeyValuePair<String, TargetVpnGatewaysScopedList>> |
A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListTargetVpnGatewaysRequest, CallSettings)
public override PagedAsyncEnumerable<TargetVpnGatewayAggregatedList, KeyValuePair<string, TargetVpnGatewaysScopedList>> AggregatedListAsync(AggregatedListTargetVpnGatewaysRequest request, CallSettings callSettings = null)Retrieves an aggregated list of target VPN gateways.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListTargetVpnGatewaysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<TargetVpnGatewayAggregatedList, KeyValuePair<String, TargetVpnGatewaysScopedList>> |
A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteTargetVpnGatewayRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteTargetVpnGatewayRequest request, CallSettings callSettings = null)Deletes the specified target VPN gateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
DeleteAsync(DeleteTargetVpnGatewayRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetVpnGatewayRequest request, CallSettings callSettings = null)Deletes the specified target VPN gateway.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
Get(GetTargetVpnGatewayRequest, CallSettings)
public override TargetVpnGateway Get(GetTargetVpnGatewayRequest request, CallSettings callSettings = null)Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TargetVpnGateway |
The RPC response. |
GetAsync(GetTargetVpnGatewayRequest, CallSettings)
public override Task<TargetVpnGateway> GetAsync(GetTargetVpnGatewayRequest request, CallSettings callSettings = null)Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TargetVpnGateway> |
A Task containing the RPC response. |
Insert(InsertTargetVpnGatewayRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertTargetVpnGatewayRequest request, CallSettings callSettings = null)Creates a target VPN gateway in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Operation, Operation> |
The RPC response. |
InsertAsync(InsertTargetVpnGatewayRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertTargetVpnGatewayRequest request, CallSettings callSettings = null)Creates a target VPN gateway in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertTargetVpnGatewayRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
List(ListTargetVpnGatewaysRequest, CallSettings)
public override PagedEnumerable<TargetVpnGatewayList, TargetVpnGateway> List(ListTargetVpnGatewaysRequest request, CallSettings callSettings = null)Retrieves a list of target VPN gateways available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTargetVpnGatewaysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<TargetVpnGatewayList, TargetVpnGateway> |
A pageable sequence of TargetVpnGateway resources. |
ListAsync(ListTargetVpnGatewaysRequest, CallSettings)
public override PagedAsyncEnumerable<TargetVpnGatewayList, TargetVpnGateway> ListAsync(ListTargetVpnGatewaysRequest request, CallSettings callSettings = null)Retrieves a list of target VPN gateways available to the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListTargetVpnGatewaysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<TargetVpnGatewayList, TargetVpnGateway> |
A pageable asynchronous sequence of TargetVpnGateway resources. |