Namespace google::cloud::compute_accelerator_types_v1 (2.20.0)

Classes

AcceleratorTypesClient

Service for the acceleratorTypes resource.

AcceleratorTypesConnection

The AcceleratorTypesConnection object for AcceleratorTypesClient.

AcceleratorTypesConnectionIdempotencyPolicy

AcceleratorTypesLimitedErrorCountRetryPolicy

A retry policy for AcceleratorTypesConnection based on counting errors.

AcceleratorTypesLimitedTimeRetryPolicy

A retry policy for AcceleratorTypesConnection based on elapsed time.

AcceleratorTypesRetryPolicy

The retry policy for AcceleratorTypesConnection.

Structs

AcceleratorTypesBackoffPolicyOption

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

AcceleratorTypesConnectionIdempotencyPolicyOption

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

AcceleratorTypesRetryPolicyOption

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

Functions

MakeDefaultAcceleratorTypesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< AcceleratorTypesConnectionIdempotencyPolicy >

MakeAcceleratorTypesConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the AcceleratorTypesConnection created by this function.

Returns
Type Description
std::shared_ptr< AcceleratorTypesConnection >

Type Aliases

AcceleratorTypesPolicyOptionList

Alias Of: OptionList< AcceleratorTypesRetryPolicyOption, AcceleratorTypesBackoffPolicyOption, AcceleratorTypesConnectionIdempotencyPolicyOption >

The options applicable to AcceleratorTypes.