REST Resource: enterprises.structures.rooms
แหล่งข้อมูล: ห้อง
ทรัพยากรห้องแสดงถึงพื้นที่ย่อยภายในโครงสร้าง เช่น ห้องพักในชุดโรงแรมหรืออพาร์ตเมนต์ให้เช่า
การแสดง JSON |
{
"name": string,
"traits": {
object
}
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรของห้อง เช่น "enterprises/XYZ/structures/ABC/rooms/123"
|
traits |
object (Struct format)
ลักษณะของห้องพัก
|
เมธอด |
|
รับห้องที่จัดการโดยองค์กร |
|
แสดงรายการห้องที่จัดการโดยองค์กร |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-20 UTC
[null,null,["อัปเดตล่าสุด 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"]]