Class: Google::Cloud::Functions::V1::FailurePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Functions::V1::FailurePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/functions/v1/functions.rb
Overview
Describes the policy in case of function's execution failure. If empty, then defaults to ignoring failures (i.e., not retrying them).
Defined Under Namespace
Classes: Retry
Instance Attribute Summary collapse
-
#retry ⇒ ::Google::Cloud::Functions::V1::FailurePolicy::Retry
If specified, the function is retried in case of a failure.
Instance Attribute Details
#retry ⇒ ::Google::Cloud::Functions::V1::FailurePolicy::Retry
Returns If specified, the function is retried in case of a failure.
446 447 448 449 450 451 452 453 454 455 456 457 458 459 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 446 class FailurePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describes the retry policy in case of function's execution failure. # A function execution is retried on any failure. # A failed execution is retried up to 7 days with an exponential backoff # (capped at 10 seconds). # Retried execution is charged as any other execution. class Retry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |