3.14.0-rc 3.13.0 (latest) 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 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

### [AnalyticsServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceClient)

Service for managing \& accessing retail search business metric.

### [AnalyticsServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceConnection)

The [`AnalyticsServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceConnection) object for [`AnalyticsServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceClient).

### [AnalyticsServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceConnectionIdempotencyPolicy)

### [AnalyticsServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceLimitedErrorCountRetryPolicy)

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

### [AnalyticsServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceLimitedTimeRetryPolicy)

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

### [AnalyticsServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceRetryPolicy)

The retry policy for [`AnalyticsServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceConnection).

### [CatalogServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceClient)

Service for managing catalog configuration.

### [CatalogServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnection)

The [`CatalogServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnection) object for [`CatalogServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceClient).

### [CatalogServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnectionIdempotencyPolicy)

### [CatalogServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceLimitedErrorCountRetryPolicy)

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

### [CatalogServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceLimitedTimeRetryPolicy)

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

### [CatalogServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceRetryPolicy)

The retry policy for [`CatalogServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnection).

### [CompletionServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceClient)

Autocomplete service for retail.

### [CompletionServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnection)

The [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnection) object for [`CompletionServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceClient).

### [CompletionServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnectionIdempotencyPolicy)

### [CompletionServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceLimitedErrorCountRetryPolicy)

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

### [CompletionServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceLimitedTimeRetryPolicy)

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

### [CompletionServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceRetryPolicy)

The retry policy for [`CompletionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnection).

### [ControlServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceClient)

Service for modifying Control.

### [ControlServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceConnection)

The [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceConnection) object for [`ControlServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceClient).

### [ControlServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceConnectionIdempotencyPolicy)

### [ControlServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceLimitedErrorCountRetryPolicy)

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

### [ControlServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceLimitedTimeRetryPolicy)

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

### [ControlServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceRetryPolicy)

The retry policy for [`ControlServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceConnection).

### [ModelServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceClient)

Service for performing CRUD operations on models.

### [ModelServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnection)

The [`ModelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnection) object for [`ModelServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceClient).

### [ModelServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnectionIdempotencyPolicy)

### [ModelServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceLimitedErrorCountRetryPolicy)

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

### [ModelServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceLimitedTimeRetryPolicy)

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

### [ModelServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceRetryPolicy)

The retry policy for [`ModelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnection).

### [PredictionServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceClient)

Service for making recommendation prediction.

### [PredictionServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnection)

The [`PredictionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnection) object for [`PredictionServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceClient).

### [PredictionServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnectionIdempotencyPolicy)

### [PredictionServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceLimitedErrorCountRetryPolicy)

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

### [PredictionServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceLimitedTimeRetryPolicy)

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

### [PredictionServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceRetryPolicy)

The retry policy for [`PredictionServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnection).

### [ProductServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceClient)

Service for ingesting [Product](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/cloud/retail/v2/product.proto#L43) information of the customer's website.

### [ProductServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnection)

The [`ProductServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnection) object for [`ProductServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceClient).

### [ProductServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnectionIdempotencyPolicy)

### [ProductServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceLimitedErrorCountRetryPolicy)

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

### [ProductServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceLimitedTimeRetryPolicy)

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

### [ProductServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceRetryPolicy)

The retry policy for [`ProductServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnection).

### [SearchServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceClient)

Service for search.

### [SearchServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnection)

The [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnection) object for [`SearchServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceClient).

### [SearchServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnectionIdempotencyPolicy)

### [SearchServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceLimitedErrorCountRetryPolicy)

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

### [SearchServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceLimitedTimeRetryPolicy)

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

### [SearchServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceRetryPolicy)

The retry policy for [`SearchServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnection).

### [ServingConfigServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceClient)

Service for modifying ServingConfig.

### [ServingConfigServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceConnection)

The [`ServingConfigServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceConnection) object for [`ServingConfigServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceClient).

### [ServingConfigServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceConnectionIdempotencyPolicy)

### [ServingConfigServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceLimitedErrorCountRetryPolicy)

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

### [ServingConfigServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceLimitedTimeRetryPolicy)

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

### [ServingConfigServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceRetryPolicy)

The retry policy for [`ServingConfigServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceConnection).

### [UserEventServiceClient](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceClient)

Service for ingesting end user actions on the customer website.

### [UserEventServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnection)

The [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnection) object for [`UserEventServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceClient).

### [UserEventServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnectionIdempotencyPolicy)

### [UserEventServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceLimitedErrorCountRetryPolicy)

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

### [UserEventServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceLimitedTimeRetryPolicy)

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

### [UserEventServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceRetryPolicy)

The retry policy for [`UserEventServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/classgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnection).

## Structs

### [AnalyticsServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceBackoffPolicyOption)

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.

### [AnalyticsServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceConnectionIdempotencyPolicyOption)

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.

### [AnalyticsServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServicePollingPolicyOption)

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.

### [AnalyticsServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1AnalyticsServiceRetryPolicyOption)

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.

### [CatalogServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceBackoffPolicyOption)

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.

### [CatalogServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnectionIdempotencyPolicyOption)

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.

### [CatalogServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceRetryPolicyOption)

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.

### [CompletionServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceBackoffPolicyOption)

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.

### [CompletionServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnectionIdempotencyPolicyOption)

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.

### [CompletionServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServicePollingPolicyOption)

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.

### [CompletionServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceRetryPolicyOption)

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.

### [ControlServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceBackoffPolicyOption)

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.

### [ControlServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceConnectionIdempotencyPolicyOption)

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.

### [ControlServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ControlServiceRetryPolicyOption)

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.

### [ModelServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceBackoffPolicyOption)

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.

### [ModelServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceConnectionIdempotencyPolicyOption)

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.

### [ModelServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ModelServicePollingPolicyOption)

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.

### [ModelServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ModelServiceRetryPolicyOption)

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.

### [PredictionServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceBackoffPolicyOption)

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.

### [PredictionServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnectionIdempotencyPolicyOption)

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.

### [PredictionServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceRetryPolicyOption)

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.

### [ProductServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceBackoffPolicyOption)

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.

### [ProductServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnectionIdempotencyPolicyOption)

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.

### [ProductServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServicePollingPolicyOption)

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.

### [ProductServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceRetryPolicyOption)

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.

### [SearchServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceBackoffPolicyOption)

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.

### [SearchServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnectionIdempotencyPolicyOption)

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.

### [SearchServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceRetryPolicyOption)

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.

### [ServingConfigServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceBackoffPolicyOption)

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.

### [ServingConfigServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceConnectionIdempotencyPolicyOption)

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.

### [ServingConfigServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1ServingConfigServiceRetryPolicyOption)

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.

### [UserEventServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceBackoffPolicyOption)

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.

### [UserEventServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnectionIdempotencyPolicyOption)

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.

### [UserEventServicePollingPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServicePollingPolicyOption)

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.

### [UserEventServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/retail/latest/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceRetryPolicyOption)

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

### MakeAnalyticsServiceConnection(Options)

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

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

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

### MakeDefaultAnalyticsServiceConnectionIdempotencyPolicy()

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

### MakeCatalogServiceConnection(Options)

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

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

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

### MakeDefaultCatalogServiceConnectionIdempotencyPolicy()

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

### MakeCompletionServiceConnection(Options)

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

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

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

### MakeDefaultCompletionServiceConnectionIdempotencyPolicy()

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

### MakeControlServiceConnection(Options)

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

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

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

### MakeDefaultControlServiceConnectionIdempotencyPolicy()

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

### MakeModelServiceConnection(Options)

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

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

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

### MakeDefaultModelServiceConnectionIdempotencyPolicy()

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

### MakePredictionServiceConnection(Options)

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

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

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

### MakeDefaultPredictionServiceConnectionIdempotencyPolicy()

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

### MakeProductServiceConnection(Options)

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

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

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

### MakeDefaultProductServiceConnectionIdempotencyPolicy()

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

### MakeSearchServiceConnection(Options)

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

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

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

### MakeDefaultSearchServiceConnectionIdempotencyPolicy()

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

### MakeServingConfigServiceConnection(Options)

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

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

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

### MakeDefaultServingConfigServiceConnectionIdempotencyPolicy()

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

### MakeUserEventServiceConnection(Options)

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

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

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

### MakeDefaultUserEventServiceConnectionIdempotencyPolicy()

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