Namespace google::cloud::compute_snapshots_v1 (2.16.0)

Classes

SnapshotsClient

Service for the snapshots resource.

SnapshotsConnection

The SnapshotsConnection object for SnapshotsClient.

SnapshotsConnectionIdempotencyPolicy

SnapshotsLimitedErrorCountRetryPolicy

A retry policy for SnapshotsConnection based on counting errors.

SnapshotsLimitedTimeRetryPolicy

A retry policy for SnapshotsConnection based on elapsed time.

SnapshotsRetryPolicy

The retry policy for SnapshotsConnection.

Structs

SnapshotsBackoffPolicyOption

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

SnapshotsConnectionIdempotencyPolicyOption

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

SnapshotsPollingPolicyOption

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

SnapshotsRetryPolicyOption

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

Functions

MakeDefaultSnapshotsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< SnapshotsConnectionIdempotencyPolicy >

MakeSnapshotsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the SnapshotsConnection created by this function.

Returns
Type Description
std::shared_ptr< SnapshotsConnection >

Type Aliases

SnapshotsPolicyOptionList

Alias Of: OptionList< SnapshotsRetryPolicyOption, SnapshotsBackoffPolicyOption, SnapshotsPollingPolicyOption, SnapshotsConnectionIdempotencyPolicyOption >

The options applicable to Snapshots.