Skip to content

Commit d3ac793

Browse files
feat: Automated regeneration of pubsub v1 client (#24879)
Auto-created at 2025-11-09 09:09:27 +0000 using the toys pull request generator.
1 parent 89787b9 commit d3ac793

File tree

5 files changed

+41
-3
lines changed

5 files changed

+41
-3
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328471,6 +328471,8 @@
328471328471
"/pubsub:v1/CreateSnapshotRequest/labels": labels
328472328472
"/pubsub:v1/CreateSnapshotRequest/labels/label": label
328473328473
"/pubsub:v1/CreateSnapshotRequest/subscription": subscription
328474+
"/pubsub:v1/CreateSnapshotRequest/tags": tags
328475+
"/pubsub:v1/CreateSnapshotRequest/tags/tag": tag
328474328476
"/pubsub:v1/DeadLetterPolicy": dead_letter_policy
328475328477
"/pubsub:v1/DeadLetterPolicy/deadLetterTopic": dead_letter_topic
328476328478
"/pubsub:v1/DeadLetterPolicy/maxDeliveryAttempts": max_delivery_attempts
@@ -328628,6 +328630,8 @@
328628328630
"/pubsub:v1/Subscription/retainAckedMessages": retain_acked_messages
328629328631
"/pubsub:v1/Subscription/retryPolicy": retry_policy
328630328632
"/pubsub:v1/Subscription/state": state
328633+
"/pubsub:v1/Subscription/tags": tags
328634+
"/pubsub:v1/Subscription/tags/tag": tag
328631328635
"/pubsub:v1/Subscription/topic": topic
328632328636
"/pubsub:v1/Subscription/topicMessageRetentionDuration": topic_message_retention_duration
328633328637
"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request
@@ -328652,6 +328656,8 @@
328652328656
"/pubsub:v1/Topic/satisfiesPzs": satisfies_pzs
328653328657
"/pubsub:v1/Topic/schemaSettings": schema_settings
328654328658
"/pubsub:v1/Topic/state": state
328659+
"/pubsub:v1/Topic/tags": tags
328660+
"/pubsub:v1/Topic/tags/tag": tag
328655328661
"/pubsub:v1/UpdateSnapshotRequest": update_snapshot_request
328656328662
"/pubsub:v1/UpdateSnapshotRequest/snapshot": snapshot
328657328663
"/pubsub:v1/UpdateSnapshotRequest/updateMask": update_mask

generated/google-apis-pubsub_v1/CHANGELOG.md

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

3+
### v0.63.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251025
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.62.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,13 @@ class CreateSnapshotRequest
723723
# @return [String]
724724
attr_accessor :subscription
725725

726+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
727+
# resource. For example: "123/environment": "production", "123/costCenter": "
728+
# marketing"
729+
# Corresponds to the JSON property `tags`
730+
# @return [Hash<String,String>]
731+
attr_accessor :tags
732+
726733
def initialize(**args)
727734
update!(**args)
728735
end
@@ -731,6 +738,7 @@ def initialize(**args)
731738
def update!(**args)
732739
@labels = args[:labels] if args.key?(:labels)
733740
@subscription = args[:subscription] if args.key?(:subscription)
741+
@tags = args[:tags] if args.key?(:tags)
734742
end
735743
end
736744

@@ -2179,6 +2187,13 @@ class Subscription
21792187
# @return [String]
21802188
attr_accessor :state
21812189

2190+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
2191+
# resource. For example: "123/environment": "production", "123/costCenter": "
2192+
# marketing"
2193+
# Corresponds to the JSON property `tags`
2194+
# @return [Hash<String,String>]
2195+
attr_accessor :tags
2196+
21822197
# Required. The name of the topic from which this subscription is receiving
21832198
# messages. Format is `projects/`project`/topics/`topic``. The value of this
21842199
# field will be `_deleted-topic_` if the topic has been deleted.
@@ -2220,6 +2235,7 @@ def update!(**args)
22202235
@retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
22212236
@retry_policy = args[:retry_policy] if args.key?(:retry_policy)
22222237
@state = args[:state] if args.key?(:state)
2238+
@tags = args[:tags] if args.key?(:tags)
22232239
@topic = args[:topic] if args.key?(:topic)
22242240
@topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
22252241
end
@@ -2371,6 +2387,13 @@ class Topic
23712387
# @return [String]
23722388
attr_accessor :state
23732389

2390+
# Optional. Input only. Immutable. Tag keys/values directly bound to this
2391+
# resource. For example: "123/environment": "production", "123/costCenter": "
2392+
# marketing"
2393+
# Corresponds to the JSON property `tags`
2394+
# @return [Hash<String,String>]
2395+
attr_accessor :tags
2396+
23742397
def initialize(**args)
23752398
update!(**args)
23762399
end
@@ -2387,6 +2410,7 @@ def update!(**args)
23872410
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
23882411
@schema_settings = args[:schema_settings] if args.key?(:schema_settings)
23892412
@state = args[:state] if args.key?(:state)
2413+
@tags = args[:tags] if args.key?(:tags)
23902414
end
23912415
end
23922416

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PubsubV1
1818
# Version of the google-apis-pubsub_v1 gem
19-
GEM_VERSION = "0.62.0"
19+
GEM_VERSION = "0.63.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,7 @@ class CreateSnapshotRequest
566566
class Representation < Google::Apis::Core::JsonRepresentation
567567
hash :labels, as: 'labels'
568568
property :subscription, as: 'subscription'
569+
hash :tags, as: 'tags'
569570
end
570571
end
571572

@@ -934,6 +935,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
934935
property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation
935936

936937
property :state, as: 'state'
938+
hash :tags, as: 'tags'
937939
property :topic, as: 'topic'
938940
property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
939941
end
@@ -983,6 +985,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
983985
property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation
984986

985987
property :state, as: 'state'
988+
hash :tags, as: 'tags'
986989
end
987990
end
988991

0 commit comments

Comments
 (0)