@@ -380,13 +380,18 @@ def complete_import_space(name, complete_import_space_request_object = nil, fiel
380
380
# /www.googleapis.com/auth/chat.spaces.create` - `https://www.googleapis.com/
381
381
# auth/chat.spaces` - `https://www.googleapis.com/auth/chat.import` (import mode
382
382
# 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.
390
395
# @param [Google::Apis::ChatV1::Space] space_object
391
396
# @param [String] request_id
392
397
# 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:
544
549
# authentication grants administrator privileges when an administrator account
545
550
# authenticates, `use_admin_access` is `true`, and one of the following
546
551
# 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.
548
558
# @param [String] name
549
559
# Required. Resource name of the space, in the form `spaces/`space``. Format: `
550
560
# spaces/`space``
@@ -661,7 +671,10 @@ def list_spaces(filter: nil, page_size: nil, page_token: nil, fields: nil, quota
661
671
# spaces only) - User authentication grants administrator privileges when an
662
672
# administrator account authenticates, `use_admin_access` is `true`, and the
663
673
# 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.
665
678
# @param [String] name
666
679
# Identifier. Resource name of the space. Format: `spaces/`space`` Where ``space`
667
680
# ` 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,
942
955
# User authentication grants administrator privileges when an administrator
943
956
# account authenticates, `use_admin_access` is `true`, and the following
944
957
# 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).
951
967
# @param [String] parent
952
968
# Required. The resource name of the space for which to create the membership.
953
969
# Format: spaces/`space`
@@ -1007,10 +1023,12 @@ def create_space_member(parent, membership_object = nil, use_admin_access: nil,
1007
1023
# only) - User authentication grants administrator privileges when an
1008
1024
# administrator account authenticates, `use_admin_access` is `true`, and the
1009
1025
# 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.
1014
1032
# @param [String] name
1015
1033
# Required. Resource name of the membership to delete. Chat apps can delete
1016
1034
# human users' or their own memberships. Chat apps can't delete other apps'
0 commit comments