class Google::Apis::AnalyticsreportingV4::DimensionFilter
Dimension
filter specifies the filtering options on a dimension.
Attributes
Should the match be case sensitive? Default is false. Corresponds to the JSON property `caseSensitive` @return [Boolean]
Should the match be case sensitive? Default is false. Corresponds to the JSON property `caseSensitive` @return [Boolean]
The dimension to filter on. A DimensionFilter
must contain a dimension. Corresponds to the JSON property `dimensionName` @return [String]
Strings or regular expression to match against. Only the first value of the list is used for comparison unless the operator is `IN_LIST`. If `IN_LIST` operator, then the entire list is used to filter the dimensions as explained in the description of the `IN_LIST` operator. Corresponds to the JSON property `expressions` @return [Array<String>]
Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false. Corresponds to the JSON property `not` @return [Boolean]
Logical `NOT` operator. If this boolean is set to true, then the matching dimension values will be excluded in the report. The default is false. Corresponds to the JSON property `not` @return [Boolean]
How to match the dimension to the expression. The default is REGEXP. Corresponds to the JSON property `operator` @return [String]
Public Class Methods
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 423 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 428 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) @not = args[:not] if args.key?(:not) @operator = args[:operator] if args.key?(:operator) end