REST Resource: enterprises.structures
Zasób: Struktura
Zasób struktury reprezentuje instancję zarządzanego przez firmę domu lub pokoju hotelowego.
Zapis JSON |
{
"name": string,
"traits": {
object
}
} |
Pola |
name |
string
Tylko dane wyjściowe. Nazwa zasobu struktury. Na przykład: „firmy/XYZ/struktury/ABC”.
|
traits |
object (Struct format)
Cechy struktury.
|
Metody |
|
Pobiera strukturę zarządzaną przez firmę. |
|
Wyświetla listę struktur zarządzanych przez firmę. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-20 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-20 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"]]