class SmartDeviceManagement extends Service (View source)

Service definition for SmartDeviceManagement (v1).

Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.

For more information about this service, see the API Documentation

Constants

SDM_SERVICE

See and/or control the devices that you selected.

Properties

$enterprises_devices
$enterprises_structures
$enterprises_structures_rooms
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the SmartDeviceManagement service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the SmartDeviceManagement service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.