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"]],[["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-04-09 UTC."],[[["The latest version of the `RetryOptions` class is 4.11.0, with several older versions available for reference, down to version 3.4.0."],["The `RetryOptions` class, part of the Google Cloud Storage v1 API, configures retry behavior for API requests in case of failures, and is designed to be immutable."],["The `RetryOptions` class provides a constructor that takes `RetryTiming` and `RetryPredicate` parameters to customize retry behavior, with the option to use default settings."],["The `RetryOptions` class includes two static properties: `IdempotentRetryOptions` for default settings for idempotent operations, and `Never` to specify no retries."]]],[]]