GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeShiftedRelativeDateTime
Table of Contents ▼
Jump to a specific part of the page:
Description
No description given.Attributes List
This module has the following attributes (case-insensitive ascending order):
View Attributes
Attributes
-
base
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime
, default:nil
)
- The base could be an absolute datetime point for example: "March 1", a relative datetime point, for example: "2 days before March 1" or a symbolic base type, for example: CURRENT_DATETIME. This could also be used to combine EXPLICIT_PRONOUN with the actual value of that reference being setup as a datetime point in base or relative_base -
baseType
(type:String.t
, default:nil
)
- -
metadata
(type:String.t
, default:nil
)
- Can be used to tag relative datetime expressions with metadata information in the grammar. -
relativeBase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties
, default:nil
)
- -
shiftAmount
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity
, default:nil
)
- -
shiftPast
(type:boolean()
, default:nil
)
- If true, shifting to the past; if false, shifting to the future.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeShiftedRelativeDateTime{
base: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t() | nil,
baseType: String.t() | nil,
metadata: String.t() | nil,
relativeBase: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties.t() | nil,
shiftAmount: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t() | nil,
shiftPast: boolean() | nil
}
base: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t() | nil,
baseType: String.t() | nil,
metadata: String.t() | nil,
relativeBase: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties.t() | nil,
shiftAmount: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t() | nil,
shiftPast: boolean() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeShiftedRelativeDateTime