@@ -1448,8 +1448,9 @@ class GoogleLongrunningListOperationsResponse
14481448 attr_accessor :operations
14491449
14501450 # Unordered list. Unreachable resources. Populated when the request sets `
1451- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1452- # when attempting to list all resources across all supported locations.
1451+ # ListOperationsRequest.return_partial_success` and reads across collections.
1452+ # For example, when attempting to list all resources across all supported
1453+ # locations.
14531454 # Corresponds to the JSON property `unreachable`
14541455 # @return [Array<String>]
14551456 attr_accessor :unreachable
@@ -2464,6 +2465,27 @@ def update!(**args)
24642465 end
24652466 end
24662467
2468+ # The retry policy configuration for the Trigger. Can only be set with Cloud Run
2469+ # destinations.
2470+ class RetryPolicy
2471+ include Google ::Apis ::Core ::Hashable
2472+
2473+ # Optional. The maximum number of delivery attempts for any message. The only
2474+ # valid value is 1.
2475+ # Corresponds to the JSON property `maxAttempts`
2476+ # @return [Fixnum]
2477+ attr_accessor :max_attempts
2478+
2479+ def initialize ( **args )
2480+ update! ( **args )
2481+ end
2482+
2483+ # Update properties of this object
2484+ def update! ( **args )
2485+ @max_attempts = args [ :max_attempts ] if args . key? ( :max_attempts )
2486+ end
2487+ end
2488+
24672489 # Request message for `SetIamPolicy` method.
24682490 class SetIamPolicyRequest
24692491 include Google ::Apis ::Core ::Hashable
@@ -2661,6 +2683,12 @@ class Trigger
26612683 # @return [String]
26622684 attr_accessor :name
26632685
2686+ # The retry policy configuration for the Trigger. Can only be set with Cloud Run
2687+ # destinations.
2688+ # Corresponds to the JSON property `retryPolicy`
2689+ # @return [Google::Apis::EventarcV1::RetryPolicy]
2690+ attr_accessor :retry_policy
2691+
26642692 # Output only. Whether or not this Trigger satisfies the requirements of
26652693 # physical zone separation
26662694 # Corresponds to the JSON property `satisfiesPzs`
@@ -2710,6 +2738,7 @@ def update!(**args)
27102738 @event_filters = args [ :event_filters ] if args . key? ( :event_filters )
27112739 @labels = args [ :labels ] if args . key? ( :labels )
27122740 @name = args [ :name ] if args . key? ( :name )
2741+ @retry_policy = args [ :retry_policy ] if args . key? ( :retry_policy )
27132742 @satisfies_pzs = args [ :satisfies_pzs ] if args . key? ( :satisfies_pzs )
27142743 @service_account = args [ :service_account ] if args . key? ( :service_account )
27152744 @transport = args [ :transport ] if args . key? ( :transport )
0 commit comments