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\u003eThis page details the configuration options for the Retail API C++ client library, specifically within version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe library uses \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e for configuration, consistent with other C++ client libraries, and provides common options available on the google cloud site.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes a comprehensive list of classes related to retry, backoff, connection, and polling policies for various services, such as Catalog, Completion, Prediction, Product, Search, and UserEvent.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists specific types of services such as CatalogServicePolicyOptionList, CompletionServicePolicyOptionList, and others that are available to use.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the Retail API are documented and linked, with 2.37.0-rc being the latest, and then descending in order all the way to 2.11.0.\u003c/p\u003e\n"]]],[],null,["# Retail API Configuration Options (2.11.0)\n\nVersion 2.11.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.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::CatalogServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::CatalogServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CatalogServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::CompletionServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::CompletionServicePollingPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1CompletionServicePollingPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::PredictionServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1PredictionServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::ProductServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::ProductServicePollingPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1ProductServicePollingPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::SearchServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1SearchServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceRetryPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceRetryPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceBackoffPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceBackoffPolicyOption)\n- [`google::cloud::retail_v2::UserEventServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::retail_v2::UserEventServicePollingPolicyOption`](/cpp/docs/reference/retail/2.11.0/structgoogle_1_1cloud_1_1retail__v2_1_1UserEventServicePollingPolicyOption)\n\n### Types\n\n- [`CatalogServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`CompletionServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`PredictionServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`ProductServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`SearchServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)\n- [`UserEventServicePolicyOptionList`](/cpp/docs/reference/retail/2.11.0/namespacegoogle_1_1cloud_1_1retail__v2)"]]