REST Resource: enterprises.structures
Resource: Structure
Structure resource represents an instance of enterprise managed home or hotel room.
JSON representation |
{
"name": string,
"traits": {
object
}
} |
Fields |
name |
string
Output only. The resource name of the structure. For example: "enterprises/XYZ/structures/ABC".
|
traits |
object (Struct format)
Structure traits.
|
Methods |
|
Gets a structure managed by the enterprise. |
|
Lists structures managed by the enterprise. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[null,null,["Last updated 2024-08-07 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"]]