MetricHeader

  • Metric columns in reports are defined by a JSON representation with a name and a type.

  • Metrics used only in filters or expressions do not generate visible columns or headers in the report.

  • The name field is a string identifying the metric, while the type field specifies the metric's data type using the MetricType enum.

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.

JSON representation
{
  "name": string,
  "type": enum (MetricType)
}
Fields
name

string

The metric's name.

type

enum (MetricType)

The metric's data type.