Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension
- 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
Dimensions are attributes of your data. For example, the dimension userEmail
indicates the email of the user that accessed reporting data. Dimension values
in report responses are strings.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
The API name of the dimension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessDimension
constructor
A new instance of GoogleAnalyticsAdminV1alphaAccessDimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessDimension
Returns a new instance of GoogleAnalyticsAdminV1alphaAccessDimension.
93 94 95 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 93 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The API name of the dimension. Dimensions are referenced by name in
dimensionFilter and orderBys.
Corresponds to the JSON property dimensionName
91 92 93 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 91 def dimension_name @dimension_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
98 99 100 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 98 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) end |