Method: customers.nodes.devices.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำขอ HTTP
GET https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices
URL ใช้ไวยากรณ์ gRPC Transcoding
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ ชื่อของทรัพยากรระดับบนสุด
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จํานวนสูงสุดของอุปกรณ์ที่จะแสดงผลในการตอบกลับ หากว่างเปล่าหรือมีค่าเป็น 0 อุปกรณ์ทั้งหมดจะแสดงในรายการ ต้องอยู่ในช่วง [0, 1000]
|
pageToken |
string
โทเค็นการใส่เลขหน้าที่แสดงผลจากการเรียกไปยัง devices.list ครั้งก่อน ซึ่งระบุว่าข้อมูลนี้ควรอยู่ต่อที่ใด
|
filter |
string
นิพจน์ตัวกรอง ตัวกรองควรมีรูปแบบใดรูปแบบหนึ่งต่อไปนี้ ได้แก่ "sn=123454" หรือ "displayName=MyDevice". sn สอดคล้องกับหมายเลขซีเรียลของอุปกรณ์ ตัวกรองไม่คํานึงถึงตัวพิมพ์เล็กและตัวพิมพ์ใหญ่
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ListDevicesResponse
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/sasportal
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-11-02 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2022-11-02 UTC"],[[["Lists devices under a specific node or customer within the Spectrum Access System."],["Uses a GET request with path and query parameters for filtering and pagination."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."],["Returns a ListDevicesResponse containing the requested device information."]]],["This API endpoint lists devices associated with a specified node or customer. It uses a `GET` request with a URL structured via gRPC Transcoding, including a required `parent` path parameter. Optional query parameters include `pageSize` for limiting results, `pageToken` for pagination, and `filter` for specific device searches by serial number or display name. The request body must be empty and upon success it will return a `ListDevicesResponse`. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]