MetricsRow

  • JSON representation depicts a row encompassing dimensions and metrics within the data.

  • Each row specifies an aggregation period, start time, dimension values, and metric values.

  • aggregationPeriod determines the granularity of data aggregation for the row (e.g., daily, weekly).

  • startTime indicates the beginning of the period represented by the row, including time for hourly aggregation.

  • dimensions and metrics arrays contain respective values corresponding to the row's data point.

Represents a row of dimensions and metrics.

JSON representation
 { 
 "aggregationPeriod" 
 : 
 enum (  AggregationPeriod 
 
) 
 , 
 "startTime" 
 : 
 { 
 object (  DateTime 
 
) 
 } 
 , 
 "dimensions" 
 : 
 [ 
 { 
 object (  DimensionValue 
 
) 
 } 
 ] 
 , 
 "metrics" 
 : 
 [ 
 { 
 object (  MetricValue 
 
) 
 } 
 ] 
 } 
Fields
aggregationPeriod

enum ( AggregationPeriod )

Granularity of the aggregation period of the row.

startTime

object ( DateTime )

Starting date (and time for hourly aggregation) of the period covered by this row.

dimensions[]

object ( DimensionValue )

Dimension columns in the row.

metrics[]

object ( MetricValue )

Metric columns in the row.

Design a Mobile Site
View Site in Mobile | Classic
Share by: