Method: enterprises.patch
Yêu cầu HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Tên của doanh nghiệp ở dạng enterprises/{enterpriseId} .
|
Tham số truy vấn
Thông số |
updateMask |
string (FieldMask format)
Mặt nạ trường cho biết các trường cần cập nhật. Nếu bạn không đặt giá trị, tất cả các trường có thể sửa đổi sẽ được sửa đổi. Đây là danh sách tên đủ điều kiện của các trường đượ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 Enterprise
.
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 Enterprise
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidmanagement
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
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-02-19 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-02-19 UTC."],[[["This operation updates an existing enterprise using a PATCH request to the specified URL."],["You can specify fields to be updated using the `updateMask` query parameter or update all modifiable fields by leaving it unset."],["The request body should contain an `Enterprise` object with the desired modifications."],["A successful update will return the updated `Enterprise` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process of updating an enterprise via a `PATCH` request to a specific URL: `https://androidmanagement.googleapis.com/v1/{name=enterprises/*}`. The `name` path parameter specifies the enterprise ID. The `updateMask` query parameter determines which fields to modify. The request body includes the updated `Enterprise` data, and a successful response also returns an `Enterprise` instance. The operation requires `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]