FreshnessInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
表示可在 [TimelineSpec][google.play.developer.reporting.${apiVersion}.TimelineSpec] 中请求的最新可用时间。
不同的汇总周期具有不同的新鲜度。例如,如果 DAILY
汇总每天只在结束时计算一次,那么 DAILY
汇总可能会落后于 HOURLY
。
JSON 表示法 |
{
"freshnesses": [
{
object (Freshness )
}
]
} |
字段 |
freshnesses[] |
object (Freshness )
有关每个受支持的汇总周期的数据新鲜度的信息。 此字段具有设置的语义,由 aggregationPeriod 字段键控。
|
时效性
字段 |
aggregationPeriod |
enum (AggregationPeriod )
提供数据的汇总周期。
|
latestEndTime |
object (DateTime )
相应汇总周期内可获取数据的最晚结束时间。时间以指标集的默认时区指定。 注意:TimelineSpec 中的时间范围以 [startTime,
endTime) 表示。例如,如果 DAILY 汇总周期的最新可用时间轴数据点是 2021-06-23 00:00:00
America/Los_Angeles ,则此字段的值将为 2021-06-24
00:00:00 America/Los_Angeles ,以便在 [TimelineSpec.end_time][google.play.developer.reporting.TimelineSpec.end_time] 中轻松重复使用。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eFreshness refers to the latest available time that can be requested in a TimelineSpec.\u003c/p\u003e\n"],["\u003cp\u003eDifferent aggregation periods (e.g., DAILY, HOURLY) have varying freshness levels, with \u003ccode\u003eDAILY\u003c/code\u003e potentially lagging behind \u003ccode\u003eHOURLY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eFreshness information is provided for each supported aggregation period, including the latest available end time for data in that period.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elatestEndTime\u003c/code\u003e field in FreshnessInfo is designed for easy integration into TimelineSpec's \u003ccode\u003eend_time\u003c/code\u003e for querying data.\u003c/p\u003e\n"]]],["The content describes data freshness for different aggregation periods, represented in JSON. Data freshness is captured in \"freshnesses,\" which contains information for each supported period. Each \"Freshness\" includes an `aggregationPeriod` and the `latestEndTime`. The `latestEndTime` indicates the most recent available data point's end time for that period, specified in the metric set's default timezone. The end time format allows direct use in `TimelineSpec.end_time`. Different periods like DAILY or HOURLY can have different data freshness.\n"],null,[]]