Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessRow

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

Overview

Access report data for each row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessRow

Returns a new instance of GoogleAnalyticsAdminV1betaAccessRow.



528
529
530
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 528

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

Instance Attribute Details

#dimension_valuesArray<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimensionValue>

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



520
521
522
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 520

def dimension_values
  @dimension_values
end

#metric_valuesArray<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessMetricValue>

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



526
527
528
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 526

def metric_values
  @metric_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 533

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