REST Resource: enterprises.structures.rooms

  • The Room resource represents sub-spaces within a structure, like rooms in a hotel or apartment.

  • Rooms have traits and are identified by a unique resource name.

  • You can get information about individual rooms or list all rooms managed by an enterprise using the provided methods.

Resource: Room

Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.

JSON representation
{
  "name": string,
  "traits": {
    object
  }
}
Fields
name

string

Output only. The resource name of the room. For example: "enterprises/XYZ/structures/ABC/rooms/123".

traits

object (Struct format)

Room traits.

Methods

get

Gets a room managed by the enterprise.

list

Lists rooms managed by the enterprise.