class Google::Apis::AnalyticsdataV1beta::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).

Attributes

concatenate[RW]

Used to combine dimension values to a single dimension. Corresponds to the JSON property `concatenate` @return [Google::Apis::AnalyticsdataV1beta::ConcatenateExpression]

lower_case[RW]

Used to convert a dimension value to a single case. Corresponds to the JSON property `lowerCase` @return [Google::Apis::AnalyticsdataV1beta::CaseExpression]

upper_case[RW]

Used to convert a dimension value to a single case. Corresponds to the JSON property `upperCase` @return [Google::Apis::AnalyticsdataV1beta::CaseExpression]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 548
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 553
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