Method: customers.configurations.patch
Cập nhật các giá trị trường của cấu hình.
Yêu cầu HTTP
PATCH https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
configuration.name |
string
Chỉ có đầu ra. Tên tài nguyên API ở định dạng customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] . Do máy chủ chỉ định.
|
Tham số truy vấn
Thông số |
updateMask |
string (FieldMask format)
Bắt buộc. Đã áp dụng mặt nạ trường cho Configuration mục tiêu trước khi cập nhật các trường. Để tìm hiểu thêm về cách sử dụng mặt nạ trường, hãy đọc FieldMask trong tài liệu về Vùng đệm giao thức. Đây là danh sách các tên trường đủ điều kiện được phân tách bằng dấu phẩy. Ví dụ: "user.displayName,photo"
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Configuration
.
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 Configuration
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidworkzerotouchemm
Để biết thêm thông tin, hãy xem bài viết Tổng quan về OAuth 2.0.
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: 2024-08-07 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-07 UTC."],[[["This endpoint updates a configuration's field values using a PATCH request."],["The request URL requires the `configuration.name` as a path parameter in the format `customers/*/configurations/*`."],["It utilizes `updateMask` as a required query parameter to specify which fields of the `Configuration` should be updated, following FieldMask format."],["The request body must contain an instance of `Configuration`, and a successful response will also return an instance of `Configuration`."],["Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This describes updating configuration field values via a PATCH request to a specific URL: `https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}`. The `configuration.name` in the URL is a required path parameter. The `updateMask` query parameter, using FieldMask format, is required to specify which fields to update. The request and response bodies use the `Configuration` resource. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope.\n"]]