Class: Google::Apis::CloudfunctionsV1::Retry
- Inherits:
-
Object
- Object
- Google::Apis::CloudfunctionsV1::Retry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudfunctions_v1/classes.rb,
lib/google/apis/cloudfunctions_v1/representations.rb,
lib/google/apis/cloudfunctions_v1/representations.rb
Overview
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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Retry
constructor
A new instance of Retry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Retry
Returns a new instance of Retry.
1738 1739 1740 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1738 def initialize(**args) update!(**args) end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1743 1744 |
# File 'lib/google/apis/cloudfunctions_v1/classes.rb', line 1743 def update!(**args) end |