TimeSeries
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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. |"]]