Reference documentation and code samples for the Google Cloud Eventarc V1 Client class RetryPolicy.
The retry policy configuration for the Pipeline. The pipeline
exponentially backs off in case the destination is non responsive or
returns a retryable error code. The default semantics are as follows:
The backoff starts with a 5 second delay and doubles the
delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.).
The delay is capped at 60 seconds by default.
Please note that if you set the min_retry_delay and max_retry_delay fields
to the same value this will make the duration between retries constant.
Generated from protobuf messagegoogle.cloud.eventarc.v1.Pipeline.RetryPolicy
Namespace
Google \ Cloud \ Eventarc \ V1 \ Pipeline
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 value must be between 1 and 100. The default value for this field is 5.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Eventarc V1 Client - Class RetryPolicy (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-eventarc/latest/V1.Pipeline.RetryPolicy)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.Pipeline.RetryPolicy)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.Pipeline.RetryPolicy)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.Pipeline.RetryPolicy)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.Pipeline.RetryPolicy)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.Pipeline.RetryPolicy)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.Pipeline.RetryPolicy) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class RetryPolicy.\n\nThe retry policy configuration for the Pipeline. The pipeline\nexponentially backs off in case the destination is non responsive or\nreturns a retryable error code. The default semantics are as follows:\nThe backoff starts with a 5 second delay and doubles the\ndelay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.).\n\nThe delay is capped at 60 seconds by default.\nPlease note that if you set the min_retry_delay and max_retry_delay fields\nto the same value this will make the duration between retries constant.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.Pipeline.RetryPolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1 \\\\ Pipeline\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMaxAttempts\n\nOptional. The maximum number of delivery attempts for any message. The\nvalue must be between 1 and 100. The default value for this field is 5.\n\n### setMaxAttempts\n\nOptional. The maximum number of delivery attempts for any message. The\nvalue must be between 1 and 100. The default value for this field is 5.\n\n### getMinRetryDelay\n\nOptional. The minimum amount of seconds to wait between retry attempts.\n\nThe value must be between 1 and 600. The default value for this field\nis 5.\n\n### hasMinRetryDelay\n\n### clearMinRetryDelay\n\n### setMinRetryDelay\n\nOptional. The minimum amount of seconds to wait between retry attempts.\n\nThe value must be between 1 and 600. The default value for this field\nis 5.\n\n### getMaxRetryDelay\n\nOptional. The maximum amount of seconds to wait between retry attempts.\n\nThe value must be between 1 and 600. The default value for this field\nis 60.\n\n### hasMaxRetryDelay\n\n### clearMaxRetryDelay\n\n### setMaxRetryDelay\n\nOptional. The maximum amount of seconds to wait between retry attempts.\n\nThe value must be between 1 and 600. The default value for this field\nis 60."]]