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

Represents datetime. It can be @sys.date, @sys.time or, in some cases, @sys.date-time. Our platform doesn't track seconds, so this field is omitted. Number of seconds should be considered 0. Hour and minute can be 0 in case of dates. In case of time and dateTime, hours and minutes will represent actual time, even if both of them are 0.

Attributes

  • date (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t, default: nil) - Date value. Note, that month and day are 1 based. If this DateTime is a PARTIAL datetime, then fields have value -1, which means these fields are inferred rather than derived directly from query.
  • property (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTimeProperty.t, default: nil) - Property of this DateTime value that can be used to match user specification of parameters, e.g. date.recent.
  • time (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t, default: nil) - Time value. Only hours and minutes are used. Hours are in 24h format.
  • timeZone (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeZone.t, default: nil) - Timezone field specified only if this DateTime has type TIME or DATETIME.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.