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

Encapsulates metadata about the query span resolved here.

Attributes

  • meridiem (type: String.t, default: nil) - Simple enum container for exporting meridiem mentions. Note: this is marked as deprecated as we are moving to properly parse expressions with explicit meridiem information.
  • metadata (type: String.t, default: nil) - Encodes whether the datetime was phrased in a specific way, see enum above.
  • relative (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t, default: nil) - Expresses the relative DateTime query that gave rise to these grounded semantics.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties{
    meridiem: String.t() | nil,
    metadata: String.t() | nil,
    relative:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.