Google sử dụng công nghệ AI để dịch nội dung sang ngôn ngữ bạn ưu tiên. Bản dịch bằng AI có thể có lỗi.
Method: enterprises.devices.get
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Lấy một thiết bị. Các thiết bị đã xoá sẽ phản hồi bằng lỗi 404.
Yêu cầu HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
| Thông số |
name |
string
Tên của thiết bị ở dạng enterprises/{enterpriseId}/devices/{deviceId}.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Device.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidmanagement
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],["This document details retrieving a specific device using a GET request. The request URL uses gRPC Transcoding syntax and requires the device's name, structured as `enterprises/{enterpriseId}/devices/{deviceId}`, as a path parameter. The request body must be empty. A successful response returns a Device instance, while deleted devices yield a 404 error. The operation requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. There is a \"Try it!\" option for the user.\n"]]