[[["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 details the `ProjectServiceLimitedErrorCountRetryPolicy`, a retry mechanism for `ProjectServiceConnection` in the Google Cloud Discovery Engine C++ library, specifically in versions ranging from 2.15.1 to 2.37.0-rc."],["The policy limits retries based on the number of transient errors encountered, stopping if a non-transient error occurs or if the maximum allowed transient failures are exceeded, with `kUnavailable` status codes being the only type that is considered transient."],["You can customize the retry behavior by setting the `maximum_failures` parameter during the policy's creation, and by setting it to `0`, you can effectively disable retries, or by changing it to an integer greater than `0` you can change the number of transient failures it can encounter."],["The class offers functionalities to check if the policy is exhausted (`IsExhausted()`), determine if a failure is permanent (`IsPermanentFailure()`), and handle failures (`OnFailure()`), as well as clone the policy, and get the current set maximum amount of transient failures."],["The webpage displays the different versions of the `ProjectServiceLimitedErrorCountRetryPolicy`, with 2.37.0-rc being the most recent one, and they all act as a reference point for what has been changed in the different versions of the library."]]],[]]