Skip to content

Commit 9be8fcb

Browse files
feat: Automated regeneration of chat v1 client (googleapis#23355)
Auto-created at 2025-06-08 10:17:07 +0000 using the toys pull request generator.
1 parent ee15b79 commit 9be8fcb

File tree

3 files changed

+45
-22
lines changed

3 files changed

+45
-22
lines changed

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

3+
### v0.123.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250529
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.122.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250516

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

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

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,18 @@ def complete_import_space(name, complete_import_space_request_object = nil, fiel
380380
# /www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/
381381
# auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
382382
# spaces only) When authenticating as an app, the `space.customer` field must be
383-
# set in the request. Space membership upon creation depends on whether the
384-
# space is created in `Import mode`: * **Import mode:** No members are created. *
385-
# **All other modes:** The calling user is added as a member. This is: * The
386-
# app itself when using app authentication. * The human user when using user
387-
# authentication. If you receive the error message `ALREADY_EXISTS` when
388-
# creating a space, try a different `displayName`. An existing space within the
389-
# Google Workspace organization might already use this display name.
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
392+
# receive the error message `ALREADY_EXISTS` when creating a space, try a
393+
# different `displayName`. An existing space within the Google Workspace
394+
# organization might already use this display name.
390395
# @param [Google::Apis::ChatV1::Space] space_object
391396
# @param [String] request_id
392397
# Optional. A unique identifier for this request. A random UUID is recommended.
@@ -544,7 +549,12 @@ def find_space_direct_message(name: nil, fields: nil, quota_user: nil, options:
544549
# authentication grants administrator privileges when an administrator account
545550
# authenticates, `use_admin_access` is `true`, and one of the following
546551
# authorization scopes is used: - `https://www.googleapis.com/auth/chat.admin.
547-
# spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces`
552+
# spaces.readonly` - `https://www.googleapis.com/auth/chat.admin.spaces` App
553+
# authentication has the following limitations: - `space.access_settings` is
554+
# only populated when using the `chat.app.spaces` scope. - `space.
555+
# predefind_permission_settings` and `space.permission_settings` are only
556+
# populated when using the `chat.app.spaces` scope, and only for spaces the app
557+
# created.
548558
# @param [String] name
549559
# Required. Resource name of the space, in the form `spaces/`space``. Format: `
550560
# spaces/`space``
@@ -661,7 +671,10 @@ def list_spaces(filter: nil, page_size: nil, page_token: nil, fields: nil, quota
661671
# spaces only) - User authentication grants administrator privileges when an
662672
# administrator account authenticates, `use_admin_access` is `true`, and the
663673
# following authorization scopes is used: - `https://www.googleapis.com/auth/
664-
# chat.admin.spaces`
674+
# chat.admin.spaces` App authentication has the following limitations: - To
675+
# update either `space.predefined_permission_settings` or `space.
676+
# permission_settings`, the app must be the space creator. - Updating the `space.
677+
# access_settings.audience` is not supported for app authentication.
665678
# @param [String] name
666679
# Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
667680
# ` represents the system-assigned ID for the space. You can obtain the space ID
@@ -942,12 +955,15 @@ def setup_space(set_up_space_request_object = nil, fields: nil, quota_user: nil,
942955
# User authentication grants administrator privileges when an administrator
943956
# account authenticates, `use_admin_access` is `true`, and the following
944957
# authorization scope is used: - `https://www.googleapis.com/auth/chat.admin.
945-
# memberships` For example usage, see: - [Invite or add a user to a space](https:
946-
# //developers.google.com/workspace/chat/create-members#create-user-membership).
947-
# - [Invite or add a Google Group to a space](https://developers.google.com/
948-
# workspace/chat/create-members#create-group-membership). - [Add the Chat app to
949-
# a space](https://developers.google.com/workspace/chat/create-members#create-
950-
# membership-calling-api).
958+
# memberships` App authentication is not supported for the following use cases: -
959+
# Inviting users external to the Workspace organization that owns the space. -
960+
# Adding a Google Group to a space. - Adding a Chat app to a space. For example
961+
# usage, see: - [Invite or add a user to a space](https://developers.google.com/
962+
# workspace/chat/create-members#create-user-membership). - [Invite or add a
963+
# Google Group to a space](https://developers.google.com/workspace/chat/create-
964+
# members#create-group-membership). - [Add the Chat app to a space](https://
965+
# developers.google.com/workspace/chat/create-members#create-membership-calling-
966+
# api).
951967
# @param [String] parent
952968
# Required. The resource name of the space for which to create the membership.
953969
# Format: spaces/`space`
@@ -1007,10 +1023,12 @@ def create_space_member(parent, membership_object = nil, use_admin_access: nil,
10071023
# only) - User authentication grants administrator privileges when an
10081024
# administrator account authenticates, `use_admin_access` is `true`, and the
10091025
# following authorization scope is used: - `https://www.googleapis.com/auth/chat.
1010-
# admin.memberships` To delete memberships for space managers, the requester
1011-
# must be a space manager. If you're using [app authentication](https://
1012-
# developers.google.com/workspace/chat/authenticate-authorize-chat-app) the
1013-
# application must be the space creator.
1026+
# admin.memberships` App authentication is not supported for the following use
1027+
# cases: - Removing a Google Group from a space. - Removing a Chat app from a
1028+
# space. To delete memberships for space managers, the requester must be a space
1029+
# manager. If you're using [app authentication](https://developers.google.com/
1030+
# workspace/chat/authenticate-authorize-chat-app) the Chat app must be the space
1031+
# creator.
10141032
# @param [String] name
10151033
# Required. Resource name of the membership to delete. Chat apps can delete
10161034
# human users' or their own memberships. Chat apps can't delete other apps'

0 commit comments

Comments
 (0)