Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1FreshnessInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/representations.rb,
lib/google/apis/playdeveloperreporting_v1alpha1/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) ⇒ GooglePlayDeveloperReportingV1alpha1FreshnessInfo

Returns a new instance of GooglePlayDeveloperReportingV1alpha1FreshnessInfo.



799
800
801
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 799

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

Instance Attribute Details

#freshnessesArray<Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness>

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



797
798
799
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 797

def freshnesses
  @freshnesses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



804
805
806
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 804

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