Method: enterprises.webApps.patch
คำขอ HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/webApps/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อเว็บแอปในรูปแบบ enterprises/{enterpriseId}/webApps/{packageName}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ฟิลด์มาสก์ที่ระบุฟิลด์ที่จะอัปเดต หากไม่ได้ตั้งค่า ระบบจะแก้ไขช่องที่แก้ไขได้ทั้งหมด ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ WebApp
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ WebApp
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidmanagement
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-19 UTC
[null,null,["อัปเดตล่าสุด 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"]]