Namespace google::cloud::compute_instance_templates_v1 (2.30.0)

Classes

InstanceTemplatesClient

Service for the instanceTemplates resource.

InstanceTemplatesConnection

The InstanceTemplatesConnection object for InstanceTemplatesClient.

InstanceTemplatesConnectionIdempotencyPolicy

InstanceTemplatesLimitedErrorCountRetryPolicy

A retry policy for InstanceTemplatesConnection based on counting errors.

InstanceTemplatesLimitedTimeRetryPolicy

A retry policy for InstanceTemplatesConnection based on elapsed time.

InstanceTemplatesRetryPolicy

The retry policy for InstanceTemplatesConnection.

Structs

InstanceTemplatesBackoffPolicyOption

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

InstanceTemplatesConnectionIdempotencyPolicyOption

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

InstanceTemplatesPollingPolicyOption

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

InstanceTemplatesRetryPolicyOption

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

Functions

MakeDefaultInstanceTemplatesConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< InstanceTemplatesConnectionIdempotencyPolicy >

MakeInstanceTemplatesConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the InstanceTemplatesConnection created by this function.

Returns
Type Description
std::shared_ptr< InstanceTemplatesConnection >