Class: Google::Cloud::Functions::V1::FailurePolicy

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#retry::Google::Cloud::Functions::V1::FailurePolicy::Retry

Returns If specified, then the function will be retried in case of a failure.

Returns:



452
453
454
455
456
457
458
459
460
461
462
463
464
465
# File 'proto_docs/google/cloud/functions/v1/functions.rb', line 452

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