View Source GoogleApi.AnalyticsData.V1beta.Model.MetricHeader (google_api_analytics_data v0.14.0)

Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.

Attributes

  • name (type: String.t, default: nil) - The metric's name.
  • type (type: String.t, default: nil) - The metric's data type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsData.V1beta.Model.MetricHeader{
  name: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.