Class VpnTunnelsClientImpl (1.3.0)

public sealed class VpnTunnelsClientImpl : VpnTunnelsClient

VpnTunnels client wrapper implementation, for convenient use.

Inheritance

Object > VpnTunnelsClient > VpnTunnelsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
grpcClientVpnTunnels.VpnTunnelsClient

The underlying gRPC client.

settingsVpnTunnelsSettings

The base VpnTunnelsSettings used within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override VpnTunnels.VpnTunnelsClient GrpcClient { get; }

The underlying gRPC VpnTunnels client

Property Value
TypeDescription
VpnTunnels.VpnTunnelsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

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
NameDescription
requestAggregatedListVpnTunnelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<VpnTunnelAggregatedList, KeyValuePair<String, VpnTunnelsScopedList>>

A pageable sequence of KeyValuePair<TKey,TValue> resources.

Overrides

AggregatedListAsync(AggregatedListVpnTunnelsRequest, CallSettings)

public override PagedAsyncEnumerable<VpnTunnelAggregatedList, KeyValuePair<string, VpnTunnelsScopedList>> AggregatedListAsync(AggregatedListVpnTunnelsRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of VPN tunnels.

Parameters
NameDescription
requestAggregatedListVpnTunnelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<VpnTunnelAggregatedList, KeyValuePair<String, VpnTunnelsScopedList>>

A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources.

Overrides

Delete(DeleteVpnTunnelRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteVpnTunnelRequest request, CallSettings callSettings = null)

Deletes the specified VpnTunnel resource.

Parameters
NameDescription
requestDeleteVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteVpnTunnelRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteVpnTunnelRequest request, CallSettings callSettings = null)

Deletes the specified VpnTunnel resource.

Parameters
NameDescription
requestDeleteVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

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
NameDescription
requestGetVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
VpnTunnel

The RPC response.

Overrides

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
NameDescription
requestGetVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<VpnTunnel>

A Task containing the RPC response.

Overrides

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
NameDescription
requestInsertVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

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
NameDescription
requestInsertVpnTunnelRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

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
NameDescription
requestListVpnTunnelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<VpnTunnelList, VpnTunnel>

A pageable sequence of VpnTunnel resources.

Overrides

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
NameDescription
requestListVpnTunnelsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<VpnTunnelList, VpnTunnel>

A pageable asynchronous sequence of VpnTunnel resources.

Overrides