Namespace google::cloud::compute_disks_v1 (2.30.0)

Classes

DisksClient

Service for the disks resource.

DisksConnection

The DisksConnection object for DisksClient.

DisksConnectionIdempotencyPolicy

DisksLimitedErrorCountRetryPolicy

A retry policy for DisksConnection based on counting errors.

DisksLimitedTimeRetryPolicy

A retry policy for DisksConnection based on elapsed time.

DisksRetryPolicy

The retry policy for DisksConnection.

Structs

DisksBackoffPolicyOption

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

DisksConnectionIdempotencyPolicyOption

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

DisksPollingPolicyOption

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

DisksRetryPolicyOption

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

Functions

MakeDefaultDisksConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< DisksConnectionIdempotencyPolicy >

MakeDisksConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the DisksConnection created by this function.

Returns
Type Description
std::shared_ptr< DisksConnection >