View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity (google_api_ai_platform v0.13.0)

A duration of time expressed in time granularity units.

Attributes

  • quantity (type: String.t, default: nil) - The number of granularity_units between data points in the training data. If granularity_unit is minute, can be 1, 5, 10, 15, or 30. For all other values of granularity_unit, must be 1.
  • unit (type: String.t, default: nil) - The time granularity unit of this time period. The supported units are: "minute" "hour" "day" "week" "month" "year"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity{
    quantity: String.t() | nil,
    unit: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.