[[["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 page details the `SearchServiceLimitedErrorCountRetryPolicy`, a retry mechanism for `SearchServiceConnection` in the Google Cloud Discovery Engine C++ library, with documentation available for versions ranging from 2.15.1 to 2.37.0-rc."],["The retry policy halts when a non-transient error occurs or when the number of transient failures exceeds the set limit, with `kUnavailable` status codes specifically treated as transient."],["Users can configure the policy by setting `maximum_failures` during instantiation, with a value of 0 effectively disabling retries."],["The policy provides methods to check if the retry mechanism is exhausted (`IsExhausted`), whether an error is permanent (`IsPermanentFailure`), and to clone the policy instance (`clone`)."],["The class `SearchServiceLimitedErrorCountRetryPolicy` has also functions such as `maximum_failures` to check how many failed attempts it should allow, and `OnFailure` which takes the failed attempt status as input."]]],[]]