If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either GAUGE (the default) or CUMULATIVE.
Required. The data points of this time series. When listing time series, points are returned in reverse time order.
When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
The time interval to which the data point applies. For GAUGE metrics, the start time does not need to be supplied, 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.
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.
{// 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-07-02 UTC."],[[["\u003cp\u003eThis document defines the structure of a metrics object for a SubTask, including its fields for \u003ccode\u003emetric\u003c/code\u003e, \u003ccode\u003evalueType\u003c/code\u003e, \u003ccode\u003emetricKind\u003c/code\u003e, and \u003ccode\u003epoints\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003ePoint\u003c/code\u003e represents a single data point in a time series and contains an \u003ccode\u003einterval\u003c/code\u003e specifying the time range and a \u003ccode\u003evalue\u003c/code\u003e of a defined \u003ccode\u003eTypedValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTimeInterval\u003c/code\u003e specifies a duration with a \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e, which can represent a single moment if both are equal.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTypedValue\u003c/code\u003e represents a strongly-typed value which can be a \u003ccode\u003eboolValue\u003c/code\u003e, \u003ccode\u003eint64Value\u003c/code\u003e, \u003ccode\u003edoubleValue\u003c/code\u003e, \u003ccode\u003estringValue\u003c/code\u003e, or \u003ccode\u003edistributionValue\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# TimeSeries\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Point](#Point)\n - [JSON representation](#Point.SCHEMA_REPRESENTATION)\n- [TimeInterval](#TimeInterval)\n - [JSON representation](#TimeInterval.SCHEMA_REPRESENTATION)\n- [TypedValue](#TypedValue)\n - [JSON representation](#TypedValue.SCHEMA_REPRESENTATION)\n\nThe metrics object for a SubTask.\n\nPoint\n-----\n\nA single data point in a time series.\n\nTimeInterval\n------------\n\nA 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.\n\nTypedValue\n----------\n\nA single strongly-typed value."]]