Class: Google::Apis::AnalyticsdataV1alpha::DimensionExpression
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::DimensionExpression
- 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 express a dimension which is the result of a formula of multiple dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1, symbol, dimension2).
Instance Attribute Summary collapse
-
#concatenate ⇒ Google::Apis::AnalyticsdataV1alpha::ConcatenateExpression
Used to combine dimension values to a single dimension.
-
#lower_case ⇒ Google::Apis::AnalyticsdataV1alpha::CaseExpression
Used to convert a dimension value to a single case.
-
#upper_case ⇒ Google::Apis::AnalyticsdataV1alpha::CaseExpression
Used to convert a dimension value to a single case.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionExpression
constructor
A new instance of DimensionExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionExpression
Returns a new instance of DimensionExpression.
439 440 441 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concatenate ⇒ Google::Apis::AnalyticsdataV1alpha::ConcatenateExpression
Used to combine dimension values to a single dimension.
Corresponds to the JSON property concatenate
427 428 429 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 427 def concatenate @concatenate end |
#lower_case ⇒ Google::Apis::AnalyticsdataV1alpha::CaseExpression
Used to convert a dimension value to a single case.
Corresponds to the JSON property lowerCase
432 433 434 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 432 def lower_case @lower_case end |
#upper_case ⇒ Google::Apis::AnalyticsdataV1alpha::CaseExpression
Used to convert a dimension value to a single case.
Corresponds to the JSON property upperCase
437 438 439 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 437 def upper_case @upper_case end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
444 445 446 447 448 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 444 def update!(**args) @concatenate = args[:concatenate] if args.key?(:concatenate) @lower_case = args[:lower_case] if args.key?(:lower_case) @upper_case = args[:upper_case] if args.key?(:upper_case) end |