สคีมา RoomInfo

sdm.structures.traits.RoomInfo

ลักษณะนี้เป็นของห้องใดก็ได้สำหรับข้อมูลที่เกี่ยวข้องกับห้อง

ช่อง

ช่อง คำอธิบาย ประเภทข้อมูล
customName ชื่อที่กำหนดเองของห้อง

ตรงกับชื่อในแอป Google Home

string
เช่น "ห้องนอนใหญ่"

ตัวอย่างคำขอ GET และการตอบกลับ

ส่งคำขอคำตอบ
GET /enterprises/project-id/structures/structure-id/rooms/room-id
{
  "name" : "enterprises/project-id/structures/structure-id/rooms/room-id",
  "traits" : {
    "sdm.structures.traits.RoomInfo" : {
      "customName" : "Master Bedroom"
    }
  }
}

คำสั่ง

ไม่มีคำสั่งที่พร้อมใช้งานสำหรับลักษณะนี้

ข้อผิดพลาด

ดูรายการรหัสข้อผิดพลาดทั้งหมดของ API ได้ที่ข้อมูลอ้างอิงรหัสข้อผิดพลาดของ API