REST Resource: enterprises.structures.rooms
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: कमरा
कमरों का संसाधन, स्ट्रक्चर के अंदर सब-स्पेस के उदाहरण को दिखाता है. जैसे, होटल के सुइट या किराये के अपार्टमेंट में मौजूद कमरे.
JSON के काेड में दिखाना |
{
"name": string,
"traits": {
object
}
} |
फ़ील्ड |
name |
string
सिर्फ़ आउटपुट के लिए. रूम के संसाधन का नाम. उदाहरण के लिए: "enterprises/XYZ/structureds/ABC/rooms/123".
|
traits |
object (Struct format)
कमरे की विशेषताएं.
|
तरीके |
|
ऐसा कमरा बुक करें जिसे एंटरप्राइज़ मैनेज कर रहा हो. |
|
उन कमरों की सूची बनाता है जिन्हें एंटरप्राइज़ मैनेज करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Room resource represents sub-spaces within a structure, like rooms in a hotel or apartment.\u003c/p\u003e\n"],["\u003cp\u003eRooms have traits and are identified by a unique resource name.\u003c/p\u003e\n"],["\u003cp\u003eYou can get information about individual rooms or list all rooms managed by an enterprise using the provided methods.\u003c/p\u003e\n"]]],["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"],null,["- [Resource: Room](#Room)\n - [JSON representation](#Room.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Room Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.\n\n| JSON representation |\n|--------------------------------------------------|\n| ``` { \"name\": string, \"traits\": { object } } ``` |\n\n| Fields ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name of the room. For example: \"enterprises/XYZ/structures/ABC/rooms/123\". |\n| `traits` | `object (`[Struct](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Struct)` format)` Room traits. |\n\n| Methods ||\n|---------------------------------------------------------------------------------|----------------------------------------|\n| [get](/nest/device-access/reference/rest/v1/enterprises.structures.rooms/get) | Gets a room managed by the enterprise. |\n| [list](/nest/device-access/reference/rest/v1/enterprises.structures.rooms/list) | Lists rooms managed by the enterprise. |"]]