Namespace google::cloud::compute_networks_v1 (2.30.0)

Classes

NetworksClient

Service for the networks resource.

NetworksConnection

The NetworksConnection object for NetworksClient.

NetworksConnectionIdempotencyPolicy

NetworksLimitedErrorCountRetryPolicy

A retry policy for NetworksConnection based on counting errors.

NetworksLimitedTimeRetryPolicy

A retry policy for NetworksConnection based on elapsed time.

NetworksRetryPolicy

The retry policy for NetworksConnection.

Structs

NetworksBackoffPolicyOption

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

NetworksConnectionIdempotencyPolicyOption

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

NetworksPollingPolicyOption

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

NetworksRetryPolicyOption

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

Functions

MakeDefaultNetworksConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< NetworksConnectionIdempotencyPolicy >

MakeNetworksConnectionRest(Options)

A factory function to construct an object of type NetworksConnection 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 NetworksClient.

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

Parameter
Name Description
options

(optional) Configure the NetworksConnection created by this function.

Returns
Type Description
std::shared_ptr< NetworksConnection >