Class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
 generated/google/apis/analyticsreporting_v4/representations.rb,
 generated/google/apis/analyticsreporting_v4/representations.rb
Overview
Dimension filter specifies the filtering options on a dimension.
Instance Attribute Summary collapse
- 
  
    
      #case_sensitive  ⇒ Boolean 
    
    
      (also: #case_sensitive?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Should the match be case sensitive, ignored for IN_LISToperator.
- 
  
    
      #dimension_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the dimension for which the filter is being applied. 
- 
  
    
      #expressions  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The list of expressions, only the first element is used for all operators Corresponds to the JSON property expressions.
- 
  
    
      #max_comparison_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Maximum comparison values for BETWEENmatch type.
- 
  
    
      #min_comparison_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Minimum comparison values for BETWEENmatch type.
- 
  
    
      #operator  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The operator to use to match the dimension with the expressions. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SegmentDimensionFilter 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SegmentDimensionFilter. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SegmentDimensionFilter
Returns a new instance of SegmentDimensionFilter
| 1246 1247 1248 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1246 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#case_sensitive ⇒ Boolean Also known as: case_sensitive?
Should the match be case sensitive, ignored for IN_LIST operator.
Corresponds to the JSON property caseSensitive
| 1218 1219 1220 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1218 def case_sensitive @case_sensitive end | 
#dimension_name ⇒ String
Name of the dimension for which the filter is being applied.
Corresponds to the JSON property dimensionName
| 1224 1225 1226 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1224 def dimension_name @dimension_name end | 
#expressions ⇒ Array<String>
The list of expressions, only the first element is used for all operators
Corresponds to the JSON property expressions
| 1229 1230 1231 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1229 def expressions @expressions end | 
#max_comparison_value ⇒ String
Maximum comparison values for BETWEEN match type.
Corresponds to the JSON property maxComparisonValue
| 1234 1235 1236 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1234 def max_comparison_value @max_comparison_value end | 
#min_comparison_value ⇒ String
Minimum comparison values for BETWEEN match type.
Corresponds to the JSON property minComparisonValue
| 1239 1240 1241 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1239 def min_comparison_value @min_comparison_value end | 
#operator ⇒ String
The operator to use to match the dimension with the expressions.
Corresponds to the JSON property operator
| 1244 1245 1246 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1244 def operator @operator end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1251 1252 1253 1254 1255 1256 1257 1258 | # File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1251 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 |