FreshnessInfo

  • Freshness represents the latest available time that can be requested in a TimelineSpec.

  • Different aggregation periods, such as DAILY and HOURLY, have varying freshness levels.

  • Freshness information is provided for each supported aggregation period, including the latest available end time for data.

  • The latestEndTime field is designed for easy reuse in TimelineSpec.end_time, allowing users to specify time ranges for data retrieval.

Represents the latest available time that can be requested in a [TimelineSpec][google.play.developer.reporting.${apiVersion}.TimelineSpec].

Different aggregation periods have different freshness. For example, DAILY aggregation may lag behind HOURLY in cases where such aggregation is computed only once at the end of the day.

JSON representation
{
  "freshnesses": [
    {
      object (Freshness)
    }
  ]
}
Fields
freshnesses[]

object (Freshness)

Information about data freshness for every supported aggregation period.

This field has set semantics, keyed by the aggregationPeriod field.

Freshness

Information about data freshness for a single aggregation period.

JSON representation
{
  "aggregationPeriod": enum (AggregationPeriod),
  "latestEndTime": {
    object (DateTime)
  }
}
Fields
aggregationPeriod

enum (AggregationPeriod)

Aggregation period for which data is available.

latestEndTime

object (DateTime)

Latest end time for which data is available, for the aggregation period. The time is specified in the metric set's default timezone.

Note: time ranges in TimelineSpec are represented as [startTime, endTime). For example, if the latest available timeline data point for a DAILY aggregation period is 2021-06-23 00:00:00 America/Los_Angeles, the value of this field would be 2021-06-24 00:00:00 America/Los_Angeles so it can be easily reused in [TimelineSpec.end_time][google.play.developer.reporting.TimelineSpec.end_time].