public sealed class Retry : IMessage<FailurePolicy.Types.Retry>, IEquatable<FailurePolicy.Types.Retry>, IDeepCloneable<FailurePolicy.Types.Retry>, IBufferMessage, IMessage
Describes the retry policy in case of function's execution failure.
A function execution will be retried on any failure.
A failed execution will be retried up to 7 days with an exponential backoff
(capped at 10 seconds).
Retried execution is charged as any other execution.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eVersion 2.7.0 is the latest version available for the \u003ccode\u003eGoogle.Cloud.Functions.V1.FailurePolicy.Types.Retry\u003c/code\u003e documentation, with several previous versions dating back to 1.1.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetry\u003c/code\u003e class defines the retry policy for function execution failures, implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFailed function executions are automatically retried for up to 7 days, using an exponential backoff strategy that is capped at 10 seconds.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetry\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and includes inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eRetry\u003c/code\u003e, one default constructor, and another that takes a \u003ccode\u003eFailurePolicy.Types.Retry\u003c/code\u003e parameter for initialization.\u003c/p\u003e\n"]]],[],null,[]]