REST Resource: enterprises.structures.rooms
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 |
|
Gets a room managed by the enterprise. |
|
Lists rooms managed by the enterprise. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[null,null,["Last updated 2024-08-07 UTC."],[[["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."]]],["The `Room` resource represents a sub-space within a structure. It has a `name` (resource identifier) and `traits` (room-specific attributes) represented as a JSON object. Key actions include retrieving a single room's details (`get`) and listing all rooms associated with an enterprise (`list`). The resource is identified with the format: \"enterprises/XYZ/structures/ABC/rooms/123\". The format of the data of a room is: `{\"name\": string, \"traits\": {object}}`.\n"]]