REST Resource: enterprises.structures
Ресурс: Структура
Ресурс структуры представляет собой экземпляр дома или гостиничного номера, управляемого предприятием.
JSON-представление |
---|
{
"name": string,
"traits": {
object
}
} |
Поля |
---|
name | string Только вывод. Имя ресурса структуры. Например: «предприятия/XYZ/структуры/ABC». |
traits | object ( Struct format) Структурные особенности. |
Методы |
---|
| Получает структуру, управляемую предприятием. |
| Перечисляет структуры, находящиеся под управлением предприятия. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-14 UTC.
[null,null,["Последнее обновление: 2024-11-14 UTC."],[[["Structure resource represents an enterprise-managed home or hotel room with a name and traits."],["Structures can be retrieved individually using the `get` method or listed for an enterprise via the `list` method."],["The resource is represented in JSON format with `name` and `traits` fields containing structure details."]]],["The document defines a \"Structure\" resource, representing a managed home or hotel room. Its JSON representation includes a `name` (a unique identifier) and `traits` (structure-specific features). The resource provides two methods: `get`, to retrieve a specific structure by its identifier, and `list`, to retrieve a collection of all the structures managed by the enterprise. The traits of a structure is represented by a google.protobuf.Struct.\n"]]