class EnterprisesStructuresRooms extends Resource (View source)

The "rooms" collection of methods.

Typical usage is:

 $smartdevicemanagementService = new Google\Service\SmartDeviceManagement(...);
 $rooms = $smartdevicemanagementService->enterprises_structures_rooms;

Methods

get(string $name, array $optParams = [])

Gets a room managed by the enterprise. (rooms.get)

listEnterprisesStructuresRooms(string $parent, array $optParams = [])

Lists rooms managed by the enterprise. (rooms.listEnterprisesStructuresRooms)

Details

GoogleHomeEnterpriseSdmV1Room get(string $name, array $optParams = [])

Gets a room managed by the enterprise. (rooms.get)

Parameters

string $name

The name of the room requested. For example: "enterprises/XYZ/structures/ABC/rooms/123".

array $optParams

Optional parameters.

Return Value

GoogleHomeEnterpriseSdmV1Room

Exceptions

Exception

GoogleHomeEnterpriseSdmV1ListRoomsResponse listEnterprisesStructuresRooms(string $parent, array $optParams = [])

Lists rooms managed by the enterprise. (rooms.listEnterprisesStructuresRooms)

Parameters

string $parent

The parent resource name of the rooms requested. For example: "enterprises/XYZ/structures/ABC".

array $optParams

Optional parameters.

Return Value

GoogleHomeEnterpriseSdmV1ListRoomsResponse

Exceptions

Exception