Info Schema

sdm.structures.traits.Info

This trait belongs to any structure for structure-related information.

Fields

Field Description Data Type
customName
Custom name of the structure.

Corresponds to the name in the Google Home App.

string
Example: "Hotel Room 101"

Sample GET request and response

Request

GET /enterprises/ project-id 
/structures/ structure-id 

Response

{
  "name" : "enterprises/ project-id 
/structures/ structure-id 
",
  "traits" : {
    " sdm.structures.traits.Info 
" : {
      "customName" : "Hotel Room 101"
    }
  }
}

Commands

There are no commands available for this trait.

Errors

See the API Error Code Reference for the full list of API error codes.

Design a Mobile Site
View Site in Mobile | Classic
Share by: