Namespace google::cloud::compute_machine_types_v1 (2.16.0)

Classes

MachineTypesClient

Service for the machineTypes resource.

MachineTypesConnection

The MachineTypesConnection object for MachineTypesClient.

MachineTypesConnectionIdempotencyPolicy

MachineTypesLimitedErrorCountRetryPolicy

A retry policy for MachineTypesConnection based on counting errors.

MachineTypesLimitedTimeRetryPolicy

A retry policy for MachineTypesConnection based on elapsed time.

MachineTypesRetryPolicy

The retry policy for MachineTypesConnection.

Structs

MachineTypesBackoffPolicyOption

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

MachineTypesConnectionIdempotencyPolicyOption

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

MachineTypesRetryPolicyOption

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

Functions

MakeDefaultMachineTypesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< MachineTypesConnectionIdempotencyPolicy >

MakeMachineTypesConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the MachineTypesConnection created by this function.

Returns
Type Description
std::shared_ptr< MachineTypesConnection >

Type Aliases

MachineTypesPolicyOptionList

Alias Of: OptionList< MachineTypesRetryPolicyOption, MachineTypesBackoffPolicyOption, MachineTypesConnectionIdempotencyPolicyOption >

The options applicable to MachineTypes.