Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Trigger::RetryPolicy (v2.5.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Trigger::RetryPolicy.

The retry policy configuration for the Trigger.

Can only be set with Cloud Run destinations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_attempts

def max_attempts() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of delivery attempts for any message. The only valid value is 1.

#max_attempts=

def max_attempts=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of delivery attempts for any message. The only valid value is 1.
Returns
  • (::Integer) — Optional. The maximum number of delivery attempts for any message. The only valid value is 1.