Namespace google::cloud::compute_projects_v1 (2.34.0-rc)

Classes

ProjectsClient

Service for the projects resource.

ProjectsConnection

The ProjectsConnection object for ProjectsClient.

ProjectsConnectionIdempotencyPolicy

ProjectsLimitedErrorCountRetryPolicy

A retry policy for ProjectsConnection based on counting errors.

ProjectsLimitedTimeRetryPolicy

A retry policy for ProjectsConnection based on elapsed time.

ProjectsRetryPolicy

The retry policy for ProjectsConnection.

Structs

ProjectsBackoffPolicyOption

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

ProjectsConnectionIdempotencyPolicyOption

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

ProjectsPollingPolicyOption

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

ProjectsRetryPolicyOption

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

Functions

MakeDefaultProjectsConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< ProjectsConnectionIdempotencyPolicy >

MakeProjectsConnectionRest(Options)

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

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

Parameter
Name Description
options

(optional) Configure the ProjectsConnection created by this function.

Returns
Type Description
std::shared_ptr< ProjectsConnection >