This library uses the same mechanism (google::cloud::Options) and the common options as all other C++ client libraries for its configuration. Some *Option classes, 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-08-28 UTC."],[[["\u003cp\u003eThe latest version of the Document AI C++ client library is 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists multiple versions of the Document AI C++ client library, ranging from version 2.11.0 to the latest 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe C++ library configuration for Cloud Document AI uses \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e and common options found in other C++ client libraries.\u003c/p\u003e\n"],["\u003cp\u003eThe page documents specific \u003ccode\u003e*Option\u003c/code\u003e classes used in the Document AI library, including retry, backoff, idempotency, and polling policies.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides a link to the Client Library Configuration, where users can find a general overview on the matter.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI API Configuration Options (2.42.0-rc)\n\nVersion latestkeyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/documentai/latest/group__google-cloud-documentai-options)\n- [2.41.0](/cpp/docs/reference/documentai/2.41.0/group__google-cloud-documentai-options)\n- [2.40.0](/cpp/docs/reference/documentai/2.40.0/group__google-cloud-documentai-options)\n- [2.39.0](/cpp/docs/reference/documentai/2.39.0/group__google-cloud-documentai-options)\n- [2.38.0](/cpp/docs/reference/documentai/2.38.0/group__google-cloud-documentai-options)\n- [2.37.0](/cpp/docs/reference/documentai/2.37.0/group__google-cloud-documentai-options)\n- [2.36.0](/cpp/docs/reference/documentai/2.36.0/group__google-cloud-documentai-options)\n- [2.35.0](/cpp/docs/reference/documentai/2.35.0/group__google-cloud-documentai-options)\n- [2.34.0](/cpp/docs/reference/documentai/2.34.0/group__google-cloud-documentai-options)\n- [2.33.0](/cpp/docs/reference/documentai/2.33.0/group__google-cloud-documentai-options)\n- [2.32.0](/cpp/docs/reference/documentai/2.32.0/group__google-cloud-documentai-options)\n- [2.31.0](/cpp/docs/reference/documentai/2.31.0/group__google-cloud-documentai-options)\n- [2.30.0](/cpp/docs/reference/documentai/2.30.0/group__google-cloud-documentai-options)\n- [2.29.0](/cpp/docs/reference/documentai/2.29.0/group__google-cloud-documentai-options)\n- [2.28.0](/cpp/docs/reference/documentai/2.28.0/group__google-cloud-documentai-options)\n- [2.27.0](/cpp/docs/reference/documentai/2.27.0/group__google-cloud-documentai-options)\n- [2.26.0](/cpp/docs/reference/documentai/2.26.0/group__google-cloud-documentai-options)\n- [2.25.1](/cpp/docs/reference/documentai/2.25.1/group__google-cloud-documentai-options)\n- [2.24.0](/cpp/docs/reference/documentai/2.24.0/group__google-cloud-documentai-options)\n- [2.23.0](/cpp/docs/reference/documentai/2.23.0/group__google-cloud-documentai-options)\n- [2.22.1](/cpp/docs/reference/documentai/2.22.1/group__google-cloud-documentai-options)\n- [2.21.0](/cpp/docs/reference/documentai/2.21.0/group__google-cloud-documentai-options)\n- [2.20.0](/cpp/docs/reference/documentai/2.20.0/group__google-cloud-documentai-options)\n- [2.19.0](/cpp/docs/reference/documentai/2.19.0/group__google-cloud-documentai-options)\n- [2.18.0](/cpp/docs/reference/documentai/2.18.0/group__google-cloud-documentai-options)\n- [2.17.0](/cpp/docs/reference/documentai/2.17.0/group__google-cloud-documentai-options)\n- [2.16.0](/cpp/docs/reference/documentai/2.16.0/group__google-cloud-documentai-options)\n- [2.15.1](/cpp/docs/reference/documentai/2.15.1/group__google-cloud-documentai-options)\n- [2.14.0](/cpp/docs/reference/documentai/2.14.0/group__google-cloud-documentai-options)\n- [2.13.0](/cpp/docs/reference/documentai/2.13.0/group__google-cloud-documentai-options)\n- [2.12.0](/cpp/docs/reference/documentai/2.12.0/group__google-cloud-documentai-options)\n- [2.11.0](/cpp/docs/reference/documentai/2.11.0/group__google-cloud-documentai-options) \n\nCloud Document AI 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::documentai_v1::DocumentProcessorServiceRetryPolicyOption`](/cpp/docs/reference/documentai/latest/structgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceRetryPolicyOption)\n- [`google::cloud::documentai_v1::DocumentProcessorServiceBackoffPolicyOption`](/cpp/docs/reference/documentai/latest/structgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceBackoffPolicyOption)\n- [`google::cloud::documentai_v1::DocumentProcessorServiceConnectionIdempotencyPolicyOption`](/cpp/docs/reference/documentai/latest/structgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicyOption)\n- [`google::cloud::documentai_v1::DocumentProcessorServicePollingPolicyOption`](/cpp/docs/reference/documentai/latest/structgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServicePollingPolicyOption)\n\n### Types\n\n- [`DocumentProcessorServicePolicyOptionList`](about:invalid#zCSafez)"]]