View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTimeProperty (google_api_content_warehouse v0.3.0)

DateTimeProperty contains various metadata about the DateTime interpretation. Next field: 13

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.t, 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.t, 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.t, 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.