# Namespace google::cloud::run_v2 (3.7.0-rc)

3.7.0-rc 3.6.0 (latest) 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 2.14.0 2.13.0 2.12.0 2.11.0

## Classes

### [ExecutionsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsClient)

Cloud Run Execution Control Plane API.

### [ExecutionsConnection](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection)

The [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection) object for [`ExecutionsClient`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsClient).

### [ExecutionsConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnectionIdempotencyPolicy)

### [ExecutionsLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsLimitedErrorCountRetryPolicy)

A retry policy for [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection) based on counting errors.

### [ExecutionsLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsLimitedTimeRetryPolicy)

A retry policy for [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection) based on elapsed time.

### [ExecutionsRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsRetryPolicy)

The retry policy for [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection).

### [JobsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsClient)

Cloud Run Job Control Plane API.

### [JobsConnection](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection)

The [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection) object for [`JobsClient`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsClient).

### [JobsConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnectionIdempotencyPolicy)

### [JobsLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsLimitedErrorCountRetryPolicy)

A retry policy for [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection) based on counting errors.

### [JobsLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsLimitedTimeRetryPolicy)

A retry policy for [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection) based on elapsed time.

### [JobsRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsRetryPolicy)

The retry policy for [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection).

### [RevisionsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsClient)

Cloud Run Revision Control Plane API.

### [RevisionsConnection](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection)

The [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection) object for [`RevisionsClient`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsClient).

### [RevisionsConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnectionIdempotencyPolicy)

### [RevisionsLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsLimitedErrorCountRetryPolicy)

A retry policy for [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection) based on counting errors.

### [RevisionsLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsLimitedTimeRetryPolicy)

A retry policy for [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection) based on elapsed time.

### [RevisionsRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsRetryPolicy)

The retry policy for [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection).

### [ServicesClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesClient)

Cloud Run Service Control Plane API.

### [ServicesConnection](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection)

The [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection) object for [`ServicesClient`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesClient).

### [ServicesConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnectionIdempotencyPolicy)

### [ServicesLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesLimitedErrorCountRetryPolicy)

A retry policy for [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection) based on counting errors.

### [ServicesLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesLimitedTimeRetryPolicy)

A retry policy for [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection) based on elapsed time.

### [ServicesRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesRetryPolicy)

The retry policy for [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection).

### [TasksClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksClient)

Cloud Run Task Control Plane API.

### [TasksConnection](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection)

The [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection) object for [`TasksClient`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksClient).

### [TasksConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnectionIdempotencyPolicy)

### [TasksLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksLimitedErrorCountRetryPolicy)

A retry policy for [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection) based on counting errors.

### [TasksLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksLimitedTimeRetryPolicy)

A retry policy for [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection) based on elapsed time.

### [TasksRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksRetryPolicy)

The retry policy for [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection).

## Structs

### [ExecutionsBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ExecutionsBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ExecutionsConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ExecutionsPollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ExecutionsPollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [ExecutionsRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ExecutionsRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [JobsBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1JobsBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [JobsConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1JobsConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [JobsPollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1JobsPollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [JobsRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1JobsRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [RevisionsBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1RevisionsBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [RevisionsConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [RevisionsPollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1RevisionsPollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [RevisionsRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1RevisionsRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [ServicesBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ServicesBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ServicesConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ServicesConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ServicesPollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ServicesPollingPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the long-running operations polling policy.

### [ServicesRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1ServicesRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [TasksBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1TasksBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [TasksConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1TasksConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [TasksRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/run/latest/structgoogle_1_1cloud_1_1run__v2_1_1TasksRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

## Functions

### MakeExecutionsConnection(Options)

A factory function to construct an object of type [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ExecutionsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsClient).

The optional `options` argument may be used to configure aspects of the returned [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::run_v2::ExecutionsPolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ExecutionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ExecutionsConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ExecutionsConnection >` |   |

### MakeDefaultExecutionsConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ExecutionsConnectionIdempotencyPolicy >` |   |

### MakeJobsConnection(Options)

A factory function to construct an object of type [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [JobsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsClient).

The optional `options` argument may be used to configure aspects of the returned [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::run_v2::JobsPolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`JobsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1JobsConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< JobsConnection >` |   |

### MakeDefaultJobsConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< JobsConnectionIdempotencyPolicy >` |   |

### MakeRevisionsConnection(Options)

A factory function to construct an object of type [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [RevisionsClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsClient).

The optional `options` argument may be used to configure aspects of the returned [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::run_v2::RevisionsPolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`RevisionsConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1RevisionsConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< RevisionsConnection >` |   |

### MakeDefaultRevisionsConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< RevisionsConnectionIdempotencyPolicy >` |   |

### MakeServicesConnection(Options)

A factory function to construct an object of type [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ServicesClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesClient).

The optional `options` argument may be used to configure aspects of the returned [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::run_v2::ServicesPolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ServicesConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1ServicesConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ServicesConnection >` |   |

### MakeDefaultServicesConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ServicesConnectionIdempotencyPolicy >` |   |

### MakeTasksConnection(Options)

A factory function to construct an object of type [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [TasksClient](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksClient).

The optional `options` argument may be used to configure aspects of the returned [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::run_v2::TasksPolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`TasksConnection`](https://docs.cloud.google.com/cpp/docs/reference/run/latest/classgoogle_1_1cloud_1_1run__v2_1_1TasksConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< TasksConnection >` |   |

### MakeDefaultTasksConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< TasksConnectionIdempotencyPolicy >` |   |