Namespace google::cloud::compute_vpn_tunnels_v1 (2.26.0)

Classes

VpnTunnelsClient

Service for the vpnTunnels resource.

VpnTunnelsConnection

The VpnTunnelsConnection object for VpnTunnelsClient.

VpnTunnelsConnectionIdempotencyPolicy

VpnTunnelsLimitedErrorCountRetryPolicy

A retry policy for VpnTunnelsConnection based on counting errors.

VpnTunnelsLimitedTimeRetryPolicy

A retry policy for VpnTunnelsConnection based on elapsed time.

VpnTunnelsRetryPolicy

The retry policy for VpnTunnelsConnection.

Structs

VpnTunnelsBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

VpnTunnelsConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

VpnTunnelsPollingPolicyOption

Use with google::cloud::Options to configure the long-running operations polling policy.

VpnTunnelsRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeDefaultVpnTunnelsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< VpnTunnelsConnectionIdempotencyPolicy >

MakeVpnTunnelsConnectionRest(Options)

A factory function to construct an object of type VpnTunnelsConnection that uses REST over HTTP as transport in lieu of gRPC.

REST transport should only be used for services that do not support gRPC or if the existing network configuration precludes using gRPC.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of VpnTunnelsClient.

The optional options argument may be used to configure aspects of the returned VpnTunnelsConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the VpnTunnelsConnection created by this function.

Returns
Type Description
std::shared_ptr< VpnTunnelsConnection >