Skip to content

Commit cbfd9b2

Browse files
feat: Automated regeneration of eventarc v1 client (googleapis#25131)
Auto-created at 2025-12-07 10:25:57 +0000 using the toys pull request generator.
1 parent 88cab1e commit cbfd9b2

File tree

6 files changed

+61
-9
lines changed

6 files changed

+61
-9
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256207,6 +256207,8 @@
256207256207
"/eventarc:v1/Pubsub": pubsub
256208256208
"/eventarc:v1/Pubsub/subscription": subscription
256209256209
"/eventarc:v1/Pubsub/topic": topic
256210+
"/eventarc:v1/RetryPolicy": retry_policy
256211+
"/eventarc:v1/RetryPolicy/maxAttempts": max_attempts
256210256212
"/eventarc:v1/SetIamPolicyRequest": set_iam_policy_request
256211256213
"/eventarc:v1/SetIamPolicyRequest/policy": policy
256212256214
"/eventarc:v1/SetIamPolicyRequest/updateMask": update_mask
@@ -256234,6 +256236,7 @@
256234256236
"/eventarc:v1/Trigger/labels": labels
256235256237
"/eventarc:v1/Trigger/labels/label": label
256236256238
"/eventarc:v1/Trigger/name": name
256239+
"/eventarc:v1/Trigger/retryPolicy": retry_policy
256237256240
"/eventarc:v1/Trigger/satisfiesPzs": satisfies_pzs
256238256241
"/eventarc:v1/Trigger/serviceAccount": service_account
256239256242
"/eventarc:v1/Trigger/transport": transport

generated/google-apis-eventarc_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-eventarc_v1
22

3+
### v0.72.0 (2025-12-07)
4+
5+
* Regenerated from discovery document revision 20251202
6+
37
### v0.71.0 (2025-11-02)
48

59
* Regenerated from discovery document revision 20251024

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/classes.rb

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module EventarcV1
1818
# Version of the google-apis-eventarc_v1 gem
19-
GEM_VERSION = "0.71.0"
19+
GEM_VERSION = "0.72.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251024"
25+
REVISION = "20251202"
2626
end
2727
end
2828
end

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
352352
include Google::Apis::Core::JsonObjectSupport
353353
end
354354

355+
class RetryPolicy
356+
class Representation < Google::Apis::Core::JsonRepresentation; end
357+
358+
include Google::Apis::Core::JsonObjectSupport
359+
end
360+
355361
class SetIamPolicyRequest
356362
class Representation < Google::Apis::Core::JsonRepresentation; end
357363

@@ -957,6 +963,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
957963
end
958964
end
959965

966+
class RetryPolicy
967+
# @private
968+
class Representation < Google::Apis::Core::JsonRepresentation
969+
property :max_attempts, as: 'maxAttempts'
970+
end
971+
end
972+
960973
class SetIamPolicyRequest
961974
# @private
962975
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,6 +1024,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10111024

10121025
hash :labels, as: 'labels'
10131026
property :name, as: 'name'
1027+
property :retry_policy, as: 'retryPolicy', class: Google::Apis::EventarcV1::RetryPolicy, decorator: Google::Apis::EventarcV1::RetryPolicy::Representation
1028+
10141029
property :satisfies_pzs, as: 'satisfiesPzs'
10151030
property :service_account, as: 'serviceAccount'
10161031
property :transport, as: 'transport', class: Google::Apis::EventarcV1::Transport, decorator: Google::Apis::EventarcV1::Transport::Representation

generated/google-apis-eventarc_v1/lib/google/apis/eventarc_v1/service.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,11 +2038,12 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
20382038
# The standard list page token.
20392039
# @param [Boolean] return_partial_success
20402040
# When set to `true`, operations that are reachable are returned as normal, and
2041-
# those that are unreachable are returned in the [ListOperationsResponse.
2042-
# unreachable] field. This can only be `true` when reading across collections e.
2043-
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2044-
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
2045-
# explicitly documented otherwise in service or product specific documentation.
2041+
# those that are unreachable are returned in the ListOperationsResponse.
2042+
# unreachable field. This can only be `true` when reading across collections.
2043+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
2044+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
2045+
# if set unless explicitly documented otherwise in service or product specific
2046+
# documentation.
20462047
# @param [String] fields
20472048
# Selector specifying which fields to include in a partial response.
20482049
# @param [String] quota_user

0 commit comments

Comments
 (0)