REST Resource: enterprises.structures
Recurso: Structure
El recurso de estructura representa una instancia de una casa o una habitación de hotel administradas por una empresa.
Representación JSON |
{
"name": string,
"traits": {
object
}
} |
Campos |
name |
string
Solo salida. Es el nombre del recurso de la estructura. Por ejemplo: “empresas/XYZ/estructuras/ABC”.
|
traits |
object (Struct format)
Rasgos de estructura.
|
Métodos |
|
Obtiene una estructura que administra la empresa. |
|
Se enumeran las estructuras administradas por la empresa. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-08-20 (UTC)
[null,null,["Última actualización: 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"]]