NlpSemanticParsingDatetimeRecurrent

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRecurrent


Table of Contents ▼

Jump to a specific part of the page:

Description

expressions: "every Monday after December 1" "every morning starting from this Friday". Note: if a recurrent DATE/TIME expression is bounded (limited by a finite interval or a finite count), e.g., "every monday in the next 3 months", "... at 11:00am every Monday for 4 times" the grammar will resolve it to a finite number of |range|s. Next available ID: 17.

Attributes List

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

View Attributes

Attributes

  1. countRestriction (type: integer(), default: nil)
    - How many times it repeats.
  2. exception (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime), default: nil)
    - An arbitrary exception to the recurrence. This can be an absolute point, a relative, a range or a recurrent expression. Examples: "every Tuesday except for July 13th 2021" "every Tuesday except for July 13th and November 2nd" "every second Monday except during the summer" "everyday except Thursdays" * "every Friday, except from October 1st to October 22nd"
  3. frequency (type: integer(), default: nil)
    - |frequency| is used to represent the frequency of the recurrence over a given recurrent period. E.g. "twice a week", "once a month". An unknown frequency is represented with 0, as in just "repeating".
  4. metadata (type: String.t, default: nil)
    -
  5. period (type: integer(), default: nil)
    - |period| and |unit| specify how often |start_point| or |start_range| repeats. |period| should not be 0.
  6. rangeRestriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange, default: nil)
    -
  7. relativeRangeRestriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime, default: nil)
    -
  8. restriction (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, default: nil)
    - A recurrent expression can be restricted by either a datetime |restriction| or |count_restriction| below. The restriction datetime can be expressed as an explicit range a relative datetime expression, a datetime point or a recurrent datetime. E.g. "every monday [next month]", "every second tuesday [this year]", etc. If |period| is > 0 and |restriction| is not set, repeat indefinitely. Note that this can support recurrent expressions as |restriction| as well. For example in the expression "every monday on [every other month]" where [every other month] is a restriction expressed as a recurrent datetime.
  9. start (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime), default: nil)
    - |start| is used to represent the starting points, ranges or relative datetims in a recurrent expression, for example: "every morning", (range) "everyday at 5 pm", (point) "every second monday" (relative) |start| should never contain a recurrent element.
  10. startPoint (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeAbsoluteDateTime), default: nil)
    - DO NOT USE: deprecated fields soon to be removed.
  11. startRange (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRange), default: nil)
    -
  12. startRelative (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime), default: nil)
    -
  13. target (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeTargetToFetch, default: nil)
    - The target to be fetched. This could be a named day-of-week or month (e.g., "Monday", "April"), or a date/time unit (e.g., "day", "week", "month").
  14. timeInterval (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeQuantity, default: nil)
    - |time_interval| is a time amount or duration, used to described the time interval between the instances of the recurrence. (e.g. "every 3 hours", "every 35 minutes", "every 2 months and 15 days", etc)
  15. unit (type: String.t, default: nil)
    -

Type

Function

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

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