コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
情報スキーマ
sdm.structures.traits.Info
このトレイトは、構造関連情報のあらゆる構造に属します。
フィールド
項目 |
説明 |
データ型 |
customName |
ストラクチャのカスタム名。
Google Home アプリの名前に対応します。 |
string 例: 「ホテルの客室 101」 |
GET リクエストとレスポンスの例
リクエスト
GET /enterprises/project-id/structures/structure-id
レスポンス
{
"name" : "enterprises/project-id/structures/structure-id",
"traits" : {
"sdm.structures.traits.Info
" : {
"customName" : "Hotel Room 101"
}
}
}
コマンド
このトレイトで使用できるコマンドはありません。
エラー
API エラーコードの完全なリストについては、API エラーコード リファレンスをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]