Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionHeader

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

Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessDimensionHeader

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessDimensionHeader.



155
156
157
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 155

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

Instance Attribute Details

#dimension_nameString

The dimension's name; for example 'userEmail'. Corresponds to the JSON property dimensionName

Returns:

  • (String)


153
154
155
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 153

def dimension_name
  @dimension_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 160

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