GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCastDeviceAnnotation
Table of Contents ▼
Jump to a specific part of the page:
Description
Media device. Like, Chromecast, TV or Chirp. When emitted from the cast_device domain, you should expect it to be one of 3 different forms: 1) Personal Device: The annotation comes from a device we found in the user's home. device_id and name should be set, cast_device_type is set if device type is mentioned in query. e.g. "Dima's Pineapple Chirp" device_id: FOOBAR name: "Dima's Pineapple" cast_device_type: CHIRP 2) Common Device Name: The annotation comes from a model of the common names of user's device. name and cast_device_type should be set but device_id will not be. cast_device_type can be UNKNOWN. e.g. "John's Living Room" name: "John's Living Room" cast_device_type: UNKNOWN 3) Device Type: The annotation comes from a model of common cast device types. Only cast_device_type will be set. e.g. "TV" or "chromecast" cast_device_type: CHROMECAST Next ID: 9
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
castDeviceSource
(type:String.t
, default:nil
)
- -
castDeviceType
(type:String.t
, default:nil
)
- This field is populated when the user says [play X on $cast_device] and we know the type of $cast_device but cannot identify the exact device. -
creationTimestampMs
(type:String.t
, default:nil
)
- The timestamp that the device is linked with the user in milliseconds. This is inherited from the corresponding assistant DeviceSettings as is. -
deviceId
(type:String.t
, default:nil
)
- DEPRECATED: Please use device_identifier instead. -
deviceIdentifier
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId
, default:nil
)
- The identification of the device. This field is populated when the user says [play X on $device_name] and $device_name matches one of the devices linked to user's account. } oneof Media Device -
name
(type:String.t
, default:nil
)
- -
quantification
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification
, default:nil
)
- This field is populated when the user metioned quantification in the query. E.g., "2" or "all".
Type
castDeviceSource: String.t() | nil,
castDeviceType: String.t() | nil,
creationTimestampMs: String.t() | nil,
deviceId: String.t() | nil,
deviceIdentifier: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t() | nil,
name: String.t() | nil,
quantification: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaQuantification.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCastDeviceAnnotation