Reference documentation and code samples for the Google Cloud Storage v1 API class RetryOptions.
Options used to indicate the retry configuration for an API request in case of failure. This class is immutable.
These determine whether and how the request should be retried.
Predicate to apply to determine whether an error response can be retried. May be null, in which case default error codes will be used.
Properties
IdempotentRetryOptions
public static RetryOptions IdempotentRetryOptions { get; }
Options used by default for idempotent operations upon failure.
It has all retry timings reset to defaults and retry predicate based on default error codes.
[[["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\u003eThe document provides reference documentation for the \u003ccode\u003eRetryOptions\u003c/code\u003e class within the Google Cloud Storage v1 API for .NET, detailing its usage for configuring API request retry behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetryOptions\u003c/code\u003e class, designed to be immutable, allows developers to specify retry timing and error response predicates, offering control over how and when failed requests should be retried.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for the documentation, ranging from version 3.4.0 up to 4.11.0 (latest), and the current document corresponds to version 4.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetryOptions\u003c/code\u003e class includes static properties like \u003ccode\u003eIdempotentRetryOptions\u003c/code\u003e for default idempotent operation retries and \u003ccode\u003eNever\u003c/code\u003e to explicitly disable retries.\u003c/p\u003e\n"],["\u003cp\u003eThe class constructor, \u003ccode\u003eRetryOptions(RetryTiming, RetryPredicate)\u003c/code\u003e, allows for custom retry behavior configurations by providing the option to use a custom timing configuration or custom predicate for whether an error response can be retried.\u003c/p\u003e\n"]]],[],null,[]]