public sealed class VpnTunnelsClientImpl : VpnTunnelsClientVpnTunnels client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The VpnTunnels API.
Constructors
VpnTunnelsClientImpl(VpnTunnels.VpnTunnelsClient, VpnTunnelsSettings)
public VpnTunnelsClientImpl(VpnTunnels.VpnTunnelsClient grpcClient, VpnTunnelsSettings settings)Constructs a client wrapper for the VpnTunnels service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
VpnTunnels.VpnTunnelsClientThe underlying gRPC client. |
settings |
VpnTunnelsSettingsThe base VpnTunnelsSettings used 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 VpnTunnels.VpnTunnelsClient GrpcClient { get; }The underlying gRPC VpnTunnels client
| Property Value | |
|---|---|
| Type | Description |
VpnTunnels.VpnTunnelsClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AggregatedList(AggregatedListVpnTunnelsRequest, CallSettings)
public override PagedEnumerable<VpnTunnelAggregatedList, KeyValuePair<string, VpnTunnelsScopedList>> AggregatedList(AggregatedListVpnTunnelsRequest request, CallSettings callSettings = null)Retrieves an aggregated list of VPN tunnels.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListVpnTunnelsRequestThe 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<VpnTunnelAggregatedList, KeyValuePair<String, VpnTunnelsScopedList>> |
A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListVpnTunnelsRequest, CallSettings)
public override PagedAsyncEnumerable<VpnTunnelAggregatedList, KeyValuePair<string, VpnTunnelsScopedList>> AggregatedListAsync(AggregatedListVpnTunnelsRequest request, CallSettings callSettings = null)Retrieves an aggregated list of VPN tunnels.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListVpnTunnelsRequestThe 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<VpnTunnelAggregatedList, KeyValuePair<String, VpnTunnelsScopedList>> |
A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteVpnTunnelRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteVpnTunnelRequest request, CallSettings callSettings = null)Deletes the specified VpnTunnel resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVpnTunnelRequestThe 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(DeleteVpnTunnelRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteVpnTunnelRequest request, CallSettings callSettings = null)Deletes the specified VpnTunnel resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVpnTunnelRequestThe 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(GetVpnTunnelRequest, CallSettings)
public override VpnTunnel Get(GetVpnTunnelRequest request, CallSettings callSettings = null)Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVpnTunnelRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
VpnTunnel |
The RPC response. |
GetAsync(GetVpnTunnelRequest, CallSettings)
public override Task<VpnTunnel> GetAsync(GetVpnTunnelRequest request, CallSettings callSettings = null)Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVpnTunnelRequestThe 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<VpnTunnel> |
A Task containing the RPC response. |
Insert(InsertVpnTunnelRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertVpnTunnelRequest request, CallSettings callSettings = null)Creates a VpnTunnel resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertVpnTunnelRequestThe 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(InsertVpnTunnelRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertVpnTunnelRequest request, CallSettings callSettings = null)Creates a VpnTunnel resource in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertVpnTunnelRequestThe 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(ListVpnTunnelsRequest, CallSettings)
public override PagedEnumerable<VpnTunnelList, VpnTunnel> List(ListVpnTunnelsRequest request, CallSettings callSettings = null)Retrieves a list of VpnTunnel resources contained in the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVpnTunnelsRequestThe 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<VpnTunnelList, VpnTunnel> |
A pageable sequence of VpnTunnel resources. |
ListAsync(ListVpnTunnelsRequest, CallSettings)
public override PagedAsyncEnumerable<VpnTunnelList, VpnTunnel> ListAsync(ListVpnTunnelsRequest request, CallSettings callSettings = null)Retrieves a list of VpnTunnel resources contained in the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVpnTunnelsRequestThe 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<VpnTunnelList, VpnTunnel> |
A pageable asynchronous sequence of VpnTunnel resources. |