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, then the function will be retried in case of a failure.
Instance Attribute Details
#retry ⇒ ::Google::Cloud::Functions::V1::FailurePolicy::Retry
Returns If specified, then the function will be retried in case of a failure.
456 457 458 459 460 461 462 463 464 465 466 467 468 469 |
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 456 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 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. class Retry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |