Skip to content

Commit c427fb2

Browse files
feat: Automated regeneration of chat v1 client (#23843)
Auto-created at 2025-08-03 10:09:27 +0000 using the toys pull request generator.
1 parent 35f172d commit c427fb2

File tree

4 files changed

+60
-65
lines changed

4 files changed

+60
-65
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.127.0 (2025-08-03)
4+
5+
* Regenerated from discovery document revision 20250727
6+
37
### v0.126.0 (2025-07-27)
48

59
* Regenerated from discovery document revision 20250720

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

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ class AccessSettings
4343
# authentication](https://developers.google.com/workspace/chat/authenticate-
4444
# authorize-chat-user) - [App authentication](https://developers.google.com/
4545
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
46-
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope
47-
# in [Developer Preview](https://developers.google.com/workspace/preview). This
48-
# field is not populated when using the `chat.bot` scope with [app
46+
# https://support.google.com/a?p=chat-app-auth) with the `chat.app.spaces` scope.
47+
# This field is not populated when using the `chat.bot` scope with [app
4948
# authentication](https://developers.google.com/workspace/chat/authenticate-
5049
# authorize-chat-app). Setting the target audience requires [user authentication]
5150
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -184,15 +183,15 @@ def update!(**args)
184183
end
185184
end
186185

187-
# Annotations can be associated with the plain-text body of the message or with
188-
# chips that link to Google Workspace resources like Google Docs or Sheets with
189-
# a `start_index` and `length` of 0. To add basic formatting to a text message,
190-
# see [Format text messages](https://developers.google.com/workspace/chat/format-
191-
# messages). Example plain-text message body: ``` Hello @FooBot how are you!" ```
192-
# The corresponding annotations metadata: ``` "annotations":[` "type":"
193-
# USER_MENTION", "startIndex":6, "length":7, "userMention": ` "user": ` "name":"
194-
# users/`user`", "displayName":"FooBot", "avatarUrl":"https://goo.gl/aeDtrS", "
195-
# type":"BOT" `, "type":"MENTION" ` `] ```
186+
# Output only. Annotations can be associated with the plain-text body of the
187+
# message or with chips that link to Google Workspace resources like Google Docs
188+
# or Sheets with `start_index` and `length` of 0. To add basic formatting to a
189+
# text message, see [Format text messages](https://developers.google.com/
190+
# workspace/chat/format-messages). Example plain-text message body: ``` Hello @
191+
# FooBot how are you!" ``` The corresponding annotations metadata: ``` "
192+
# annotations":[` "type":"USER_MENTION", "startIndex":6, "length":7, "
193+
# userMention": ` "user": ` "name":"users/`user`", "displayName":"FooBot", "
194+
# avatarUrl":"https://goo.gl/aeDtrS", "type":"BOT" `, "type":"MENTION" ` `] ```
196195
class Annotation
197196
include Google::Apis::Core::Hashable
198197

@@ -209,7 +208,7 @@ class Annotation
209208

210209
# A rich link to a resource. Rich links can be associated with the plain-text
211210
# body of the message or represent chips that link to Google Workspace resources
212-
# like Google Docs or Sheets with a with `start_index` and `length` of 0.
211+
# like Google Docs or Sheets with `start_index` and `length` of 0.
213212
# Corresponds to the JSON property `richLinkMetadata`
214213
# @return [Google::Apis::ChatV1::RichLinkMetadata]
215214
attr_accessor :rich_link_metadata
@@ -4659,7 +4658,7 @@ class Message
46594658

46604659
# Output only. Annotations can be associated with the plain-text body of the
46614660
# message or with chips that link to Google Workspace resources like Google Docs
4662-
# or Sheets with a `start_index` and `length` of 0.
4661+
# or Sheets with `start_index` and `length` of 0.
46634662
# Corresponds to the JSON property `annotations`
46644663
# @return [Array<Google::Apis::ChatV1::Annotation>]
46654664
attr_accessor :annotations
@@ -5141,13 +5140,13 @@ def update!(**args)
51415140
class QuotedMessageMetadata
51425141
include Google::Apis::Core::Hashable
51435142

5144-
# Output only. The timestamp when the quoted message was created or when the
5145-
# quoted message was last updated.
5143+
# Required. The timestamp when the quoted message was created or when the quoted
5144+
# message was last updated.
51465145
# Corresponds to the JSON property `lastUpdateTime`
51475146
# @return [String]
51485147
attr_accessor :last_update_time
51495148

5150-
# Output only. Resource name of the quoted message. Format: `spaces/`space`/
5149+
# Required. Resource name of the message that is quoted. Format: `spaces/`space`/
51515150
# messages/`message``
51525151
# Corresponds to the JSON property `name`
51535152
# @return [String]
@@ -5281,7 +5280,7 @@ def update!(**args)
52815280

52825281
# A rich link to a resource. Rich links can be associated with the plain-text
52835282
# body of the message or represent chips that link to Google Workspace resources
5284-
# like Google Docs or Sheets with a with `start_index` and `length` of 0.
5283+
# like Google Docs or Sheets with `start_index` and `length` of 0.
52855284
class RichLinkMetadata
52865285
include Google::Apis::Core::Hashable
52875286

@@ -5572,8 +5571,7 @@ class Space
55725571
# developers.google.com/admin-sdk/directory/reference/rest/v1/customers).
55735572
# Private apps can also use the `customers/my_customer` alias to create the
55745573
# space in the same Google Workspace organization as the app. For DMs, this
5575-
# field isn't populated. [Developer Preview](https://developers.google.com/
5576-
# workspace/preview).
5574+
# field isn't populated.
55775575
# Corresponds to the JSON property `customer`
55785576
# @return [String]
55795577
attr_accessor :customer
@@ -5649,9 +5647,8 @@ class Space
56495647
# Optional. Input only. Predefined space permission settings, input only when
56505648
# creating a space. If the field is not set, a collaboration space is created.
56515649
# After you create the space, settings are populated in the `PermissionSettings`
5652-
# field. Setting predefined permission settings supports: - In [Developer
5653-
# Preview](https://developers.google.com/workspace/preview), [App authentication]
5654-
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
5650+
# field. Setting predefined permission settings supports: - [App authentication](
5651+
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
56555652
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
56565653
# with the `chat.app.spaces` or `chat.app.spaces.create` scopes. - [User
56575654
# authentication](https://developers.google.com/workspace/chat/authenticate-

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.126.0"
19+
GEM_VERSION = "0.127.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 = "20250720"
25+
REVISION = "20250727"
2626
end
2727
end
2828
end

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

Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -371,24 +371,23 @@ def complete_import_space(name, complete_import_space_request_object = nil, fiel
371371
# authentication](https://developers.google.com/workspace/chat/authenticate-
372372
# authorize): - [App authentication](https://developers.google.com/workspace/
373373
# chat/authenticate-authorize-chat-app) with [administrator approval](https://
374-
# support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
375-
# developers.google.com/workspace/preview) and one of the following
376-
# authorization scopes: - `https://www.googleapis.com/auth/chat.app.spaces.
377-
# create` - `https://www.googleapis.com/auth/chat.app.spaces` - [User
378-
# authentication](https://developers.google.com/workspace/chat/authenticate-
379-
# authorize-chat-user) with one of the following authorization scopes: - `https:/
380-
# /www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/
381-
# auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
382-
# spaces only) When authenticating as an app, the `space.customer` field must be
383-
# set in the request. When authenticating as an app, the Chat app is added as a
384-
# member of the space. However, unlike human authentication, the Chat app is not
385-
# added as a space manager. By default, the Chat app can be removed from the
386-
# space by all space members. To allow only space managers to remove the app
387-
# from a space, set `space.permission_settings.manage_apps` to `managers_allowed`
388-
# . Space membership upon creation depends on whether the space is created in `
389-
# Import mode`: * **Import mode:** No members are created. * **All other modes:**
390-
# The calling user is added as a member. This is: * The app itself when using
391-
# app authentication. * The human user when using user authentication. If you
374+
# support.google.com/a?p=chat-app-auth) and one of the following authorization
375+
# scopes: - `https://www.googleapis.com/auth/chat.app.spaces.create` - `https://
376+
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
377+
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
378+
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
379+
# chat.spaces.create` - `https://www.googleapis.com/auth/chat.spaces` - `https://
380+
# www.googleapis.com/auth/chat.import` (import mode spaces only) When
381+
# authenticating as an app, the `space.customer` field must be set in the
382+
# request. When authenticating as an app, the Chat app is added as a member of
383+
# the space. However, unlike human authentication, the Chat app is not added as
384+
# a space manager. By default, the Chat app can be removed from the space by all
385+
# space members. To allow only space managers to remove the app from a space,
386+
# set `space.permission_settings.manage_apps` to `managers_allowed`. Space
387+
# membership upon creation depends on whether the space is created in `Import
388+
# mode`: * **Import mode:** No members are created. * **All other modes:** The
389+
# calling user is added as a member. This is: * The app itself when using app
390+
# authentication. * The human user when using user authentication. If you
392391
# receive the error message `ALREADY_EXISTS` when creating a space, try a
393392
# different `displayName`. An existing space within the Google Workspace
394393
# organization might already use this display name.
@@ -434,16 +433,15 @@ def create_space(space_object = nil, request_id: nil, fields: nil, quota_user: n
434433
# types of [authentication](https://developers.google.com/workspace/chat/
435434
# authenticate-authorize): - [App authentication](https://developers.google.com/
436435
# workspace/chat/authenticate-authorize-chat-app) with [administrator approval](
437-
# https://support.google.com/a?p=chat-app-auth) in [Developer Preview](https://
438-
# developers.google.com/workspace/preview) and the authorization scope: - `https:
439-
# //www.googleapis.com/auth/chat.app.delete` (only in spaces the app created) - [
440-
# User authentication](https://developers.google.com/workspace/chat/authenticate-
441-
# authorize-chat-user) with one of the following authorization scopes: - `https:/
442-
# /www.googleapis.com/auth/chat.delete` - `https://www.googleapis.com/auth/chat.
443-
# import` (import mode spaces only) - User authentication grants administrator
444-
# privileges when an administrator account authenticates, `use_admin_access` is `
445-
# true`, and the following authorization scope is used: - `https://www.
446-
# googleapis.com/auth/chat.admin.delete`
436+
# https://support.google.com/a?p=chat-app-auth) and the authorization scope: - `
437+
# https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app
438+
# created) - [User authentication](https://developers.google.com/workspace/chat/
439+
# authenticate-authorize-chat-user) with one of the following authorization
440+
# scopes: - `https://www.googleapis.com/auth/chat.delete` - `https://www.
441+
# googleapis.com/auth/chat.import` (import mode spaces only) - User
442+
# authentication grants administrator privileges when an administrator account
443+
# authenticates, `use_admin_access` is `true`, and the following authorization
444+
# scope is used: - `https://www.googleapis.com/auth/chat.admin.delete`
447445
# @param [String] name
448446
# Required. Resource name of the space to delete. Format: `spaces/`space``
449447
# @param [Boolean] use_admin_access
@@ -662,9 +660,8 @@ def list_spaces(filter: nil, page_size: nil, page_token: nil, fields: nil, quota
662660
# (https://developers.google.com/workspace/chat/authenticate-authorize): - [App
663661
# authentication](https://developers.google.com/workspace/chat/authenticate-
664662
# authorize-chat-app) with [administrator approval](https://support.google.com/a?
665-
# p=chat-app-auth) in [Developer Preview](https://developers.google.com/
666-
# workspace/preview) and one of the following authorization scopes: - `https://
667-
# www.googleapis.com/auth/chat.app.spaces` - [User authentication](https://
663+
# p=chat-app-auth) and one of the following authorization scopes: - `https://www.
664+
# googleapis.com/auth/chat.app.spaces` - [User authentication](https://
668665
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
669666
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
670667
# chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
@@ -944,11 +941,10 @@ def setup_space(set_up_space_request_object = nil, fields: nil, quota_user: nil,
944941
# space. Supports the following types of [authentication](https://developers.
945942
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
946943
# https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
947-
# with [administrator approval](https://support.google.com/a?p=chat-app-auth) in
948-
# [Developer Preview](https://developers.google.com/workspace/preview) and the
949-
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
950-
# [User authentication](https://developers.google.com/workspace/chat/
951-
# authenticate-authorize-chat-user) with one of the following authorization
944+
# with [administrator approval](https://support.google.com/a?p=chat-app-auth)
945+
# and the authorization scope: - `https://www.googleapis.com/auth/chat.app.
946+
# memberships` - [User authentication](https://developers.google.com/workspace/
947+
# chat/authenticate-authorize-chat-user) with one of the following authorization
952948
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
953949
# googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
954950
# - `https://www.googleapis.com/auth/chat.import` (import mode spaces only) -
@@ -1012,8 +1008,7 @@ def create_space_member(parent, membership_object = nil, use_admin_access: nil,
10121008
# Supports the following types of [authentication](https://developers.google.com/
10131009
# workspace/chat/authenticate-authorize): - [App authentication](https://
10141010
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
1015-
# administrator approval](https://support.google.com/a?p=chat-app-auth) in [
1016-
# Developer Preview](https://developers.google.com/workspace/preview) and the
1011+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
10171012
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
10181013
# [User authentication](https://developers.google.com/workspace/chat/
10191014
# authenticate-authorize-chat-user) with one of the following authorization
@@ -1249,8 +1244,7 @@ def list_space_members(parent, filter: nil, page_size: nil, page_token: nil, sho
12491244
# the following types of [authentication](https://developers.google.com/
12501245
# workspace/chat/authenticate-authorize): - [App authentication](https://
12511246
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) with [
1252-
# administrator approval](https://support.google.com/a?p=chat-app-auth) in [
1253-
# Developer Preview](https://developers.google.com/workspace/preview) and the
1247+
# administrator approval](https://support.google.com/a?p=chat-app-auth) and the
12541248
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
12551249
# only in spaces the app created) - [User authentication](https://developers.
12561250
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the

0 commit comments

Comments
 (0)