Skip to content

Commit bdcc511

Browse files
feat: Automated regeneration of eventarc v1 client (#24358)
Auto-created at 2025-09-21 10:19:55 +0000 using the toys pull request generator.
1 parent 61a62cf commit bdcc511

File tree

5 files changed

+97
-2
lines changed

5 files changed

+97
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245251,6 +245251,8 @@
245251245251
"/eventarc:v1/GoogleApiSource/labels/label": label
245252245252
"/eventarc:v1/GoogleApiSource/loggingConfig": logging_config
245253245253
"/eventarc:v1/GoogleApiSource/name": name
245254+
"/eventarc:v1/GoogleApiSource/organizationSubscription": organization_subscription
245255+
"/eventarc:v1/GoogleApiSource/projectSubscriptions": project_subscriptions
245254245256
"/eventarc:v1/GoogleApiSource/uid": uid
245255245257
"/eventarc:v1/GoogleApiSource/updateTime": update_time
245256245258
"/eventarc:v1/GoogleChannelConfig": google_channel_config
@@ -245411,6 +245413,8 @@
245411245413
"/eventarc:v1/OperationMetadata/statusMessage": status_message
245412245414
"/eventarc:v1/OperationMetadata/target": target
245413245415
"/eventarc:v1/OperationMetadata/verb": verb
245416+
"/eventarc:v1/OrganizationSubscription": organization_subscription
245417+
"/eventarc:v1/OrganizationSubscription/enabled": enabled
245414245418
"/eventarc:v1/Pipeline": pipeline
245415245419
"/eventarc:v1/Pipeline/annotations": annotations
245416245420
"/eventarc:v1/Pipeline/annotations/annotation": annotation
@@ -245438,6 +245442,9 @@
245438245442
"/eventarc:v1/Policy/bindings/binding": binding
245439245443
"/eventarc:v1/Policy/etag": etag
245440245444
"/eventarc:v1/Policy/version": version
245445+
"/eventarc:v1/ProjectSubscriptions": project_subscriptions
245446+
"/eventarc:v1/ProjectSubscriptions/list": list
245447+
"/eventarc:v1/ProjectSubscriptions/list/list": list
245441245448
"/eventarc:v1/Provider": provider
245442245449
"/eventarc:v1/Provider/displayName": display_name
245443245450
"/eventarc:v1/Provider/eventTypes": event_types

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.69.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250912
6+
37
### v0.68.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250905

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

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,16 @@ class GoogleApiSource
830830
# @return [String]
831831
attr_accessor :name
832832

833+
# Config to enabled subscribing to events from other projects in the org.
834+
# Corresponds to the JSON property `organizationSubscription`
835+
# @return [Google::Apis::EventarcV1::OrganizationSubscription]
836+
attr_accessor :organization_subscription
837+
838+
# Config to enable subscribing to all events from a list of projects.
839+
# Corresponds to the JSON property `projectSubscriptions`
840+
# @return [Google::Apis::EventarcV1::ProjectSubscriptions]
841+
attr_accessor :project_subscriptions
842+
833843
# Output only. Server assigned unique identifier for the channel. The value is a
834844
# UUID4 string and guaranteed to remain unchanged until the resource is deleted.
835845
# Corresponds to the JSON property `uid`
@@ -856,6 +866,8 @@ def update!(**args)
856866
@labels = args[:labels] if args.key?(:labels)
857867
@logging_config = args[:logging_config] if args.key?(:logging_config)
858868
@name = args[:name] if args.key?(:name)
869+
@organization_subscription = args[:organization_subscription] if args.key?(:organization_subscription)
870+
@project_subscriptions = args[:project_subscriptions] if args.key?(:project_subscriptions)
859871
@uid = args[:uid] if args.key?(:uid)
860872
@update_time = args[:update_time] if args.key?(:update_time)
861873
end
@@ -2115,6 +2127,26 @@ def update!(**args)
21152127
end
21162128
end
21172129

2130+
# Config to enabled subscribing to events from other projects in the org.
2131+
class OrganizationSubscription
2132+
include Google::Apis::Core::Hashable
2133+
2134+
# Required. Enable org level subscription.
2135+
# Corresponds to the JSON property `enabled`
2136+
# @return [Boolean]
2137+
attr_accessor :enabled
2138+
alias_method :enabled?, :enabled
2139+
2140+
def initialize(**args)
2141+
update!(**args)
2142+
end
2143+
2144+
# Update properties of this object
2145+
def update!(**args)
2146+
@enabled = args[:enabled] if args.key?(:enabled)
2147+
end
2148+
end
2149+
21182150
# A representation of the Pipeline resource.
21192151
class Pipeline
21202152
include Google::Apis::Core::Hashable
@@ -2339,6 +2371,28 @@ def update!(**args)
23392371
end
23402372
end
23412373

2374+
# Config to enable subscribing to all events from a list of projects.
2375+
class ProjectSubscriptions
2376+
include Google::Apis::Core::Hashable
2377+
2378+
# Required. A list of projects to receive events from. All the projects must be
2379+
# in the same org. The listed projects should have the format project/`
2380+
# identifier` where identifier can be either the project id for project number.
2381+
# A single list may contain both formats. At most 100 projects can be listed.
2382+
# Corresponds to the JSON property `list`
2383+
# @return [Array<String>]
2384+
attr_accessor :list
2385+
2386+
def initialize(**args)
2387+
update!(**args)
2388+
end
2389+
2390+
# Update properties of this object
2391+
def update!(**args)
2392+
@list = args[:list] if args.key?(:list)
2393+
end
2394+
end
2395+
23422396
# A representation of the Provider resource.
23432397
class Provider
23442398
include Google::Apis::Core::Hashable

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.68.0"
19+
GEM_VERSION = "0.69.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 = "20250905"
25+
REVISION = "20250912"
2626
end
2727
end
2828
end

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
316316
include Google::Apis::Core::JsonObjectSupport
317317
end
318318

319+
class OrganizationSubscription
320+
class Representation < Google::Apis::Core::JsonRepresentation; end
321+
322+
include Google::Apis::Core::JsonObjectSupport
323+
end
324+
319325
class Pipeline
320326
class Representation < Google::Apis::Core::JsonRepresentation; end
321327

@@ -328,6 +334,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
328334
include Google::Apis::Core::JsonObjectSupport
329335
end
330336

337+
class ProjectSubscriptions
338+
class Representation < Google::Apis::Core::JsonRepresentation; end
339+
340+
include Google::Apis::Core::JsonObjectSupport
341+
end
342+
331343
class Provider
332344
class Representation < Google::Apis::Core::JsonRepresentation; end
333345

@@ -545,6 +557,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
545557
property :logging_config, as: 'loggingConfig', class: Google::Apis::EventarcV1::LoggingConfig, decorator: Google::Apis::EventarcV1::LoggingConfig::Representation
546558

547559
property :name, as: 'name'
560+
property :organization_subscription, as: 'organizationSubscription', class: Google::Apis::EventarcV1::OrganizationSubscription, decorator: Google::Apis::EventarcV1::OrganizationSubscription::Representation
561+
562+
property :project_subscriptions, as: 'projectSubscriptions', class: Google::Apis::EventarcV1::ProjectSubscriptions, decorator: Google::Apis::EventarcV1::ProjectSubscriptions::Representation
563+
548564
property :uid, as: 'uid'
549565
property :update_time, as: 'updateTime'
550566
end
@@ -870,6 +886,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
870886
end
871887
end
872888

889+
class OrganizationSubscription
890+
# @private
891+
class Representation < Google::Apis::Core::JsonRepresentation
892+
property :enabled, as: 'enabled'
893+
end
894+
end
895+
873896
class Pipeline
874897
# @private
875898
class Representation < Google::Apis::Core::JsonRepresentation
@@ -908,6 +931,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
908931
end
909932
end
910933

934+
class ProjectSubscriptions
935+
# @private
936+
class Representation < Google::Apis::Core::JsonRepresentation
937+
collection :list, as: 'list'
938+
end
939+
end
940+
911941
class Provider
912942
# @private
913943
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)