[[["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-21 UTC."],[[["This document provides information on the `DocumentServiceLimitedErrorCountRetryPolicy` class, which is used to define a retry policy for `DocumentServiceConnection` in the Google Cloud Discovery Engine C++ client library."],["The retry policy is based on counting errors and stops retrying if a non-transient error is encountered or the number of transient failures exceeds a predefined limit."],["The `kUnavailable` status code is considered a transient error, and by default the retry loop can be disabled by setting `maximum_failures` to 0 when creating the retry policy instance."],["The available versions of the `DocumentServiceLimitedErrorCountRetryPolicy` class are listed, ranging from the latest release candidate version `2.37.0-rc` down to version `2.15.1`."],["The class provides methods to check the maximum number of failures allowed (`maximum_failures()`), determine if a failure is permanent (`IsPermanentFailure()`), if retries have been exhausted (`IsExhausted()`), and how to handle a failure (`OnFailure()`), as well as how to create a fresh copy of the retry policy (`clone()`)."]]],[]]