Method: customer.devices.chromeos.commands.get
รับข้อมูลคำสั่งตามคำสั่งเฉพาะที่ออกให้กับอุปกรณ์
คำขอ HTTP
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customerId |
string
เปลี่ยนแปลงไม่ได้ รหัสของบัญชี Google Workspace
|
deviceId |
string
เปลี่ยนแปลงไม่ได้ รหัสอุปกรณ์ Chrome OS
|
commandId |
string (int64 format)
เปลี่ยนแปลงไม่ได้ รหัสคำสั่งของอุปกรณ์ Chrome OS
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ DirectoryChromeosdevicesCommand
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/admin.directory.device.chromeos
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-15 UTC
[null,null,["อัปเดตล่าสุด 2024-05-15 UTC"],[[["Retrieves details for a specific command previously issued to a Chrome OS device within a Google Workspace account."],["The request requires providing the customer ID, device ID, and the specific command ID."],["An empty request body is needed, and a successful response provides a `DirectoryChromeosdevicesCommand` object containing the command data."],["Authorization requires specific OAuth scopes related to Chrome OS device management within the Google Workspace domain."]]],["This API endpoint retrieves data for a specific command issued to a Chrome OS device. The request uses a `GET` method with a URL containing the `customerId`, `deviceId`, and `commandId` as path parameters. The request body must be empty. A successful response returns a `DirectoryChromeosdevicesCommand` instance. Authorization requires either the `admin.directory.device.chromeos` or `admin.directory.device.chromeos.readonly` OAuth scope.\n"]]