Class: Google::Apis::AnalyticsdataV1alpha::CaseExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::CaseExpression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
Used to convert a dimension value to a single case.
Instance Attribute Summary collapse
-
#dimension_name ⇒ String
Name of a dimension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CaseExpression
constructor
A new instance of CaseExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CaseExpression
Returns a new instance of CaseExpression.
150 151 152 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_name ⇒ String
Name of a dimension. The name must refer back to a name in dimensions field of
the request.
Corresponds to the JSON property dimensionName
148 149 150 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 148 def dimension_name @dimension_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 155 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) end |