Namespace google::cloud::compute_snapshot_settings_v1 (2.34.0-rc)

Classes

SnapshotSettingsClient

Service for the snapshotSettings resource.

SnapshotSettingsConnection

The SnapshotSettingsConnection object for SnapshotSettingsClient.

SnapshotSettingsConnectionIdempotencyPolicy

SnapshotSettingsLimitedErrorCountRetryPolicy

A retry policy for SnapshotSettingsConnection based on counting errors.

SnapshotSettingsLimitedTimeRetryPolicy

A retry policy for SnapshotSettingsConnection based on elapsed time.

SnapshotSettingsRetryPolicy

The retry policy for SnapshotSettingsConnection.

Structs

SnapshotSettingsBackoffPolicyOption

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

SnapshotSettingsConnectionIdempotencyPolicyOption

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

SnapshotSettingsPollingPolicyOption

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

SnapshotSettingsRetryPolicyOption

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

Functions

MakeDefaultSnapshotSettingsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< SnapshotSettingsConnectionIdempotencyPolicy >

MakeSnapshotSettingsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the SnapshotSettingsConnection created by this function.

Returns
Type Description
std::shared_ptr< SnapshotSettingsConnection >