Class: Google::Apis::AdmobV1::ReportRow
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::ReportRow
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb
Overview
A row of the returning report.
Instance Attribute Summary collapse
-
#dimension_values ⇒ Hash<String,Google::Apis::AdmobV1::ReportRowDimensionValue>
Map of dimension values in a row, with keys as enum name of the dimensions.
-
#metric_values ⇒ Hash<String,Google::Apis::AdmobV1::ReportRowMetricValue>
Map of metric values in a row, with keys as enum name of the metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRow
constructor
A new instance of ReportRow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportRow
Returns a new instance of ReportRow.
928 929 930 |
# File 'lib/google/apis/admob_v1/classes.rb', line 928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_values ⇒ Hash<String,Google::Apis::AdmobV1::ReportRowDimensionValue>
Map of dimension values in a row, with keys as enum name of the dimensions.
Corresponds to the JSON property dimensionValues
920 921 922 |
# File 'lib/google/apis/admob_v1/classes.rb', line 920 def dimension_values @dimension_values end |
#metric_values ⇒ Hash<String,Google::Apis::AdmobV1::ReportRowMetricValue>
Map of metric values in a row, with keys as enum name of the metrics. If a
metric being requested has no value returned, the map will not include it.
Corresponds to the JSON property metricValues
926 927 928 |
# File 'lib/google/apis/admob_v1/classes.rb', line 926 def metric_values @metric_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
933 934 935 936 |
# File 'lib/google/apis/admob_v1/classes.rb', line 933 def update!(**args) @dimension_values = args[:dimension_values] if args.key?(:dimension_values) @metric_values = args[:metric_values] if args.key?(:metric_values) end |