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/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[null,null,["อัปเดตล่าสุด 2022-11-02 UTC"],[[["Updates a specific device's information within the Spectrum Access System."],["The request requires providing the device's resource path name as a path parameter."],["You can optionally specify fields to update using the `updateMask` query parameter and a FieldMask format."],["The request body and successful response both contain a `Device` object representing the device's details."],["Authorization necessitates the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["This document outlines the process for updating a device via a PATCH request to the specified URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}`. The device's name is a required path parameter. Updates are specified through the `updateMask` query parameter, using comma-separated field names. The request body includes the `Device` instance data. A successful operation returns an updated `Device` instance in the response body. `https://www.googleapis.com/auth/sasportal` authorization scope is required.\n"]]