Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessRow

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Access report data for each row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessRow

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessRow.



566
567
568
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 566

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

Instance Attribute Details

#dimension_valuesArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue>

List of dimension values. These values are in the same order as specified in the request. Corresponds to the JSON property dimensionValues



558
559
560
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 558

def dimension_values
  @dimension_values
end

#metric_valuesArray<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue>

List of metric values. These values are in the same order as specified in the request. Corresponds to the JSON property metricValues



564
565
566
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 564

def metric_values
  @metric_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



571
572
573
574
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 571

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