Class: Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
 generated/google/apis/analytics_v3/representations.rb,
 generated/google/apis/analytics_v3/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #comparison_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of comparison. 
- 
  
    
      #comparison_value  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Value used for this comparison. 
- 
  
    
      #expression  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Expression used for this match. 
- 
  
    
      #match_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of the match to be performed. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type of this event condition. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EventCondition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EventCondition. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventCondition
Returns a new instance of EventCondition
| 3149 3150 3151 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3149 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#comparison_type ⇒ String
Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
Corresponds to the JSON property comparisonType
| 3125 3126 3127 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3125 def comparison_type @comparison_type end | 
#comparison_value ⇒ Fixnum
Value used for this comparison.
Corresponds to the JSON property comparisonValue
| 3130 3131 3132 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3130 def comparison_value @comparison_value end | 
#expression ⇒ String
Expression used for this match.
Corresponds to the JSON property expression
| 3135 3136 3137 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3135 def expression @expression end | 
#match_type ⇒ String
Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or
EXACT.
Corresponds to the JSON property matchType
| 3141 3142 3143 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3141 def match_type @match_type end | 
#type ⇒ String
Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or
VALUE.
Corresponds to the JSON property type
| 3147 3148 3149 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3147 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3154 3155 3156 3157 3158 3159 3160 | # File 'generated/google/apis/analytics_v3/classes.rb', line 3154 def update!(**args) @comparison_type = args[:comparison_type] if args.key?(:comparison_type) @comparison_value = args[:comparison_value] if args.key?(:comparison_value) @expression = args[:expression] if args.key?(:expression) @match_type = args[:match_type] if args.key?(:match_type) @type = args[:type] if args.key?(:type) end |