MetricMetadata

解释指标。

JSON 表示法
{
  "apiName": string,
  "uiName": string,
  "description": string,
  "deprecatedApiNames": [
    string
  ],
  "type": enum (MetricType),
  "expression": string
}
字段
apiName

string

指标名称。可在指标name 中使用。例如 eventCount

uiName

string

此指标在 Google Analytics 界面中的名称。例如 Event count

description

string

有关此指标如何使用和计算的说明。

deprecatedApiNames[]

string

此指标的名称仍然可用,但已弃用。如果填充了此字段,则此指标将在一段时间内通过 apiNamedeprecatedApiNames 之一保持可用。弃用期结束后,该指标将只在 apiName之前可用。

type

enum (MetricType)

此指标的类型。

expression

string

此派生指标的数学表达式。可用于等效报告的指标expression 字段。大多数指标不是表达式,对于非表达式,此字段为空。