View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange (google_api_content_warehouse v0.4.0)
Range has 4 use cases: 1. with an explicit begin and an explicit end, e.g. "from Monday to Wednesday." Both |begin| and |end| are filled in this case. 2. a point date/time expression is used as a range at a finer granularity. E.g., in "first Monday of this month", "this month" is used as a range. In this case, only |begin| will be filled and the |end| will be filled during the grounding process. 3. a fuzzy date/time range such as "morning" or "evening." 4. with a relative begin and a relative end, e.g. "from yesterday to next Monday." Note: this may be used in a mixture of exact/relative begin and end. Next available ID: 14.
Attributes
-
begin
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t
, default:nil
) - Deprecated fields. Do NOT use. -
beginRelative
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t
, default:nil
) - -
duration
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t
, default:nil
) - if |duration| is set, one field from start or finish must be populated, but not both. |exclusive| value is still relevant to decide if the endpoints of the range are included in the range (value defined in the start/finish fields as well as the datetime value resulting of offseting the duration over the given range endpoint). -
end
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t
, default:nil
) - -
endRelative
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t
, default:nil
) - -
exclusive
(type:boolean()
, default:nil
) - -
finish
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t
, default:nil
) - -
fuzzyRange
(type:String.t
, default:nil
) - -
metadata
(type:String.t
, default:nil
) - -
properties
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties.t
, default:nil
) - -
rangeModifier
(type:String.t
, default:nil
) - Modifier that return the appropriate subrange. For more information, see the description of RangeOfDateTimeModifier. Example: late* morning -
start
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t
, default:nil
) - |start| and |finish| are inclusive unless exclusive field is true. the values in start and finish can be an absolute point, a relative or another range. Recurrences and repeated values are not expected/allowed. -
symbolicValue
(type:String.t
, default:nil
) - The field is set if the range is the result of resolving/grounding a relative datetime expression referring to a part of the day. E.g. "morning", "afternoon", "evening", "night", "tonight", etc.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange{ begin: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t() | nil, beginRelative: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t() | nil, duration: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t() | nil, end: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t() | nil, endRelative: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t() | nil, exclusive: boolean() | nil, finish: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t() | nil, fuzzyRange: String.t() | nil, metadata: String.t() | nil, properties: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties.t() | nil, rangeModifier: String.t() | nil, start: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t() | nil, symbolicValue: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.