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] ได้อย่างง่ายดาย
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[[["เข้าใจง่าย","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 UTC"],[[["\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,[]]