[[["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-05 UTC."],[[["This document outlines the `GroundedGenerationServiceLimitedErrorCountRetryPolicy`, a class in the Google Cloud Discovery Engine C++ library that defines a retry policy based on the number of errors encountered."],["The policy is designed to stop retrying if a non-transient error is returned or if the number of transient failures exceeds a predefined limit, treating `kUnavailable` status codes as transient."],["The class includes constructors to create instances with a specified `maximum_failures` parameter, allowing the user to control the number of tolerated transient errors, and to use copy or move semantics."],["The class provides functions such as `maximum_failures()`, `OnFailure()`, `IsExhausted()`, `IsPermanentFailure()`, and `clone()` to manage and interact with the retry policy's state and behavior."],["The latest version of the policy is 2.37.0-rc, with this page listing versions dating back to 2.15.1."]]],[]]