Class: Google::Apis::AnalyticsreportingV4::DateRangeValues

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DateRangeValues

Returns a new instance of DateRangeValues.



1069
1070
1071
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1069

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

Instance Attribute Details

#pivot_value_regionsArray<Google::Apis::AnalyticsreportingV4::PivotValueRegion>

The values of each pivot region. Corresponds to the JSON property pivotValueRegions



1067
1068
1069
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1067

def pivot_value_regions
  @pivot_value_regions
end

#valuesArray<String>

Each value corresponds to each Metric in the request. Corresponds to the JSON property values

Returns:

  • (Array<String>)


1062
1063
1064
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1062

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1074
1075
1076
1077
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1074

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