티스토리 수익 글 보기
Method: spaces.members.get
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
-
Returns detailed information about a specific Google Chat membership within a space.
-
Supports both app and user authentication, with an option for user authentication to leverage administrator privileges.
-
Requires providing the membership's resource name in the request path, allowing the use of email aliases for member identification.
-
Optionally accepts a query parameter to utilize the user's Google Workspace administrator privileges for the request.
-
Needs authorization with specific OAuth scopes related to Chat memberships and administration.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns details about a membership. For an example, see Get details about a user’s or Google Chat app’s membership.
Supports the following types of authentication:
App authentication with one of the following authorization scopes:
https://www.googleapis.com/auth/chat.bothttps://www.googleapis.com/auth/chat.app.memberships(requires administrator approval)
User authentication with one of the following authorization scopes:
https://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/chat.memberships- User authentication grants administrator privileges when an administrator account authenticates,
useAdminAccessistrue, and one of the following authorization scopes is used:https://www.googleapis.com/auth/chat.admin.memberships.readonlyhttps://www.googleapis.com/auth/chat.admin.memberships
HTTP request
GET https://chat.googleapis.com/v1/{name=spaces/*/members/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Resource name of the membership to retrieve. To get the app’s own membership by using user authentication, you can optionally use Format: You can use the user’s email as an alias for |
Query parameters
| Parameters | |
|---|---|
useAdminAccess |
Optional. When The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege. Requires the Getting app memberships in a space isn’t supported when using admin access. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Membership.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.admin.membershipshttps://www.googleapis.com/auth/chat.admin.memberships.readonlyhttps://www.googleapis.com/auth/chat.app.membershipshttps://www.googleapis.com/auth/chat.bothttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonly
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-16 UTC.