| Name | Type | Description | Notes |
|---|---|---|---|
| key | String | The metric key | |
| versionId | String | The version ID of the metric | [optional] |
| name | String | The metric name | |
| kind | KindEnum | The kind of event the metric tracks | |
| isNumeric | Boolean | For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>). | [optional] |
| unitAggregationType | UnitAggregationTypeEnum | The type of unit aggregation to use for the metric | [optional] |
| eventKey | String | The event key sent with the metric. Only relevant for custom metrics. | [optional] |
| links | Map<String, Link> | The location and content type of related resources |
| Name | Value |
|---|---|
| PAGEVIEW | "pageview" |
| CLICK | "click" |
| CUSTOM | "custom" |
| Name | Value |
|---|---|
| SUM | "sum" |
| AVERAGE | "average" |