Method: spaces.get
HTTP 요청
GET https://chat.googleapis.com/v1/{name=spaces/*}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
name |
string
필수입니다. spaces/{space} 형식의 스페이스 리소스 이름입니다. 형식: spaces/{space}
|
쿼리 매개변수
매개변수 |
useAdminAccess |
boolean
선택사항입니다. true 인 경우 메서드는 사용자의 Google Workspace 관리자 권한을 사용하여 실행됩니다. 호출하는 사용자는 채팅 및 스페이스 대화 관리 권한이 있는 Google Workspace 관리자여야 합니다. chat.admin.spaces 또는 chat.admin.spaces.readonly OAuth 2.0 범위가 필요합니다.
|
응답 본문
성공한 경우 응답 본문에 Space
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/chat.admin.spaces
https://www.googleapis.com/auth/chat.admin.spaces.readonly
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.bot
https://www.googleapis.com/auth/chat.app.spaces
자세한 내용은 승인 가이드를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-27(UTC)
[null,null,["최종 업데이트: 2025-02-27(UTC)"],[[["Returns detailed information about a Google Chat space, including its properties and settings."],["Requires a specific HTTP request structure using the space's resource name as a path parameter."],["Offers optional use of administrator privileges via a query parameter for authorized users."],["Supports various authentication methods, including app and user authentication with specific OAuth scopes for authorization."],["Provides a comprehensive response containing details about the space upon successful execution."]]],["This describes retrieving details about a space using a `GET` request to `https://chat.googleapis.com/v1/{name=spaces/*}`. The space's resource name is a required path parameter. Optional `useAdminAccess` query parameter allows execution with admin privileges. The request body is empty. A successful response returns a Space object. Authentication requires specific OAuth scopes, and it supports both App and User authentication, including admin access. The request also contains an ability to test the request directly.\n"]]