Method: mobiledevices.get

透過集合功能整理內容 你可以依據偏好儲存及分類內容。

擷取行動裝置的屬性。

HTTP 要求

GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customerId

string

客戶 Google Workspace 帳戶的專屬 ID。身為帳戶管理員,您也可以使用 my_customer 別名來代表帳戶的customerIdcustomerId 也會在使用者資源中傳回。

resourceId

string

API 服務用來識別行動裝置的專屬 ID。

查詢參數

參數
projection

enum (Projection)

限制傳回一組所選欄位的資訊。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 MobileDevice 的執行例項。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/admin.directory.device.mobile
  • https://www.googleapis.com/auth/admin.directory.device.mobile.action
  • https://www.googleapis.com/auth/admin.directory.device.mobile.readonly

詳情請參閱 OAuth 2.0 總覽

Projection

列舉
BASIC 只包含基本中繼資料欄位 (例如 deviceId、model、status、type 和 status)
FULL 包含所有中繼資料欄位