View Source GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1Device (google_api_smart_device_management v0.7.0)
Device resource represents an instance of enterprise managed device in the property.
Attributes
-
name
(type:String.t
, default:nil
) - Required. The resource name of the device. For example: "enterprises/XYZ/devices/123". -
parentRelations
(type:list(GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1ParentRelation.t)
, default:nil
) - Assignee details of the device. -
traits
(type:map()
, default:nil
) - Output only. Device traits. -
type
(type:String.t
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1Device{ name: String.t() | nil, parentRelations: [ GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1ParentRelation.t() ] | nil, traits: map() | nil, type: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.