Classes
DiskTypesClient
Service for the diskTypes resource.
DiskTypesConnection
The DiskTypesConnection
object for DiskTypesClient
.
DiskTypesConnectionIdempotencyPolicy
DiskTypesLimitedErrorCountRetryPolicy
A retry policy for DiskTypesConnection
based on counting errors.
DiskTypesLimitedTimeRetryPolicy
A retry policy for DiskTypesConnection
based on elapsed time.
DiskTypesRetryPolicy
The retry policy for DiskTypesConnection
.
Structs
DiskTypesBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
DiskTypesConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
DiskTypesRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDefaultDiskTypesConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< DiskTypesConnectionIdempotencyPolicy > |
MakeDiskTypesConnectionRest(Options)
A factory function to construct an object of type DiskTypesConnection
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 DiskTypesClient.
The optional options
argument may be used to configure aspects of the returned DiskTypesConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< DiskTypesConnection > |