Skip to content

Commit 65ca7cd

Browse files
feat: Automated regeneration of chat v1 client (googleapis#24097)
Auto-created at 2025-08-24 11:02:28 +0000 using the toys pull request generator.
1 parent be036a2 commit 65ca7cd

File tree

4 files changed

+57
-21
lines changed

4 files changed

+57
-21
lines changed

generated/google-apis-chat_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-chat_v1
22

3+
### v0.130.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250819
6+
37
### v0.129.0 (2025-08-17)
48

59
* Regenerated from discovery document revision 20250812

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5079,7 +5079,13 @@ class Message
50795079
# @return [Google::Apis::ChatV1::User]
50805080
attr_accessor :private_message_viewer
50815081

5082-
# Information about a quoted message.
5082+
# Information about a message that another message quotes. When you create a
5083+
# message, you can quote messages within the same thread, or quote a root
5084+
# message to create a new root message. However, you can't quote a message reply
5085+
# from a different thread. When you update a message, you can't add or replace
5086+
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
5087+
# see [Quote another message](https://developers.google.com/workspace/chat/
5088+
# create-messages#quote-a-message).
50835089
# Corresponds to the JSON property `quotedMessageMetadata`
50845090
# @return [Google::Apis::ChatV1::QuotedMessageMetadata]
50855091
attr_accessor :quoted_message_metadata
@@ -5424,12 +5430,21 @@ def update!(**args)
54245430
end
54255431
end
54265432

5427-
# Information about a quoted message.
5433+
# Information about a message that another message quotes. When you create a
5434+
# message, you can quote messages within the same thread, or quote a root
5435+
# message to create a new root message. However, you can't quote a message reply
5436+
# from a different thread. When you update a message, you can't add or replace
5437+
# the `quotedMessageMetadata` field, but you can remove it. For example usage,
5438+
# see [Quote another message](https://developers.google.com/workspace/chat/
5439+
# create-messages#quote-a-message).
54285440
class QuotedMessageMetadata
54295441
include Google::Apis::Core::Hashable
54305442

54315443
# Required. The timestamp when the quoted message was created or when the quoted
5432-
# message was last updated.
5444+
# message was last updated. If the message was edited, use this field, `
5445+
# last_update_time`. If the message was never edited, use `create_time`. If `
5446+
# last_update_time` doesn't match the latest version of the quoted message, the
5447+
# request fails.
54335448
# Corresponds to the JSON property `lastUpdateTime`
54345449
# @return [String]
54355450
attr_accessor :last_update_time

generated/google-apis-chat_v1/lib/google/apis/chat_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 ChatV1
1818
# Version of the google-apis-chat_v1 gem
19-
GEM_VERSION = "0.129.0"
19+
GEM_VERSION = "0.130.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 = "20250812"
25+
REVISION = "20250819"
2626
end
2727
end
2828
end

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

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,13 +1443,20 @@ def delete_space_message(name, force: nil, fields: nil, quota_user: nil, options
14431443
# message](https://developers.google.com/workspace/chat/get-messages). Supports
14441444
# the following types of [authentication](https://developers.google.com/
14451445
# workspace/chat/authenticate-authorize): - [App authentication](https://
1446-
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the
1447-
# authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
1448-
# authentication](https://developers.google.com/workspace/chat/authenticate-
1449-
# authorize-chat-user) with one of the following authorization scopes: - `https:/
1450-
# /www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/
1451-
# auth/chat.messages` Note: Might return a message from a blocked member or
1452-
# space.
1446+
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with one
1447+
# of the following authorization scopes: - `https://www.googleapis.com/auth/chat.
1448+
# bot`: When using this authorization scope, this method returns details about a
1449+
# message the Chat app has access to, like direct messages and [slash commands](
1450+
# https://developers.google.com/workspace/chat/slash-commands) that invoke the
1451+
# Chat app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [
1452+
# administrator approval](https://support.google.com/a?p=chat-app-auth) (
1453+
# available in [Developer Preview](https://developers.google.com/workspace/
1454+
# preview)). When using this authentication scope, this method returns details
1455+
# about a public message in a space. - [User authentication](https://developers.
1456+
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
1457+
# following authorization scopes: - `https://www.googleapis.com/auth/chat.
1458+
# messages.readonly` - `https://www.googleapis.com/auth/chat.messages` Note:
1459+
# Might return a message from a blocked member or space.
14531460
# @param [String] name
14541461
# Required. Resource name of the message. Format: `spaces/`space`/messages/`
14551462
# message`` If you've set a custom ID for your message, you can use the value
@@ -1484,16 +1491,24 @@ def get_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
14841491
end
14851492

14861493
# Lists messages in a space that the caller is a member of, including messages
1487-
# from blocked members and spaces. If you list messages from a space with no
1494+
# from blocked members and spaces. System messages, like those announcing new
1495+
# space members, aren't included. If you list messages from a space with no
14881496
# messages, the response is an empty object. When using a REST/HTTP interface,
14891497
# the response contains an empty JSON object, ````. For an example, see [List
14901498
# messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/
1491-
# list). Requires [user authentication](https://developers.google.com/workspace/
1492-
# chat/authenticate-authorize-chat-user) with one of the following [
1493-
# authorization scopes](https://developers.google.com/workspace/chat/
1494-
# authenticate-authorize#chat-api-scopes): - `https://www.googleapis.com/auth/
1495-
# chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages` - `
1496-
# https://www.googleapis.com/auth/chat.import` (import mode spaces only)
1499+
# list). Supports the following types of [authentication](https://developers.
1500+
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
1501+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
1502+
# with [administrator approval](https://support.google.com/a?p=chat-app-auth) in
1503+
# [Developer Preview](https://developers.google.com/workspace/preview) with the
1504+
# authorization scope: - `https://www.googleapis.com/auth/chat.app.messages.
1505+
# readonly`. When using this authentication scope, this method only returns
1506+
# public messages in a space. It doesn't include private messages. - [User
1507+
# authentication](https://developers.google.com/workspace/chat/authenticate-
1508+
# authorize-chat-user) with one of the following authorization scopes: - `https:/
1509+
# /www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/
1510+
# auth/chat.messages` - `https://www.googleapis.com/auth/chat.import` (import
1511+
# mode spaces only)
14971512
# @param [String] parent
14981513
# Required. The resource name of the space to list messages from. Format: `
14991514
# spaces/`space``
@@ -1602,7 +1617,8 @@ def list_space_messages(parent, filter: nil, order_by: nil, page_size: nil, page
16021617
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
16031618
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
16041619
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
1605-
# authentication](/chat/api/guides/auth/service-accounts).)
1620+
# authentication](/chat/api/guides/auth/service-accounts).) - `
1621+
# quoted_message_metadata` (Only allows removal of the quoted message.)
16061622
# @param [String] fields
16071623
# Selector specifying which fields to include in a partial response.
16081624
# @param [String] quota_user
@@ -1669,7 +1685,8 @@ def patch_space_message(name, message_object = nil, allow_missing: nil, update_m
16691685
# `attachment` - `cards` (Requires [app authentication](/chat/api/guides/auth/
16701686
# service-accounts).) - `cards_v2` (Requires [app authentication](/chat/api/
16711687
# guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
1672-
# authentication](/chat/api/guides/auth/service-accounts).)
1688+
# authentication](/chat/api/guides/auth/service-accounts).) - `
1689+
# quoted_message_metadata` (Only allows removal of the quoted message.)
16731690
# @param [String] fields
16741691
# Selector specifying which fields to include in a partial response.
16751692
# @param [String] quota_user

0 commit comments

Comments
 (0)