Method: spaces.patch
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
PATCH https://meet.googleapis.com/v2/{space.name=spaces/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
space.name |
string
Không thể thay đổi. Tên tài nguyên của không gian. Định dạng: spaces/{space} . {space} là giá trị nhận dạng tài nguyên của không gian. Đây là mã nhận dạng duy nhất do máy chủ tạo và phân biệt chữ hoa chữ thường. Ví dụ: jQCFfuBOdN5z .
Để biết thêm thông tin, hãy xem bài viết Cách Meet xác định không gian họp.
|
Tham số truy vấn
Thông số |
updateMask |
string (FieldMask format)
Không bắt buộc. Mặt nạ trường dùng để chỉ định các trường cần cập nhật trong không gian. Nếu bạn không cung cấp updateMask(không đặt, đặt với đường dẫn trống hoặc chỉ có "" làm đường dẫn), thì giá trị mặc định sẽ là cập nhật tất cả các trường được cung cấp bằng các giá trị trong yêu cầu. Việc sử dụng "*" làm updateMask sẽ cập nhật tất cả các trường, bao gồm cả việc xoá các trường không được đặt trong yêu cầu.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Space
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Space
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.settings
Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],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)."]]