Namespace google::cloud::compute_instant_snapshots_v1 (2.32.0)

Classes

InstantSnapshotsClient

Service for the instantSnapshots resource.

InstantSnapshotsConnection

The InstantSnapshotsConnection object for InstantSnapshotsClient.

InstantSnapshotsConnectionIdempotencyPolicy

InstantSnapshotsLimitedErrorCountRetryPolicy

A retry policy for InstantSnapshotsConnection based on counting errors.

InstantSnapshotsLimitedTimeRetryPolicy

A retry policy for InstantSnapshotsConnection based on elapsed time.

InstantSnapshotsRetryPolicy

The retry policy for InstantSnapshotsConnection.

Structs

InstantSnapshotsBackoffPolicyOption

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

InstantSnapshotsConnectionIdempotencyPolicyOption

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

InstantSnapshotsPollingPolicyOption

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

InstantSnapshotsRetryPolicyOption

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

Functions

MakeDefaultInstantSnapshotsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< InstantSnapshotsConnectionIdempotencyPolicy >

MakeInstantSnapshotsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the InstantSnapshotsConnection created by this function.

Returns
Type Description
std::shared_ptr< InstantSnapshotsConnection >