Smart Device Management API . enterprises . structures . rooms

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets a room managed by the enterprise.

list(parent, x__xgafv=None)

Lists rooms managed by the enterprise.

Method Details

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

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

Returns:
  An object of the form:

    { # Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.
  "name": "A String", # Output only. The resource name of the room. For example: "enterprises/XYZ/structures/ABC/rooms/123".
  "traits": { # Room traits.
    "a_key": "", # Properties of the object.
  },
}
list(parent, x__xgafv=None)
Lists rooms managed by the enterprise.

Args:
  parent: string, The parent resource name of the rooms 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:

    { # Response message for SmartDeviceManagementService.ListRooms
  "rooms": [ # The list of rooms.
    { # Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.
      "name": "A String", # Output only. The resource name of the room. For example: "enterprises/XYZ/structures/ABC/rooms/123".
      "traits": { # Room traits.
        "a_key": "", # Properties of the object.
      },
    },
  ],
}