Method: enterprises.webApps.patch
Yêu cầu HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/webApps/*}
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 ứng dụng web ở dạng enterprises/{enterpriseId}/webApps/{packageName} .
|
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 WebApp
.
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 WebApp
.
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."],[[["Updates a specified web app for an enterprise using a PATCH request to a designated URL."],["The request can specify fields to update using a field mask or update all modifiable fields by default."],["The request and successful response body both contain the web app resource data."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope."]]],["This outlines updating a web app via a PATCH request to a specified URL using gRPC Transcoding syntax. The `name` path parameter identifies the target web app. The `updateMask` query parameter specifies which fields to modify; if omitted, all modifiable fields are updated. The request and response bodies are instances of `WebApp`. The operation requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. A `Try it!` button allows to test the function.\n"]]