Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playdeveloperreporting_v1beta1/classes.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb,
lib/google/apis/playdeveloperreporting_v1beta1/representations.rb

Overview

Represents the latest available time that can be requested in a 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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1FreshnessInfo

Returns a new instance of GooglePlayDeveloperReportingV1beta1FreshnessInfo.



811
812
813
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 811

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#freshnessesArray<Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1FreshnessInfoFreshness>

Information about data freshness for every supported aggregation period. This field has set semantics, keyed by the aggregation_period field. Corresponds to the JSON property freshnesses



809
810
811
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 809

def freshnesses
  @freshnesses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



816
817
818
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 816

def update!(**args)
  @freshnesses = args[:freshnesses] if args.key?(:freshnesses)
end