@@ -371,24 +371,23 @@ def complete_import_space(name, complete_import_space_request_object = nil, fiel
371
371
# authentication](https://developers.google.com/workspace/chat/authenticate-
372
372
# authorize): - [App authentication](https://developers.google.com/workspace/
373
373
# 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
392
391
# receive the error message `ALREADY_EXISTS` when creating a space, try a
393
392
# different `displayName`. An existing space within the Google Workspace
394
393
# 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
434
433
# types of [authentication](https://developers.google.com/workspace/chat/
435
434
# authenticate-authorize): - [App authentication](https://developers.google.com/
436
435
# 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`
447
445
# @param [String] name
448
446
# Required. Resource name of the space to delete. Format: `spaces/`space``
449
447
# @param [Boolean] use_admin_access
@@ -662,9 +660,8 @@ def list_spaces(filter: nil, page_size: nil, page_token: nil, fields: nil, quota
662
660
# (https://developers.google.com/workspace/chat/authenticate-authorize): - [App
663
661
# authentication](https://developers.google.com/workspace/chat/authenticate-
664
662
# 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://
668
665
# developers.google.com/workspace/chat/authenticate-authorize-chat-user) with
669
666
# one of the following authorization scopes: - `https://www.googleapis.com/auth/
670
667
# 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,
944
941
# space. Supports the following types of [authentication](https://developers.
945
942
# google.com/workspace/chat/authenticate-authorize): - [App authentication](
946
943
# 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
952
948
# scopes: - `https://www.googleapis.com/auth/chat.memberships` - `https://www.
953
949
# googleapis.com/auth/chat.memberships.app` (to add the calling app to the space)
954
950
# - `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,
1012
1008
# Supports the following types of [authentication](https://developers.google.com/
1013
1009
# workspace/chat/authenticate-authorize): - [App authentication](https://
1014
1010
# 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
1017
1012
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` -
1018
1013
# [User authentication](https://developers.google.com/workspace/chat/
1019
1014
# 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
1249
1244
# the following types of [authentication](https://developers.google.com/
1250
1245
# workspace/chat/authenticate-authorize): - [App authentication](https://
1251
1246
# 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
1254
1248
# authorization scope: - `https://www.googleapis.com/auth/chat.app.memberships` (
1255
1249
# only in spaces the app created) - [User authentication](https://developers.
1256
1250
# google.com/workspace/chat/authenticate-authorize-chat-user) with one of the
0 commit comments