Skip to content

Commit e821281

Browse files
feat: Automated regeneration of chat v1 client (googleapis#22401)
Auto-created at 2025-04-13 10:12:12 +0000 using the toys pull request generator.
1 parent d7ae27c commit e821281

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

generated/google-apis-chat_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-chat_v1
22

3-
### v0.120.0 (2025-04-06)
3+
### v0.120.0 (2025-04-13)
44

5-
* Regenerated from discovery document revision 20250329
5+
* Regenerated from discovery document revision 20250406
66

77
### v0.119.0 (2025-03-23)
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ChatV1
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250329"
25+
REVISION = "20250406"
2626
end
2727
end
2828
end

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -944,17 +944,23 @@ def create_space_member(parent, membership_object = nil, use_admin_access: nil,
944944
# authentication](https://developers.google.com/workspace/chat/authenticate-
945945
# authorize-chat-user) You can authenticate and authorize this method with
946946
# administrator privileges by setting the `use_admin_access` field in the
947-
# request.
947+
# request. To delete memberships for space managers, the requester must be a
948+
# space manager. If you're using [app authentication](https://developers.google.
949+
# com/workspace/chat/authenticate-authorize-chat-app) the application must be
950+
# the space creator.
948951
# @param [String] name
949952
# Required. Resource name of the membership to delete. Chat apps can delete
950953
# human users' or their own memberships. Chat apps can't delete other apps'
951954
# memberships. When deleting a human membership, requires the `chat.memberships`
952-
# scope and `spaces/`space`/members/`member`` format. You can use the email as
953-
# an alias for ``member``. For example, `spaces/`space`/members/example@gmail.
954-
# com` where `[email protected]` is the email of the Google Chat user. When
955-
# deleting an app membership, requires the `chat.memberships.app` scope and `
956-
# spaces/`space`/members/app` format. Format: `spaces/`space`/members/`member``
957-
# or `spaces/`space`/members/app`.
955+
# scope with [user authentication](https://developers.google.com/workspace/chat/
956+
# authenticate-authorize-chat-user) or the `chat.memberships.app` scope with [
957+
# app authentication](https://developers.google.com/workspace/chat/authenticate-
958+
# authorize-chat-app) and the `spaces/`space`/members/`member`` format. You can
959+
# use the email as an alias for ``member``. For example, `spaces/`space`/members/
960+
# [email protected]` where `[email protected]` is the email of the Google Chat
961+
# user. When deleting an app membership, requires the `chat.memberships.app`
962+
# scope and `spaces/`space`/members/app` format. Format: `spaces/`space`/members/
963+
# `member`` or `spaces/`space`/members/app`.
958964
# @param [Boolean] use_admin_access
959965
# Optional. When `true`, the method runs using the user's Google Workspace
960966
# administrator privileges. The calling user must be a Google Workspace

0 commit comments

Comments
 (0)