REST Resource: enterprises.structures.rooms
Tài nguyên: Room
Tài nguyên phòng là một thực thể không gian phụ trong một kết cấu, chẳng hạn như các phòng trong dãy phòng khách sạn hoặc căn hộ cho thuê.
Biểu diễn dưới dạng JSON |
{
"name": string,
"traits": {
object
}
} |
Trường |
name |
string
Chỉ có đầu ra. Tên tài nguyên của phòng. Ví dụ: "enterprises/XYZ/structures/ABC/rooms/123".
|
traits |
object (Struct format)
Đặc điểm của phòng.
|
Phương thức |
|
Có phòng do doanh nghiệp quản lý. |
|
Liệt kê các phòng do doanh nghiệp quản lý. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-20 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]