Class: Google::Apis::AnalyticsdataV1beta::CaseExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::CaseExpression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/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.
278 279 280 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 278 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
276 277 278 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 276 def dimension_name @dimension_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
283 284 285 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 283 def update!(**args) @dimension_name = args[:dimension_name] if args.key?(:dimension_name) end |