devices
Overview
Name | devices |
Type | Resource |
Id | googledevelopers.smartdevicemanagement.devices |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The resource name of the device. For example: "enterprises/XYZ/devices/123". |
parentRelations | array | Assignee details of the device. |
traits | object | Output only. Device traits. |
type | string | Output only. Type of the device for general display purposes. For example: "THERMOSTAT". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
enterprises_devices_get | SELECT | devicesId, enterprisesId | Gets a device managed by the enterprise. |
enterprises_devices_list | SELECT | enterprisesId | Lists devices managed by the enterprise. |
enterprises_devices_executeCommand | EXEC | devicesId, enterprisesId | Executes a command to device managed by the enterprise. |