This library uses the same mechanism (google::cloud::Options) and the commonoptionsas all other C++ client libraries for its configuration. Some*Optionclasses, which are only used in this library, are documented in this page.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest stable release for the Retail API is version 2.36.0, with 2.37.0-rc as the most current release candidate version.\u003c/p\u003e\n"],["\u003cp\u003eThis page documents the Retail API's configuration options, using the same mechanism and options as other C++ client libraries.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists \u003ccode\u003e*Option\u003c/code\u003e classes specific to this library, which include various classes such as \u003ccode\u003eCatalogServiceRetryPolicyOption\u003c/code\u003e, \u003ccode\u003eCompletionServiceRetryPolicyOption\u003c/code\u003e, and more.\u003c/p\u003e\n"],["\u003cp\u003eThe library provides different types of policy options to be configured, including retry, backoff, connection, and polling policies, for services like Catalog, Completion, Prediction, Product, Search, and User Event services.\u003c/p\u003e\n"],["\u003cp\u003eYou can access documentation for each individual version of the retail API by clicking the associated link.\u003c/p\u003e\n"]]],[],null,["# Retail API Configuration Options (2.13.0)\n\nVersion 2.13.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/retail/latest/group__google-cloud-retail-options)\n- [2.41.0](/cpp/docs/reference/retail/2.41.0/group__google-cloud-retail-options)\n- [2.40.0](/cpp/docs/reference/retail/2.40.0/group__google-cloud-retail-options)\n- [2.39.0](/cpp/docs/reference/retail/2.39.0/group__google-cloud-retail-options)\n- [2.38.0](/cpp/docs/reference/retail/2.38.0/group__google-cloud-retail-options)\n- [2.37.0](/cpp/docs/reference/retail/2.37.0/group__google-cloud-retail-options)\n- [2.36.0](/cpp/docs/reference/retail/2.36.0/group__google-cloud-retail-options)\n- [2.35.0](/cpp/docs/reference/retail/2.35.0/group__google-cloud-retail-options)\n- [2.34.0](/cpp/docs/reference/retail/2.34.0/group__google-cloud-retail-options)\n- [2.33.0](/cpp/docs/reference/retail/2.33.0/group__google-cloud-retail-options)\n- [2.32.0](/cpp/docs/reference/retail/2.32.0/group__google-cloud-retail-options)\n- [2.31.0](/cpp/docs/reference/retail/2.31.0/group__google-cloud-retail-options)\n- [2.30.0](/cpp/docs/reference/retail/2.30.0/group__google-cloud-retail-options)\n- [2.29.0](/cpp/docs/reference/retail/2.29.0/group__google-cloud-retail-options)\n- [2.28.0](/cpp/docs/reference/retail/2.28.0/group__google-cloud-retail-options)\n- [2.27.0](/cpp/docs/reference/retail/2.27.0/group__google-cloud-retail-options)\n- [2.26.0](/cpp/docs/reference/retail/2.26.0/group__google-cloud-retail-options)\n- [2.25.1](/cpp/docs/reference/retail/2.25.1/group__google-cloud-retail-options)\n- [2.24.0](/cpp/docs/reference/retail/2.24.0/group__google-cloud-retail-options)\n- [2.23.0](/cpp/docs/reference/retail/2.23.0/group__google-cloud-retail-options)\n- [2.22.1](/cpp/docs/reference/retail/2.22.1/group__google-cloud-retail-options)\n- [2.21.0](/cpp/docs/reference/retail/2.21.0/group__google-cloud-retail-options)\n- [2.20.0](/cpp/docs/reference/retail/2.20.0/group__google-cloud-retail-options)\n- [2.19.0](/cpp/docs/reference/retail/2.19.0/group__google-cloud-retail-options)\n- [2.18.0](/cpp/docs/reference/retail/2.18.0/group__google-cloud-retail-options)\n- [2.17.0](/cpp/docs/reference/retail/2.17.0/group__google-cloud-retail-options)\n- [2.16.0](/cpp/docs/reference/retail/2.16.0/group__google-cloud-retail-options)\n- [2.15.1](/cpp/docs/reference/retail/2.15.1/group__google-cloud-retail-options)\n- [2.14.0](/cpp/docs/reference/retail/2.14.0/group__google-cloud-retail-options)\n- [2.13.0](/cpp/docs/reference/retail/2.13.0/group__google-cloud-retail-options)\n- [2.12.0](/cpp/docs/reference/retail/2.12.0/group__google-cloud-retail-options)\n- [2.11.0](/cpp/docs/reference/retail/2.11.0/group__google-cloud-retail-options) \n\nRetail API Configuration Options\n================================\n\nThis library uses the same mechanism ([`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html)) and the common [options](https://cloud.google.com/cpp/docs/reference/common/latest/group__options.html) as all other C++ client libraries for its configuration. Some `*Option` classes, which are only used in this library, are documented in this page.\n\n###### See Also\n\n[Client Library Configuration](https://cloud.google.com/cpp/docs/reference/common/latest/group__options.html) - for an overview of client library configuration.\n\n### Classes\n\n- [`google::cloud::retail_v2::CatalogServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::CatalogServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::CatalogServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::CompletionServicePollingPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServicePollingPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::ProductServicePollingPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServicePollingPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::UserEventServicePollingPolicyOption`](/cpp/docs/reference/retail/2.13.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServicePollingPolicyOption)\n\n### Types\n\n- [`CatalogServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`CompletionServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`PredictionServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`ProductServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`SearchServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`UserEventServicePolicyOptionList`](/cpp/docs/reference/retail/2.13.0/namespacegoogle_1_1cloud_1_1retail__v2)"]]