@@ -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