REST Resource: enterprises.structures.rooms
Kaynak: Oda
Oda kaynağı, otel süitindeki odalar veya kiralık apartmanlar gibi bir yapı içindeki alt alanın bir örneğini temsil eder.
JSON gösterimi |
{
"name": string,
"traits": {
object
}
} |
Alanlar |
name |
string
Yalnızca çıkış. Odanın kaynak adı. Örneğin: "kurumlar/XYZ/yapılar/ABC/odalar/123".
|
traits |
object (Struct format)
Oda özellikleri.
|
Yöntemler |
|
Kuruluş tarafından yönetilen bir oda alır. |
|
Kuruluş tarafından yönetilen odaları listeler. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-20 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-20 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"]]