Method: customers.configurations.patch
อัปเดตค่าในช่องของการกำหนดค่า
คำขอ HTTP
PATCH https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
configuration.name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากร API ในรูปแบบ customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] เซิร์ฟเวอร์เป็นผู้กำหนด
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ต้องระบุ มาสก์ฟิลด์ที่ใช้กับ Configuration เป้าหมายก่อนอัปเดตฟิลด์ หากต้องการดูข้อมูลเพิ่มเติมเกี่ยวกับการใช้ฟิลด์มาสก์ โปรดอ่าน FieldMask ในเอกสาร Protocol Buffers ซึ่งเป็นรายการชื่อที่ตรงตามเกณฑ์ทั้งหมดของช่องที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Configuration
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Configuration
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidworkzerotouchemm
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-07 UTC
[null,null,["อัปเดตล่าสุด 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"]]