Method: spaces.patch
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
更新會議空間的詳細資料。
如需範例說明,請參閱「更新會議空間」。
HTTP 要求
PATCH https://meet.googleapis.com/v2/{space.name=spaces/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
space.name |
string
不可變動。聊天室的資源名稱。 格式:spaces/{space} 。 {space} 是空間的資源 ID。這是由伺服器產生的不重複 ID,且區分大小寫。例如 jQCFfuBOdN5z 。
詳情請參閱「Meet 如何識別會議空間」。
|
查詢參數
參數 |
updateMask |
string (FieldMask format)
選用設定。欄位遮罩用於指定要更新的聊天室欄位。如果未提供 updateMask(未設定、以空白路徑設定,或只有 "" 做為路徑),則預設會更新要求中所有提供值的欄位。使用「*」做為 updateMask 會更新所有欄位,包括刪除要求中未設定的欄位。
|
回應主體
如果成功,回應主體會包含 Space
的執行例項。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.settings
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Method: spaces.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates details about a meeting space.\n\nFor an example, see [Update a meeting space](https://developers.google.com/workspace/meet/api/guides/meeting-spaces#update-meeting-space).\n\n### HTTP request\n\n`PATCH https://meet.googleapis.com/v2/{space.name=spaces/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `space.name` | `string` Immutable. Resource name of the space. Format: `spaces/{space}`. `{space}` is the resource identifier for the space. It's a unique, server-generated ID and is case sensitive. For example, `jQCFfuBOdN5z`. 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### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Optional. Field mask used to specify the fields to be updated in the space. If updateMask isn't provided(not set, set with empty paths, or only has \"\" as paths), it defaults to update all fields provided with values in the request. Using \"\\*\" as updateMask will update all fields, including deleting fields not set in the request. |\n\n### Request body\n\nThe request body contains an instance of [Space](/workspace/meet/api/reference/rest/v2/spaces#Space).\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.settings`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]