Class: Google::Apis::AdmobV1beta::ReportHeader
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ReportHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb
Overview
Groups data helps to treat the generated report. Always sent as a first message in the stream response.
Instance Attribute Summary collapse
-
#date_range ⇒ Google::Apis::AdmobV1beta::DateRange
Specification of a single date range.
-
#localization_settings ⇒ Google::Apis::AdmobV1beta::LocalizationSettings
Localization settings for reports, such as currency and language.
-
#reporting_time_zone ⇒ String
The report time zone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportHeader
constructor
A new instance of ReportHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportHeader
Returns a new instance of ReportHeader.
953 954 955 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 953 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_range ⇒ Google::Apis::AdmobV1beta::DateRange
Specification of a single date range. Both dates are inclusive.
Corresponds to the JSON property dateRange
939 940 941 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 939 def date_range @date_range end |
#localization_settings ⇒ Google::Apis::AdmobV1beta::LocalizationSettings
Localization settings for reports, such as currency and language. It affects
how metrics are calculated.
Corresponds to the JSON property localizationSettings
945 946 947 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 945 def localization_settings @localization_settings end |
#reporting_time_zone ⇒ String
The report time zone. The value is a time-zone ID as specified by the CLDR
project, for example, "America/Los_Angeles".
Corresponds to the JSON property reportingTimeZone
951 952 953 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 951 def reporting_time_zone @reporting_time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
958 959 960 961 962 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 958 def update!(**args) @date_range = args[:date_range] if args.key?(:date_range) @localization_settings = args[:localization_settings] if args.key?(:localization_settings) @reporting_time_zone = args[:reporting_time_zone] if args.key?(:reporting_time_zone) end |