class Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter

Dimension filter specifies the filtering options on a dimension.

Attributes

case_sensitive[RW]

Should the match be case sensitive, ignored for `IN_LIST` operator. Corresponds to the JSON property `caseSensitive` @return [Boolean]

case_sensitive?[RW]

Should the match be case sensitive, ignored for `IN_LIST` operator. Corresponds to the JSON property `caseSensitive` @return [Boolean]

dimension_name[RW]

Name of the dimension for which the filter is being applied. Corresponds to the JSON property `dimensionName` @return [String]

expressions[RW]

The list of expressions, only the first element is used for all operators Corresponds to the JSON property `expressions` @return [Array<String>]

max_comparison_value[RW]

Maximum comparison values for `BETWEEN` match type. Corresponds to the JSON property `maxComparisonValue` @return [String]

min_comparison_value[RW]

Minimum comparison values for `BETWEEN` match type. Corresponds to the JSON property `minComparisonValue` @return [String]

operator[RW]

The operator to use to match the dimension with the expressions. Corresponds to the JSON property `operator` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 1709
def update!(**args)
  @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
  @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
  @expressions = args[:expressions] if args.key?(:expressions)
  @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value)
  @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value)
  @operator = args[:operator] if args.key?(:operator)
end