class Google::Apis::AnalyticsdataV1alpha::FilterExpression

To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics.

Attributes

and_group[RW]

A list of filter expressions. Corresponds to the JSON property `andGroup` @return [Google::Apis::AnalyticsdataV1alpha::FilterExpressionList]

filter[RW]

An expression to filter dimension or metric values. Corresponds to the JSON property `filter` @return [Google::Apis::AnalyticsdataV1alpha::Filter]

not_expression[RW]

To express dimension or metric filters. The fields in the same FilterExpression need to be either all dimensions or all metrics. Corresponds to the JSON property `notExpression` @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]

or_group[RW]

A list of filter expressions. Corresponds to the JSON property `orGroup` @return [Google::Apis::AnalyticsdataV1alpha::FilterExpressionList]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsdata_v1alpha/classes.rb, line 674
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_v1alpha/classes.rb, line 679
def update!(**args)
  @and_group = args[:and_group] if args.key?(:and_group)
  @filter = args[:filter] if args.key?(:filter)
  @not_expression = args[:not_expression] if args.key?(:not_expression)
  @or_group = args[:or_group] if args.key?(:or_group)
end