Reference documentation and code samples for the Google Analytics Data V1alpha API class Google::Analytics::Data::V1alpha::DimensionExpression.
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).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#concatenate
def concatenate() -> ::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression) — Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).
#concatenate=
def concatenate=(value) -> ::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression
Parameter
- value (::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression) — Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::ConcatenateExpression) — Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).
#lower_case
def lower_case() -> ::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to lower case.
#lower_case=
def lower_case=(value) -> ::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression
Parameter
- value (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to lower case.
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to lower case.
#upper_case
def upper_case() -> ::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to upper case.
#upper_case=
def upper_case=(value) -> ::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression
Parameter
- value (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to upper case.
Returns
- (::Google::Analytics::Data::V1alpha::DimensionExpression::CaseExpression) — Used to convert a dimension value to upper case.