Google Cloud Eventarc V1 Client - Class RetryPolicy (2.3.0)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class RetryPolicy.

The retry policy configuration for the Trigger.

Can only be set with Cloud Run destinations.

Generated from protobuf message google.cloud.eventarc.v1.Trigger.RetryPolicy

Namespace

Google \ Cloud \ Eventarc \ V1 \ Trigger

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ max_attempts int

Optional. The maximum number of delivery attempts for any message. The only valid value is 1.

getMaxAttempts

Optional. The maximum number of delivery attempts for any message. The only valid value is 1.

Returns
Type Description
int

setMaxAttempts

Optional. The maximum number of delivery attempts for any message. The only valid value is 1.

Parameter
Name Description
var int
Returns
Type Description
$this