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

Pattern for a YEARLY recurrence. A YEARLY recurrence is specified using a monthly pattern and a set of months the pattern applies to. Some examples: "Every January 16" : monthly_pattern { month_day = 16; } year_month = JANUARY; "Last day of every April and August" : monthly_pattern { last_day = true; } year_month = APRIL, AUGUST

Attributes

  • monthlyPattern (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrenceMonthlyPattern.t, default: nil) - The monthly pattern to recur.
  • yearMonth (type: list(String.t), default: nil) - The months of the year to apply the pattern.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrenceYearlyPattern{
    monthlyPattern:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrenceMonthlyPattern.t()
      | nil,
    yearMonth: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.