情報スキーマ

Google Nest Cam(旧型) Google Nest Cam(屋内、屋外対応 / バッテリー式) Google Nest Cam with floodlight Google Nest Cam(屋内用 / 電源アダプター式) Google Nest Hub Max Google Nest Doorbell(旧型) Google Nest Doorbell(Battery Type) Google Nest Doorbell(電源直結型) Google Nest Thermostat 

sdm.devices.traits.Info

このトレイトは、デバイス関連の情報を提供するデバイスに使用します。

フィールド

フィールド 説明 データ型
customName デバイスのカスタム名。

Nest アプリのデバイスのラベル値に対応します。

string
例: 「My device」

GET リクエストとレスポンスの例

リクエスト

GET /enterprises/project-id/devices/device-id

レスポンス

{
  "name" : "enterprises/project-id/devices/device-id",
  "traits" : {
    "sdm.devices.traits.Info" : {
      "customName" : "My device"
    }
  }
}

コマンド

このトレイトで使用できるコマンドはありません。

エラー

API エラーコードの一覧については、API エラーコードのリファレンスをご覧ください。