[[["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 available for the Document AI C++ library is 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThis page documents the \u003ccode\u003eDocumentProcessorServiceConnectionIdempotencyPolicy\u003c/code\u003e class, which includes a wide variety of functions such as \u003ccode\u003eProcessDocument\u003c/code\u003e, \u003ccode\u003eBatchProcessDocuments\u003c/code\u003e, and \u003ccode\u003eGetProcessor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach of the functions in the \u003ccode\u003eDocumentProcessorServiceConnectionIdempotencyPolicy\u003c/code\u003e class take a request parameter and returns the Google Cloud Idempotency.\u003c/p\u003e\n"],["\u003cp\u003eThere are a multitude of previous versions of the library listed, starting from 2.36.0 and going down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentProcessorServiceConnectionIdempotencyPolicy\u003c/code\u003e also has functions pertaining to long running operations, with functions such as \u003ccode\u003eListOperations\u003c/code\u003e, \u003ccode\u003eGetOperation\u003c/code\u003e and \u003ccode\u003eCancelOperation\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class DocumentProcessorServiceConnectionIdempotencyPolicy (2.42.0-rc)\n\nVersion latestkeyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/documentai/latest/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.41.0](/cpp/docs/reference/documentai/2.41.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.40.0](/cpp/docs/reference/documentai/2.40.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.39.0](/cpp/docs/reference/documentai/2.39.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.38.0](/cpp/docs/reference/documentai/2.38.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.37.0](/cpp/docs/reference/documentai/2.37.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.36.0](/cpp/docs/reference/documentai/2.36.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.35.0](/cpp/docs/reference/documentai/2.35.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.34.0](/cpp/docs/reference/documentai/2.34.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.33.0](/cpp/docs/reference/documentai/2.33.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.32.0](/cpp/docs/reference/documentai/2.32.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.31.0](/cpp/docs/reference/documentai/2.31.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.30.0](/cpp/docs/reference/documentai/2.30.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.29.0](/cpp/docs/reference/documentai/2.29.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.28.0](/cpp/docs/reference/documentai/2.28.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.27.0](/cpp/docs/reference/documentai/2.27.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.26.0](/cpp/docs/reference/documentai/2.26.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.25.1](/cpp/docs/reference/documentai/2.25.1/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.24.0](/cpp/docs/reference/documentai/2.24.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.23.0](/cpp/docs/reference/documentai/2.23.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.22.1](/cpp/docs/reference/documentai/2.22.1/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.21.0](/cpp/docs/reference/documentai/2.21.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.20.0](/cpp/docs/reference/documentai/2.20.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.19.0](/cpp/docs/reference/documentai/2.19.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.18.0](/cpp/docs/reference/documentai/2.18.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.17.0](/cpp/docs/reference/documentai/2.17.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.16.0](/cpp/docs/reference/documentai/2.16.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.15.1](/cpp/docs/reference/documentai/2.15.1/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.14.0](/cpp/docs/reference/documentai/2.14.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.13.0](/cpp/docs/reference/documentai/2.13.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.12.0](/cpp/docs/reference/documentai/2.12.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy)\n- [2.11.0](/cpp/docs/reference/documentai/2.11.0/classgoogle_1_1cloud_1_1documentai__v1_1_1DocumentProcessorServiceConnectionIdempotencyPolicy) \n\nFunctions\n---------\n\n### virtual clone() const\n\nCreate a new copy of this object.\n\n### virtual ProcessDocument(google::cloud::documentai::v1::ProcessRequest const \\&)\n\n### virtual BatchProcessDocuments(google::cloud::documentai::v1::BatchProcessRequest const \\&)\n\n### virtual FetchProcessorTypes(google::cloud::documentai::v1::FetchProcessorTypesRequest const \\&)\n\n### virtual ListProcessorTypes(google::cloud::documentai::v1::ListProcessorTypesRequest)\n\n### virtual GetProcessorType(google::cloud::documentai::v1::GetProcessorTypeRequest const \\&)\n\n### virtual ListProcessors(google::cloud::documentai::v1::ListProcessorsRequest)\n\n### virtual GetProcessor(google::cloud::documentai::v1::GetProcessorRequest const \\&)\n\n### virtual TrainProcessorVersion(google::cloud::documentai::v1::TrainProcessorVersionRequest const \\&)\n\n### virtual GetProcessorVersion(google::cloud::documentai::v1::GetProcessorVersionRequest const \\&)\n\n### virtual ListProcessorVersions(google::cloud::documentai::v1::ListProcessorVersionsRequest)\n\n### virtual DeleteProcessorVersion(google::cloud::documentai::v1::DeleteProcessorVersionRequest const \\&)\n\n### virtual DeployProcessorVersion(google::cloud::documentai::v1::DeployProcessorVersionRequest const \\&)\n\n### virtual UndeployProcessorVersion(google::cloud::documentai::v1::UndeployProcessorVersionRequest const \\&)\n\n### virtual CreateProcessor(google::cloud::documentai::v1::CreateProcessorRequest const \\&)\n\n### virtual DeleteProcessor(google::cloud::documentai::v1::DeleteProcessorRequest const \\&)\n\n### virtual EnableProcessor(google::cloud::documentai::v1::EnableProcessorRequest const \\&)\n\n### virtual DisableProcessor(google::cloud::documentai::v1::DisableProcessorRequest const \\&)\n\n### virtual SetDefaultProcessorVersion(google::cloud::documentai::v1::SetDefaultProcessorVersionRequest const \\&)\n\n### virtual ReviewDocument(google::cloud::documentai::v1::ReviewDocumentRequest const \\&)\n\n### virtual EvaluateProcessorVersion(google::cloud::documentai::v1::EvaluateProcessorVersionRequest const \\&)\n\n### virtual GetEvaluation(google::cloud::documentai::v1::GetEvaluationRequest const \\&)\n\n### virtual ListEvaluations(google::cloud::documentai::v1::ListEvaluationsRequest)\n\n### virtual ListLocations(google::cloud::location::ListLocationsRequest)\n\n### virtual GetLocation(google::cloud::location::GetLocationRequest const \\&)\n\n### virtual ListOperations(google::longrunning::ListOperationsRequest)\n\n### virtual GetOperation(google::longrunning::GetOperationRequest const \\&)\n\n### virtual CancelOperation(google::longrunning::CancelOperationRequest const \\&)"]]