NlpSemanticParsingProtoActionsOnGoogleDateTime

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTime


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. date (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate, 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.
  2. property (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTimeProperty, default: nil)
    - Property of this DateTime value that can be used to match user specification of parameters, e.g. date.recent.
  3. time (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay, default: nil)
    - Time value. Only hours and minutes are used. Hours are in 24h format.
  4. timeZone (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeZone, default: nil)
    - Timezone field specified only if this DateTime has type TIME or DATETIME.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTime{
date: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil,
property: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTimeProperty.t() | nil,
time: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeOfDay.t() | nil,
timeZone: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeTimeZone.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTime