FreshnessInfo
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
代表可在 [TimelineSpec][google.play.developer.reporting.${apiVersion}.TimelineSpec] 中要求的最新可用時間。
不同的匯總期間有不同的資料更新間隔。舉例來說,如果系統只會在一天結束時計算這類匯總資料,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] 中重複使用。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eFreshness represents the latest available time that can be requested in a TimelineSpec.\u003c/p\u003e\n"],["\u003cp\u003eDifferent aggregation periods, such as DAILY and HOURLY, have varying freshness levels.\u003c/p\u003e\n"],["\u003cp\u003eFreshness information is provided for each supported aggregation period, including the latest available end time for data.\u003c/p\u003e\n"],["\u003cp\u003eThe latestEndTime field is designed for easy reuse in TimelineSpec.end_time, allowing users to specify time ranges for data retrieval.\u003c/p\u003e\n"]]],["Data freshness, representing the latest available time for a TimelineSpec request, varies by aggregation period (e.g., `DAILY` vs. `HOURLY`). Freshness information includes an array of `freshnesses`, each containing an `aggregationPeriod` and the corresponding `latestEndTime`. The `latestEndTime` indicates the most recent data available, formatted as a DateTime object in the metric set's default timezone, and is designed for direct use in `TimelineSpec.end_time` fields.\n"],null,[]]