TimeSeries
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eTimeSeries represents a timeseries, comprised of a list of datapoints called \u003ccode\u003edatedValues\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003edatedValues\u003c/code\u003e datapoint is a \u003ccode\u003eDatedValue\u003c/code\u003e object, containing a \u003ccode\u003edate\u003c/code\u003e and a corresponding \u003ccode\u003evalue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edate\u003c/code\u003e field in \u003ccode\u003eDatedValue\u003c/code\u003e can represent a month or a specific day, depending on whether the day field is set within the \u003ccode\u003eDate\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalue\u003c/code\u003e field in \u003ccode\u003eDatedValue\u003c/code\u003e is a string representing an integer, and it will be omitted if the value is zero.\u003c/p\u003e\n"]]],["The content describes a `TimeSeries` data structure, represented in JSON, containing a list of `DatedValue` objects. Each `DatedValue` is a datapoint consisting of a `date` object and a `value` (integer represented as a string). The `date` indicates when the datapoint occurred, and the `value` signifies its corresponding numerical data. The `value` can be absent if zero. The `TimeSeries` structure represents a collection of these date-value pairs.\n"],null,["# TimeSeries\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [DatedValue](#DatedValue)\n - [JSON representation](#DatedValue.SCHEMA_REPRESENTATION)\n\nRepresents a timeseries.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------|\n| ``` { \"datedValues\": [ { object (/my-business/reference/performance/rest/v1/TimeSeries#DatedValue) } ] } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `datedValues[]` | `object (`[DatedValue](/my-business/reference/performance/rest/v1/TimeSeries#DatedValue)`)` List of datapoints in the timeseries, where each datapoint is a date-value pair. |\n\nDatedValue\n----------\n\nRepresents a single datapoint in the timeseries, where each datapoint is a date-value pair.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/my-business/reference/performance/rest/v1/Date) }, \"value\": string } ``` |\n\n| Fields ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/my-business/reference/performance/rest/v1/Date)`)` The date that the datapoint corresponds to. This represents a month value if the day field is not set. |\n| `value` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The value of the datapoint. This will not be present when the value is zero. |"]]