View Source GoogleApi.Language.V1.Model.XPSTimestampStats (google_api_language v0.14.0)

The data statistics of a series of TIMESTAMP values.

Attributes

  • commonStats (type: GoogleApi.Language.V1.Model.XPSCommonStats.t, default: nil) -
  • granularStats (type: %{optional(String.t) => GoogleApi.Language.V1.Model.XPSTimestampStatsGranularStats.t}, default: nil) - The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).
  • medianTimestampNanos (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V1.Model.XPSTimestampStats{
  commonStats: GoogleApi.Language.V1.Model.XPSCommonStats.t() | nil,
  granularStats:
    %{
      optional(String.t()) =>
        GoogleApi.Language.V1.Model.XPSTimestampStatsGranularStats.t()
    }
    | nil,
  medianTimestampNanos: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.