Namespace google::cloud::compute_network_attachments_v1 (2.17.0)

Classes

NetworkAttachmentsClient

Service for the networkAttachments resource.

NetworkAttachmentsConnection

The NetworkAttachmentsConnection object for NetworkAttachmentsClient.

NetworkAttachmentsConnectionIdempotencyPolicy

NetworkAttachmentsLimitedErrorCountRetryPolicy

A retry policy for NetworkAttachmentsConnection based on counting errors.

NetworkAttachmentsLimitedTimeRetryPolicy

A retry policy for NetworkAttachmentsConnection based on elapsed time.

NetworkAttachmentsRetryPolicy

The retry policy for NetworkAttachmentsConnection.

Structs

NetworkAttachmentsBackoffPolicyOption

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

NetworkAttachmentsConnectionIdempotencyPolicyOption

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

NetworkAttachmentsPollingPolicyOption

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

NetworkAttachmentsRetryPolicyOption

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

Functions

MakeDefaultNetworkAttachmentsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< NetworkAttachmentsConnectionIdempotencyPolicy >

MakeNetworkAttachmentsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the NetworkAttachmentsConnection created by this function.

Returns
Type Description
std::shared_ptr< NetworkAttachmentsConnection >

Type Aliases

NetworkAttachmentsPolicyOptionList

Alias Of: OptionList< NetworkAttachmentsRetryPolicyOption, NetworkAttachmentsBackoffPolicyOption, NetworkAttachmentsPollingPolicyOption, NetworkAttachmentsConnectionIdempotencyPolicyOption >

The options applicable to NetworkAttachments.