MetricHeader

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.

MetricType

A metric's value type.

Enums
METRIC_TYPE_UNSPECIFIEDUnspecified type.
TYPE_INTEGERInteger type.
TYPE_FLOATFloating point type.
TYPE_SECONDSA duration of seconds; a special floating point type.
TYPE_MILLISECONDSA duration in milliseconds; a special floating point type.
TYPE_MINUTESA duration in minutes; a special floating point type.
TYPE_HOURSA duration in hours; a special floating point type.
TYPE_STANDARDA custom metric of standard type; a special floating point type.
TYPE_CURRENCYAn amount of money; a special floating point type.
TYPE_FEETA length in feet; a special floating point type.
TYPE_MILESA length in miles; a special floating point type.
TYPE_METERSA length in meters; a special floating point type.
TYPE_KILOMETERSA length in kilometers; a special floating point type.