Skip to main content

devices

Overview

Namedevices
TypeResource
Idgoogledevelopers.smartdevicemanagement.devices

Fields

NameDatatypeDescription
namestringRequired. The resource name of the device. For example: "enterprises/XYZ/devices/123".
parentRelationsarrayAssignee details of the device.
traitsobjectOutput only. Device traits.
typestringOutput 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

NameAccessible byRequired ParamsDescription
enterprises_devices_getSELECTdevicesId, enterprisesIdGets a device managed by the enterprise.
enterprises_devices_listSELECTenterprisesIdLists devices managed by the enterprise.
enterprises_devices_executeCommandEXECdevicesId, enterprisesIdExecutes a command to device managed by the enterprise.