Name | Type | Description | Notes |
---|---|---|---|
name | string | Name of the billable metric. | |
code | string | Unique code used to identify the billable metric associated with the API request. This code associates each event with the correct metric. | |
description | string | Internal description of the billable metric. | [optional] |
field_name | string | Property of the billable metric used for aggregating usage data. This field is not required for `count_agg`. | [optional] |
aggregation_type | string | Aggregation method used to compute usage for this billable metric. Possible values are `count_agg`, `sum_agg`, `max_agg` or `unique_count_agg`. | |
group | \LagoClient\Model\BillableMetricGroup | [optional] |