The Business Profile Performance API is now launched! Migration work is required.
Review the deprecation schedule and instructions to migrate over to new v1 APIs from older deprecated v4 API.
Help us improve the food menu experience by filling in this survey to better understand what place, menu, and dish attributes you can provide about the merchants you support

MetricValue

A value for a single Metric from a starting time.

JSON representation
{
  "metric": enum (Metric),
  "totalValue": {
    object (DimensionalMetricValue)
  },
  "dimensionalValues": [
    {
      object (DimensionalMetricValue)
    }
  ]
}
Fields
metric

enum (Metric)

The metric for which the value applies.

totalValue

object (DimensionalMetricValue)

The total aggregated value for this metric. Set for the AGGREGATED_TOTAL option.

dimensionalValues[]

object (DimensionalMetricValue)

Dimensional values for this metric.

DimensionalMetricValue

A value for a single metric with a given time dimension.

JSON representation
{
  "metricOption": enum (MetricOption),
  "timeDimension": {
    object (TimeDimension)
  },
  "value": string
}
Fields
metricOption

enum (MetricOption)

The option that requested this dimensional value.

timeDimension

object (TimeDimension)

The dimension for the value.

value

string (Int64Value format)

The value. If no value is set, then the requested data is missing.

TimeDimension

The dimension for which data is divided over.

JSON representation
{
  "dayOfWeek": enum (DayOfWeek),
  "timeOfDay": {
    object (TimeOfDay)
  },
  "timeRange": {
    object (TimeRange)
  }
}
Fields
dayOfWeek

enum (DayOfWeek)

The day of the week ("MONDAY" to "SUNDAY") this value corresponds to. Set for BREAKDOWN_DAY_OF_WEEK option.

timeOfDay

object (TimeOfDay)

The hour of the day (0 to 23) this value corresponds to. Set for BREAKDOWN_HOUR_OF_DAY option.

timeRange

object (TimeRange)

The range of time this value covers. Set for AGGREGATED_TOTAL and AGGREGATED_DAILY options.