Method: spaces.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取会议室的详细信息。
如需查看示例,请参阅获取会议室。
HTTP 请求
GET https://meet.googleapis.com/v2/{name=spaces/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。聊天室的资源名称。 格式:spaces/{space} 或 spaces/{meetingCode} 。 {space} 是聊天室的资源标识符。这是服务器生成的唯一 ID,区分大小写。例如 jQCFfuBOdN5z 。
{meetingCode} 是聊天室的别名。它是一个可输入的唯一字符串,不区分大小写。例如 abc-mnop-xyz 。长度不得超过 128 个字符。
meetingCode 不应长期存储,因为它可能会与会议室解除关联,并在将来用于不同的会议室。通常,meetingCode 会在上次使用后 365 天过期。如需了解详情,请参阅了解 Google Meet 中的会议代码。
如需了解详情,请参阅Meet 如何识别会议空间。
|
响应正文
如果成功,则响应正文包含一个 Space
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
https://www.googleapis.com/auth/meetings.space.settings
如需了解详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Method: spaces.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets details about a meeting space.\n\nFor an example, see [Get a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#get-meeting-space).\n\n### HTTP request\n\n`GET https://meet.googleapis.com/v2/{name=spaces/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Resource name of the space. Format: `spaces/{space}` or `spaces/{meetingCode}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. `{meetingCode}` is an alias for the space. It's a typeable, unique character string and is non-case sensitive. For example, `abc-mnop-xyz`. The maximum length is 128 characters. A `meetingCode` shouldn't be stored long term as it can become dissociated from a meeting space and can be reused for different meeting spaces in the future. Generally, a `meetingCode` expires 365 days after last use. For more information, see [Learn about meeting codes in Google Meet](https://support.google.com/meet/answer/10710509). For more information, see [How Meet identifies a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#identify-meeting-space). |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Space](/workspace/meet/api/reference/rest/v2/spaces#Space).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/meetings.space.created`\n- `https://www.googleapis.com/auth/meetings.space.readonly`\n- `https://www.googleapis.com/auth/meetings.space.settings`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]