View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeEvent (google_api_content_warehouse v0.3.0)
This message is defined to be a representation of events that could interact with datetimes expressions through composition by shifting or fetching. For "native" datetime events like sunset, sunrise, etc the type is enough, but this should be extended as needed to represent richer event information.
Attributes
-
holiday
(type:String.t
, default:nil
) - -
moonEvent
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeMoonEventInfo.t
, default:nil
) - -
sunEvent
(type:String.t
, default:nil
) - -
type
(type:String.t
, default:nil
) -
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeEvent{ holiday: String.t() | nil, moonEvent: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeMoonEventInfo.t() | nil, sunEvent: String.t() | nil, type: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.