RoomInfo स्कीमा

sdm.structures.traits.RoomInfo

यह ट्रेट, कमरे से जुड़ी जानकारी वाले हर कमरे के लिए होती है.

फ़ील्ड

फ़ील्ड ब्यौरा डेटा टाइप
customName कमरे का कस्टम नाम.

यह Google Home ऐप्लिकेशन में दिए गए नाम से मेल खाता है.

string
Example: "Master Bedroom"

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"
    }
  }
}

निर्देश

इस ट्रेट के लिए कोई निर्देश उपलब्ध नहीं है.

गड़बड़ियां

एपीआई में गड़बड़ी के कोड की पूरी सूची देखने के लिए, एपीआई में गड़बड़ी के कोड का रेफ़रंस देखें.