UsageMetric interface
A metric describing the usage of a resource.
Properties
current |
The current value of the metric. |
limit | The quota limit for the metric. |
name | The name of the metric. |
next |
The time that the metric's value will reset. |
quota |
The quota period that determines the length of time between value resets. |
unit | The units used for the metric. |
Property Details
currentValue
The current value of the metric.
currentValue?: number
Property Value
number
limit
The quota limit for the metric.
limit?: number
Property Value
number
name
nextResetTime
The time that the metric's value will reset.
nextResetTime?: Date
Property Value
Date
quotaPeriod
The quota period that determines the length of time between value resets.
quotaPeriod?: string
Property Value
string
unit
The units used for the metric.
unit?: string
Property Value
string