Method: customers.devices.patch
คำขอ HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
device.name |
string
เอาต์พุตเท่านั้น ชื่อเส้นทางทรัพยากร
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ช่องที่จะอัปเดต รายการช่องข้อมูลครบถ้วนสมบูรณ์ที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Device
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Device
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/userinfo.email
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-26 UTC
[null,null,["อัปเดตล่าสุด 2022-09-26 UTC"],[[["This documentation outlines how to update a device using the Spectrum Access System API with a `PATCH` request to a specified endpoint."],["The request involves path and query parameters, including `device.name` for device identification and `updateMask` for specifying fields to update."],["Both the request and response bodies utilize the `Device` object, detailed in external documentation."],["Proper authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope."]]],["This document details updating a device via a PATCH request to a specified URL. The URL utilizes gRPC Transcoding and includes a `device.name` path parameter. The `updateMask` query parameter specifies which fields to modify, while the request body carries the updated `Device` instance. A successful response returns the modified `Device`. The action needs `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]