Smart Device Management API . enterprises . structures

Instance Methods

rooms()

Returns the rooms Resource.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a structure managed by the enterprise.

list(parent, filter=None, x__xgafv=None)

Lists structures managed by the enterprise.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a structure managed by the enterprise.

Args:
  name: string, The name of the structure requested. For example: "enterprises/XYZ/structures/ABC". (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Structure resource represents an instance of enterprise managed home or hotel room.
  "name": "A String", # Output only. The resource name of the structure. For example: "enterprises/XYZ/structures/ABC".
  "traits": { # Structure traits.
    "a_key": "", # Properties of the object.
  },
}
list(parent, filter=None, x__xgafv=None)
Lists structures managed by the enterprise.

Args:
  parent: string, The parent enterprise to list structures under. E.g. "enterprises/XYZ". (required)
  filter: string, Optional filter to list structures.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for SmartDeviceManagementService.ListStructures
  "structures": [ # The list of structures.
    { # Structure resource represents an instance of enterprise managed home or hotel room.
      "name": "A String", # Output only. The resource name of the structure. For example: "enterprises/XYZ/structures/ABC".
      "traits": { # Structure traits.
        "a_key": "", # Properties of the object.
      },
    },
  ],
}