[null,null,["最后更新时间 (UTC):2025-02-27。"],[[["Creates memberships for the calling Chat app, a user, or a Google Group in a specified space."],["Supports app authentication (with admin approval in Developer Preview) and user authentication (with optional admin access)."],["To use administrator privileges, set the `useAdminAccess` query parameter to `true` and ensure the user has the required permissions and scope."],["Requires specific OAuth scopes for authorization, such as `chat.app.memberships` or `chat.admin.memberships`."],["If the member has auto-accept turned off, an invitation is sent; otherwise, they are directly added to the space."]]],["This describes how to create a membership in Google Chat spaces using a `POST` request to `https://chat.googleapis.com/v1/{parent=spaces/*}/members`. Memberships can be created for a Chat app, user, or Google Group. Authentication supports app or user access, with optional administrator privileges via the `useAdminAccess` query parameter. The request includes path and query parameters and a `Membership` object in the body; the response returns the newly created `Membership`. Authorization requires specific OAuth scopes.\n"]]