The time interval to which the data point applies. For GAUGE metrics, the start time is optional, but if it is supplied, it must equal the end time. For DELTA metrics, the start and end time should specify a non-zero interval, with subsequent points specifying contiguous and non-overlapping intervals. For CUMULATIVE metrics, the start and end time should specify a non-zero interval, with subsequent points specifying the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.
A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
TypedValue
A single strongly-typed value.
JSON representation
{// Union field value can be only one of the following:"boolValue": boolean,"int64Value": string,"doubleValue": number,"stringValue": string,"distributionValue": {object (Distribution)}// End of list of possible types for union field value.}
Fields
Union field value. The typed value field. value can be only one of the following:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-28 UTC."],[[["A data point in a time series is represented in JSON with an `interval` object (TimeInterval) and a `value` object (TypedValue)."],["The `TimeInterval` defines a time period using `startTime` and `endTime`, where the `startTime` is optional and defaults to the `endTime` if not specified, and both fields use RFC 3339 Timestamp formatting."],["The `TypedValue` represents a single value and can hold a boolean, 64-bit integer, double-precision floating-point number, string, or distribution value."],["`TimeInterval` is used for different metric types, such as `GAUGE`, `DELTA` and `CUMULATIVE`, which have different requirement for the start and end times."],["The field `value` in `TypedValue` is a union field, meaning only one of the specified types can be used for any given instance of `TypedValue`."]]],[]]