Namespace google::cloud::compute_service_attachments_v1 (2.16.0)

Classes

ServiceAttachmentsClient

Service for the serviceAttachments resource.

ServiceAttachmentsConnection

The ServiceAttachmentsConnection object for ServiceAttachmentsClient.

ServiceAttachmentsConnectionIdempotencyPolicy

ServiceAttachmentsLimitedErrorCountRetryPolicy

A retry policy for ServiceAttachmentsConnection based on counting errors.

ServiceAttachmentsLimitedTimeRetryPolicy

A retry policy for ServiceAttachmentsConnection based on elapsed time.

ServiceAttachmentsRetryPolicy

The retry policy for ServiceAttachmentsConnection.

Structs

ServiceAttachmentsBackoffPolicyOption

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

ServiceAttachmentsConnectionIdempotencyPolicyOption

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

ServiceAttachmentsPollingPolicyOption

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

ServiceAttachmentsRetryPolicyOption

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

Functions

MakeDefaultServiceAttachmentsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< ServiceAttachmentsConnectionIdempotencyPolicy >

MakeServiceAttachmentsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the ServiceAttachmentsConnection created by this function.

Returns
Type Description
std::shared_ptr< ServiceAttachmentsConnection >

Type Aliases

ServiceAttachmentsPolicyOptionList

Alias Of: OptionList< ServiceAttachmentsRetryPolicyOption, ServiceAttachmentsBackoffPolicyOption, ServiceAttachmentsPollingPolicyOption, ServiceAttachmentsConnectionIdempotencyPolicyOption >

The options applicable to ServiceAttachments.