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

Represents properties about a matched DateTime value. Will only be populated for @sys.date-time, @sys.date and @sys.time.

Attributes

  • datetimeType (type: String.t, default: nil) - Since datetime is a superset of date, time and date&time, this field is used to indicate which type the associated DateTime object belongs to.
  • relativeDatetimeType (type: String.t, default: nil) - The relative relationship between this DateTime value and DateTime&Timezone info provided in ClassifyRequest.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTimeProperty{
    datetimeType: String.t() | nil,
    relativeDatetimeType: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.