Class: Google::Apis::AnalyticsreportingV4::DateRangeValues
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::DateRangeValues
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Used to return a list of metrics for a single DateRange / dimension combination
Instance Attribute Summary collapse
-
#pivot_value_regions ⇒ Array<Google::Apis::AnalyticsreportingV4::PivotValueRegion>
The values of each pivot region.
-
#values ⇒ Array<String>
Each value corresponds to each Metric in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DateRangeValues
constructor
A new instance of DateRangeValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DateRangeValues
Returns a new instance of DateRangeValues
194 195 196 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pivot_value_regions ⇒ Array<Google::Apis::AnalyticsreportingV4::PivotValueRegion>
The values of each pivot region.
Corresponds to the JSON property pivotValueRegions
187 188 189 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 187 def pivot_value_regions @pivot_value_regions end |
#values ⇒ Array<String>
Each value corresponds to each Metric in the request.
Corresponds to the JSON property values
192 193 194 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 192 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
199 200 201 202 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 199 def update!(**args) @pivot_value_regions = args[:pivot_value_regions] if args.key?(:pivot_value_regions) @values = args[:values] if args.key?(:values) end |