class Google::Apis::CloudfunctionsV1::FailurePolicy
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e. not retrying them).
Attributes
retry[RW]
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. Corresponds to the JSON property `retry` @return [Google::Apis::CloudfunctionsV1::Retry]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 624 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudfunctions_v1/classes.rb, line 629 def update!(**args) @retry = args[:retry] if args.key?(:retry) end