View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeShiftedRelativeDateTime (google_api_content_warehouse v0.2.0)
Attributes
-
base(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime.t, 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.t, default:nil) - -
shiftAmount(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity.t, default:nil) - -
shiftPast(type:boolean(), default:nil) - If true, shifting to the past; if false, shifting to the future.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.