Class: Google::Apis::PlaydeveloperreportingV1alpha1::GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness

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

Information about data freshness for a single aggregation period.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness

Returns a new instance of GooglePlayDeveloperReportingV1alpha1FreshnessInfoFreshness.



836
837
838
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 836

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

Instance Attribute Details

#aggregation_periodString

Aggregation period for which data is available. Corresponds to the JSON property aggregationPeriod

Returns:

  • (String)


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

def aggregation_period
  @aggregation_period
end

#latest_end_timeGoogle::Apis::PlaydeveloperreportingV1alpha1::GoogleTypeDateTime

Represents civil time (or occasionally physical time). This type can represent a civil time in one of a few possible ways: * When utc_offset is set and time_zone is unset: a civil time on a calendar day with a particular offset from UTC. * When time_zone is set and utc_offset is unset: a civil time on a calendar day in a particular time zone. * When neither time_zone nor utc_offset is set: a civil time on a calendar day in local time. The date is relative to the Proleptic Gregorian Calendar. If year, month, or day are 0, the DateTime is considered not to have a specific year, month, or day respectively. This type may also be used to represent a physical time if all the date and time fields are set and either case of the time_offset oneof is set. Consider using Timestamp message for physical time instead. If your use case also would like to store the user's timezone, that can be done in another field. This type is more flexible than some applications may want. Make sure to document and validate your application's limitations. Corresponds to the JSON property latestEndTime



834
835
836
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 834

def latest_end_time
  @latest_end_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



841
842
843
844
# File 'lib/google/apis/playdeveloperreporting_v1alpha1/classes.rb', line 841

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