diff --git a/api_names_out.yaml b/api_names_out.yaml index 9432dbc325b..8868c00035b 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -328306,6 +328306,8 @@ "/pubsub:v1/CreateSnapshotRequest/labels": labels "/pubsub:v1/CreateSnapshotRequest/labels/label": label "/pubsub:v1/CreateSnapshotRequest/subscription": subscription +"/pubsub:v1/CreateSnapshotRequest/tags": tags +"/pubsub:v1/CreateSnapshotRequest/tags/tag": tag "/pubsub:v1/DeadLetterPolicy": dead_letter_policy "/pubsub:v1/DeadLetterPolicy/deadLetterTopic": dead_letter_topic "/pubsub:v1/DeadLetterPolicy/maxDeliveryAttempts": max_delivery_attempts @@ -328463,6 +328465,8 @@ "/pubsub:v1/Subscription/retainAckedMessages": retain_acked_messages "/pubsub:v1/Subscription/retryPolicy": retry_policy "/pubsub:v1/Subscription/state": state +"/pubsub:v1/Subscription/tags": tags +"/pubsub:v1/Subscription/tags/tag": tag "/pubsub:v1/Subscription/topic": topic "/pubsub:v1/Subscription/topicMessageRetentionDuration": topic_message_retention_duration "/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request @@ -328487,6 +328491,8 @@ "/pubsub:v1/Topic/satisfiesPzs": satisfies_pzs "/pubsub:v1/Topic/schemaSettings": schema_settings "/pubsub:v1/Topic/state": state +"/pubsub:v1/Topic/tags": tags +"/pubsub:v1/Topic/tags/tag": tag "/pubsub:v1/UpdateSnapshotRequest": update_snapshot_request "/pubsub:v1/UpdateSnapshotRequest/snapshot": snapshot "/pubsub:v1/UpdateSnapshotRequest/updateMask": update_mask diff --git a/generated/google-apis-pubsub_v1/CHANGELOG.md b/generated/google-apis-pubsub_v1/CHANGELOG.md index 3ee14009a8f..0b4099880cd 100644 --- a/generated/google-apis-pubsub_v1/CHANGELOG.md +++ b/generated/google-apis-pubsub_v1/CHANGELOG.md @@ -1,5 +1,10 @@ # Release history for google-apis-pubsub_v1 +### v0.63.0 (2025-11-09) + +* Regenerated from discovery document revision 20251025 +* Regenerated using generator version 0.18.0 + ### v0.62.0 (2025-05-04) * Regenerated using generator version 0.17.0 diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb index be205cc7f30..a3934b96927 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/classes.rb @@ -723,6 +723,13 @@ class CreateSnapshotRequest # @return [String] attr_accessor :subscription + # Optional. Input only. Immutable. Tag keys/values directly bound to this + # resource. For example: "123/environment": "production", "123/costCenter": " + # marketing" + # Corresponds to the JSON property `tags` + # @return [Hash] + attr_accessor :tags + def initialize(**args) update!(**args) end @@ -731,6 +738,7 @@ def initialize(**args) def update!(**args) @labels = args[:labels] if args.key?(:labels) @subscription = args[:subscription] if args.key?(:subscription) + @tags = args[:tags] if args.key?(:tags) end end @@ -2179,6 +2187,13 @@ class Subscription # @return [String] attr_accessor :state + # Optional. Input only. Immutable. Tag keys/values directly bound to this + # resource. For example: "123/environment": "production", "123/costCenter": " + # marketing" + # Corresponds to the JSON property `tags` + # @return [Hash] + attr_accessor :tags + # Required. The name of the topic from which this subscription is receiving # messages. Format is `projects/`project`/topics/`topic``. The value of this # field will be `_deleted-topic_` if the topic has been deleted. @@ -2220,6 +2235,7 @@ def update!(**args) @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages) @retry_policy = args[:retry_policy] if args.key?(:retry_policy) @state = args[:state] if args.key?(:state) + @tags = args[:tags] if args.key?(:tags) @topic = args[:topic] if args.key?(:topic) @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration) end @@ -2371,6 +2387,13 @@ class Topic # @return [String] attr_accessor :state + # Optional. Input only. Immutable. Tag keys/values directly bound to this + # resource. For example: "123/environment": "production", "123/costCenter": " + # marketing" + # Corresponds to the JSON property `tags` + # @return [Hash] + attr_accessor :tags + def initialize(**args) update!(**args) end @@ -2387,6 +2410,7 @@ def update!(**args) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) @schema_settings = args[:schema_settings] if args.key?(:schema_settings) @state = args[:state] if args.key?(:state) + @tags = args[:tags] if args.key?(:tags) end end diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb index 3a99a9d0056..5fba74f1773 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module PubsubV1 # Version of the google-apis-pubsub_v1 gem - GEM_VERSION = "0.62.0" + GEM_VERSION = "0.63.0" # Version of the code generator used to generate this client - GENERATOR_VERSION = "0.17.0" + GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250414" + REVISION = "20251025" end end end diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb index ddd36be197a..0ea765210fb 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/representations.rb @@ -566,6 +566,7 @@ class CreateSnapshotRequest class Representation < Google::Apis::Core::JsonRepresentation hash :labels, as: 'labels' property :subscription, as: 'subscription' + hash :tags, as: 'tags' end end @@ -934,6 +935,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation property :state, as: 'state' + hash :tags, as: 'tags' property :topic, as: 'topic' property :topic_message_retention_duration, as: 'topicMessageRetentionDuration' end @@ -983,6 +985,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :schema_settings, as: 'schemaSettings', class: Google::Apis::PubsubV1::SchemaSettings, decorator: Google::Apis::PubsubV1::SchemaSettings::Representation property :state, as: 'state' + hash :tags, as: 'tags' end end