GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTimeProperty
Table of Contents ▼
Jump to a specific part of the page:
Description
DateTimeProperty contains various metadata about the DateTime interpretation. Next field: 13
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
dateFormat
(type:String.t
, default:nil
)
- -
expandYearToCurrent
(type:boolean()
, default:nil
)
- -
hourStatus
(type:String.t
, default:nil
)
- -
inferredDateValue
(type:String.t
, default:nil
)
- -
metadata
(type:String.t
, default:nil
)
- Note: this may be changed to a repeated field in the future. -
personalReferenceMetadata
(type:GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReferenceMetadata
, default:nil
)
- Metadata about the personal reference if the date was generated from a personal reference. -
relationToReference
(type:String.t
, default:nil
)
- -
relative
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime
, default:nil
)
- Expresses the relative DateTime query that gave rise to these grounded semantics. -
sourceCalendar
(type:String.t
, default:nil
)
- -
sourceTypeList
(type:GoogleApi.ContentWarehouse.V1.Model.CopleySourceTypeList
, default:nil
)
- If the annotation was created by using personal data, we record the provenance for that data here. -
timeFormat
(type:list(String.t)
, default:nil
)
- -
timezoneIsExplicit
(type:boolean()
, default:nil
)
- True iff the timezone value in AbsoluteDateTime is explicit in the annotated text or not. In the following examples the timezone is explicit: Query Timezone -------------------------- -------- 10pst Pacific Standard Time 10 utc UTC 10 sydney time Australia Eastern Time
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTimeProperty{
dateFormat: String.t() | nil,
expandYearToCurrent: boolean() | nil,
hourStatus: String.t() | nil,
inferredDateValue: String.t() | nil,
metadata: String.t() | nil,
personalReferenceMetadata: GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReferenceMetadata.t() | nil,
relationToReference: String.t() | nil,
relative: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t() | nil,
sourceCalendar: String.t() | nil,
sourceTypeList: GoogleApi.ContentWarehouse.V1.Model.CopleySourceTypeList.t() | nil,
timeFormat: [String.t()] | nil,
timezoneIsExplicit: boolean() | nil
}
dateFormat: String.t() | nil,
expandYearToCurrent: boolean() | nil,
hourStatus: String.t() | nil,
inferredDateValue: String.t() | nil,
metadata: String.t() | nil,
personalReferenceMetadata: GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReferenceMetadata.t() | nil,
relationToReference: String.t() | nil,
relative: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t() | nil,
sourceCalendar: String.t() | nil,
sourceTypeList: GoogleApi.ContentWarehouse.V1.Model.CopleySourceTypeList.t() | nil,
timeFormat: [String.t()] | nil,
timezoneIsExplicit: boolean() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTimeProperty