GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDevice
Table of Contents ▼
Jump to a specific part of the page:
Description
The device to perform an action. Both device_type and device_name are optional and they can coexist: [on my phone]: device_type = PHONE [on my nexus 4]: device_name = "nexus 4" [on my nexus phone]: device_type = PHONE, device_name = "nexus"
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
deviceName
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDeviceName
, default:nil
)
- The name of the device (Nexus 5, Nexus 10, etc). -
deviceType
(type:String.t
, default:nil
)
- The type of the device (phone, tablet, watch, etc).
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDevice{
deviceName: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDeviceName.t() | nil,
deviceType: String.t() | nil
}
deviceName: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDeviceName.t() | nil,
deviceType: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsDevice