3.8.0-rc 3.7.0 (latest) 3.6.0 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

### [DataTransferServiceClient](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceClient)

DataTransferService is the service for the Data Transfer API.

### [DataTransferServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnection)

The [`DataTransferServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnection) object for [`DataTransferServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceClient).

### [DataTransferServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnectionIdempotencyPolicy)

### [DataTransferServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceLimitedErrorCountRetryPolicy)

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

### [DataTransferServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceLimitedTimeRetryPolicy)

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

### [DataTransferServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceRetryPolicy)

The retry policy for [`DataTransferServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnection).

### [HubServiceClient](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceClient)

Network Connectivity Center is a hub-and-spoke abstraction for network connectivity management in Google Cloud.

### [HubServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnection)

The [`HubServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnection) object for [`HubServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceClient).

### [HubServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnectionIdempotencyPolicy)

### [HubServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceLimitedErrorCountRetryPolicy)

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

### [HubServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceLimitedTimeRetryPolicy)

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

### [HubServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceRetryPolicy)

The retry policy for [`HubServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnection).

### [PolicyBasedRoutingServiceClient](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceClient)

Policy-Based Routing allows GCP customers to specify flexibile routing policies for Layer 4 traffic traversing through the connected service.

### [PolicyBasedRoutingServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnection)

The [`PolicyBasedRoutingServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnection) object for [`PolicyBasedRoutingServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceClient).

### [PolicyBasedRoutingServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnectionIdempotencyPolicy)

### [PolicyBasedRoutingServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceLimitedErrorCountRetryPolicy)

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

### [PolicyBasedRoutingServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceLimitedTimeRetryPolicy)

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

### [PolicyBasedRoutingServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceRetryPolicy)

The retry policy for [`PolicyBasedRoutingServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnection).

## Structs

### [DataTransferServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceBackoffPolicyOption)

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.

### [DataTransferServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnectionIdempotencyPolicyOption)

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.

### [DataTransferServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServicePollingPolicyOption)

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.

### [DataTransferServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceRetryPolicyOption)

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.

### [HubServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceBackoffPolicyOption)

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.

### [HubServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnectionIdempotencyPolicyOption)

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.

### [HubServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServicePollingPolicyOption)

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.

### [HubServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceRetryPolicyOption)

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.

### [PolicyBasedRoutingServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceBackoffPolicyOption)

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.

### [PolicyBasedRoutingServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnectionIdempotencyPolicyOption)

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.

### [PolicyBasedRoutingServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServicePollingPolicyOption)

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.

### [PolicyBasedRoutingServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/structgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceRetryPolicyOption)

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

### MakeDataTransferServiceConnection(Options)

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

The optional `options` argument may be used to configure aspects of the returned [`DataTransferServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnection). 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::networkconnectivity_v1::DataTransferServicePolicyOptionList`](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 [`DataTransferServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1DataTransferServiceConnection) created by this function. |

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

### MakeDefaultDataTransferServiceConnectionIdempotencyPolicy()

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

### MakeHubServiceConnection(Options)

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

The optional `options` argument may be used to configure aspects of the returned [`HubServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnection). 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::networkconnectivity_v1::HubServicePolicyOptionList`](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 [`HubServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1HubServiceConnection) created by this function. |

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

### MakeDefaultHubServiceConnectionIdempotencyPolicy()

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

### MakePolicyBasedRoutingServiceConnection(Options)

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

The optional `options` argument may be used to configure aspects of the returned [`PolicyBasedRoutingServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnection). 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::networkconnectivity_v1::PolicyBasedRoutingServicePolicyOptionList`](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 [`PolicyBasedRoutingServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/networkconnectivity/latest/classgoogle_1_1cloud_1_1networkconnectivity__v1_1_1PolicyBasedRoutingServiceConnection) created by this function. |

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

### MakeDefaultPolicyBasedRoutingServiceConnectionIdempotencyPolicy()

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