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-03-21 UTC."],[[["This page provides documentation for the `RetryOptions` class within the Google Cloud Storage v1 API, used for configuring retry behavior for API requests."],["The `RetryOptions` class is immutable and allows for the configuration of retry timing and error predicates, determining if and how a failed request should be retried."],["There is a constructor available to create a `RetryOptions` instance by providing parameters for `RetryTiming` and `RetryPredicate`, and each can use default values if set to null."],["The `RetryOptions` class also includes static properties `IdempotentRetryOptions` and `Never`, offering default settings for idempotent operations and disabling retries, respectively."],["This documentation provides a version history for the `RetryOptions` class, ranging from version 3.4.0 to the latest version 4.11.0, providing information for different versions of the API."]]],[]]