From 4cc126f12df8dd49fa4a6a7e4be097dd6112f94d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Dec 2025 09:14:54 +0000 Subject: [PATCH] feat: Automated regeneration of pubsub v1 client --- generated/google-apis-pubsub_v1/CHANGELOG.md | 4 + .../lib/google/apis/pubsub_v1/classes.rb | 43 ++++---- .../lib/google/apis/pubsub_v1/gem_version.rb | 4 +- .../lib/google/apis/pubsub_v1/service.rb | 98 ++++++++++--------- 4 files changed, 78 insertions(+), 71 deletions(-) diff --git a/generated/google-apis-pubsub_v1/CHANGELOG.md b/generated/google-apis-pubsub_v1/CHANGELOG.md index 0b4099880cd..4554d31f228 100644 --- a/generated/google-apis-pubsub_v1/CHANGELOG.md +++ b/generated/google-apis-pubsub_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-pubsub_v1 +### v0.64.0 (2025-12-21) + +* Regenerated from discovery document revision 20251212 + ### v0.63.0 (2025-11-09) * Regenerated from discovery document revision 20251025 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 a3934b96927..c84a73b8341 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 @@ -712,13 +712,13 @@ class CreateSnapshotRequest # @return [Hash] attr_accessor :labels - # Required. The subscription whose backlog the snapshot retains. Specifically, - # the created snapshot is guaranteed to retain: (a) The existing backlog on the - # subscription. More precisely, this is defined as the messages in the - # subscription's backlog that are unacknowledged upon the successful completion - # of the `CreateSnapshot` request; as well as: (b) Any messages published to the - # subscription's topic following the successful completion of the CreateSnapshot - # request. Format is `projects/`project`/subscriptions/`sub``. + # Required. Identifier. The subscription whose backlog the snapshot retains. + # Specifically, the created snapshot is guaranteed to retain: (a) The existing + # backlog on the subscription. More precisely, this is defined as the messages + # in the subscription's backlog that are unacknowledged upon the successful + # completion of the `CreateSnapshot` request; as well as: (b) Any messages + # published to the subscription's topic following the successful completion of + # the CreateSnapshot request. Format is `projects/`project`/subscriptions/`sub``. # Corresponds to the JSON property `subscription` # @return [String] attr_accessor :subscription @@ -2144,12 +2144,12 @@ class Subscription # @return [Array] attr_accessor :message_transforms - # Required. The name of the subscription. It must have the format `"projects/` - # project`/subscriptions/`subscription`"`. ``subscription`` must start with a - # letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (` - # %`). It must be between 3 and 255 characters in length, and it must not start - # with `"goog"`. + # Required. Identifier. The name of the subscription. It must have the format `" + # projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start + # with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), + # dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or + # percent signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2194,9 +2194,9 @@ class Subscription # @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. + # Required. Identifier. 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. # Corresponds to the JSON property `topic` # @return [String] attr_accessor :topic @@ -2361,11 +2361,12 @@ class Topic # @return [Array] attr_accessor :message_transforms - # Required. The name of the topic. It must have the format `"projects/`project`/ - # topics/`topic`"`. ``topic`` must start with a letter, and contain only letters - # (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`) - # , tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and - # 255 characters in length, and it must not start with `"goog"`. + # Required. Identifier. The name of the topic. It must have the format `" + # projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and + # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`% + # `). It must be between 3 and 255 characters in length, and it must not start + # with `"goog"`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name 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 5fba74f1773..d754ed83a6d 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.63.0" + GEM_VERSION = "0.64.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251025" + REVISION = "20251212" end end end diff --git a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/service.rb b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/service.rb index 59049969492..88fd59d8610 100644 --- a/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/service.rb +++ b/generated/google-apis-pubsub_v1/lib/google/apis/pubsub_v1/service.rb @@ -549,12 +549,12 @@ def validate_schema_message(parent, validate_message_request_object = nil, field # object. Note that for REST API requests, you must specify a name in the # request. # @param [String] name - # Required. User-provided name for this snapshot. If the name is not provided in - # the request, the server will assign a random name for this snapshot on the - # same project as the subscription. Note that for REST API requests, you must - # specify a name. See the [resource name rules](https://cloud.google.com/pubsub/ - # docs/pubsub-basics#resource_names). Format is `projects/`project`/snapshots/` - # snap``. + # Required. Identifier. User-provided name for this snapshot. If the name is not + # provided in the request, the server will assign a random name for this + # snapshot on the same project as the subscription. Note that for REST API + # requests, you must specify a name. See the [resource name rules](https://cloud. + # google.com/pubsub/docs/pubsub-basics#resource_names). Format is `projects/` + # project`/snapshots/`snap``. # @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -594,8 +594,8 @@ def create_snapshot(name, create_snapshot_request_object = nil, fields: nil, quo # with the same name, but the new one has no association with the old snapshot # or its subscription, unless the same subscription is specified. # @param [String] snapshot - # Required. The name of the snapshot to delete. Format is `projects/`project`/ - # snapshots/`snap``. + # Required. Identifier. The name of the snapshot to delete. Format is `projects/` + # project`/snapshots/`snap``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -629,8 +629,8 @@ def delete_project_snapshot(snapshot, fields: nil, quota_user: nil, options: nil # acknowledgment state of messages in an existing subscription to the state # captured by a snapshot. # @param [String] snapshot - # Required. The name of the snapshot to get. Format is `projects/`project`/ - # snapshots/`snap``. + # Required. Identifier. The name of the snapshot to get. Format is `projects/` + # project`/snapshots/`snap``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -708,8 +708,8 @@ def get_project_snapshot_iam_policy(resource, options_requested_policy_version: # message acknowledgments in bulk. That is, you can set the acknowledgment state # of messages in an existing subscription to the state captured by a snapshot. # @param [String] project - # Required. The name of the project in which to list snapshots. Format is ` - # projects/`project-id``. + # Required. Identifier. The name of the project in which to list snapshots. + # Format is `projects/`project-id``. # @param [Fixnum] page_size # Optional. Maximum number of snapshots to return. # @param [String] page_token @@ -906,12 +906,12 @@ def acknowledge_subscription(subscription, acknowledge_request_object = nil, fie # is populated in the returned Subscription object. Note that for REST API # requests, you must specify a name in the request. # @param [String] name - # Required. The name of the subscription. It must have the format `"projects/` - # project`/subscriptions/`subscription`"`. ``subscription`` must start with a - # letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (` - # %`). It must be between 3 and 255 characters in length, and it must not start - # with `"goog"`. + # Required. Identifier. The name of the subscription. It must have the format `" + # projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start + # with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), + # dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or + # percent signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. # @param [Google::Apis::PubsubV1::Subscription] subscription_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -948,8 +948,8 @@ def create_subscription(name, subscription_object = nil, fields: nil, quota_user # but the new one has no association with the old subscription or its topic # unless the same topic is specified. # @param [String] subscription - # Required. The subscription to delete. Format is `projects/`project`/ - # subscriptions/`sub``. + # Required. Identifier. The subscription to delete. Format is `projects/`project` + # /subscriptions/`sub``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1013,8 +1013,8 @@ def detach_project_subscription(subscription, fields: nil, quota_user: nil, opti # Gets the configuration details of a subscription. # @param [String] subscription - # Required. The name of the subscription to get. Format is `projects/`project`/ - # subscriptions/`sub``. + # Required. Identifier. The name of the subscription to get. Format is `projects/ + # `project`/subscriptions/`sub``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1089,8 +1089,8 @@ def get_project_subscription_iam_policy(resource, options_requested_policy_versi # Lists matching subscriptions. # @param [String] project - # Required. The name of the project in which to list subscriptions. Format is ` - # projects/`project-id``. + # Required. Identifier. The name of the project in which to list subscriptions. + # Format is `projects/`project-id``. # @param [Fixnum] page_size # Optional. Maximum number of subscriptions to return. # @param [String] page_token @@ -1206,12 +1206,12 @@ def modify_subscription_push_config(subscription, modify_push_config_request_obj # update mask. Note that certain properties of a subscription, such as its topic, # are not modifiable. # @param [String] name - # Required. The name of the subscription. It must have the format `"projects/` - # project`/subscriptions/`subscription`"`. ``subscription`` must start with a - # letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (` - # %`). It must be between 3 and 255 characters in length, and it must not start - # with `"goog"`. + # Required. Identifier. The name of the subscription. It must have the format `" + # projects/`project`/subscriptions/`subscription`"`. ``subscription`` must start + # with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), + # dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or + # percent signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. # @param [Google::Apis::PubsubV1::UpdateSubscriptionRequest] update_subscription_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1394,11 +1394,12 @@ def test_subscription_iam_permissions(resource, test_iam_permissions_request_obj # Creates the given topic with the given name. See the [resource name rules] ( # https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). # @param [String] name - # Required. The name of the topic. It must have the format `"projects/`project`/ - # topics/`topic`"`. ``topic`` must start with a letter, and contain only letters - # (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`) - # , tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and - # 255 characters in length, and it must not start with `"goog"`. + # Required. Identifier. The name of the topic. It must have the format `" + # projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and + # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`% + # `). It must be between 3 and 255 characters in length, and it must not start + # with `"goog"`. # @param [Google::Apis::PubsubV1::Topic] topic_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1435,8 +1436,8 @@ def create_topic(name, topic_object = nil, fields: nil, quota_user: nil, options # subscriptions. Existing subscriptions to this topic are not deleted, but their # `topic` field is set to `_deleted-topic_`. # @param [String] topic - # Required. Name of the topic to delete. Format is `projects/`project`/topics/` - # topic``. + # Required. Identifier. Name of the topic to delete. Format is `projects/` + # project`/topics/`topic``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1466,8 +1467,8 @@ def delete_topic(topic, fields: nil, quota_user: nil, options: nil, &block) # Gets the configuration of a topic. # @param [String] topic - # Required. The name of the topic to get. Format is `projects/`project`/topics/` - # topic``. + # Required. Identifier. The name of the topic to get. Format is `projects/` + # project`/topics/`topic``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1542,8 +1543,8 @@ def get_project_topic_iam_policy(resource, options_requested_policy_version: nil # Lists matching topics. # @param [String] project - # Required. The name of the project in which to list topics. Format is `projects/ - # `project-id``. + # Required. Identifier. The name of the project in which to list topics. Format + # is `projects/`project-id``. # @param [Fixnum] page_size # Optional. Maximum number of topics to return. # @param [String] page_token @@ -1582,11 +1583,12 @@ def list_topics(project, page_size: nil, page_token: nil, fields: nil, quota_use # Updates an existing topic by updating the fields specified in the update mask. # Note that certain properties of a topic are not modifiable. # @param [String] name - # Required. The name of the topic. It must have the format `"projects/`project`/ - # topics/`topic`"`. ``topic`` must start with a letter, and contain only letters - # (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`) - # , tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and - # 255 characters in length, and it must not start with `"goog"`. + # Required. Identifier. The name of the topic. It must have the format `" + # projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, and + # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`% + # `). It must be between 3 and 255 characters in length, and it must not start + # with `"goog"`. # @param [Google::Apis::PubsubV1::UpdateTopicRequest] update_topic_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1620,8 +1622,8 @@ def patch_project_topic(name, update_topic_request_object = nil, fields: nil, qu # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does # not exist. # @param [String] topic - # Required. The messages in the request will be published on this topic. Format - # is `projects/`project`/topics/`topic``. + # Required. Identifier. The messages in the request will be published on this + # topic. Format is `projects/`project`/topics/`topic``. # @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object # @param [String] fields # Selector specifying which fields to include in a partial response.