[[["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-03-14 UTC."],[[["This webpage provides documentation for the `DocumentServiceLimitedErrorCountRetryPolicy` class within the Google Cloud Discovery Engine C++ library, and spans a range of version numbers from 2.15.1 up to 2.37.0-rc."],["The `DocumentServiceLimitedErrorCountRetryPolicy` is designed to manage retries for `DocumentServiceConnection` based on a limited number of transient errors, terminating the retry process if a non-transient error occurs or if the count of transient failures exceeds a predefined threshold."],["This policy treats `kUnavailable` status codes as transient errors, and allows users to disable the retry loop by setting the `maximum_failures` parameter to 0 when constructing an instance of the policy."],["The class offers functions such as `maximum_failures()`, `OnFailure()`, `IsExhausted()`, and `IsPermanentFailure()`, to control the logic of retries, along with a `clone()` method to create new policy instances."],["The webpage details several constructors for `DocumentServiceLimitedErrorCountRetryPolicy`, allowing for the creation of new instances either with a specified maximum number of failures or through the copy and move methods."]]],[]]