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.
133 134 135 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 133 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
The API name of the dimension. See Data Access Schema for the list
of dimensions supported in this API. Dimensions are referenced by name in
dimensionFilter
and orderBys
.
Corresponds to the JSON property dimensionName
131 132 133 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 131 def dimension_name @dimension_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
138 139 140 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 138 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) end |