class Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition
Attributes
comparison_type[RW]
Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL. Corresponds to the JSON property `comparisonType` @return [String]
comparison_value[RW]
Value used for this comparison. Corresponds to the JSON property `comparisonValue` @return [Fixnum]
expression[RW]
Expression used for this match. Corresponds to the JSON property `expression` @return [String]
match_type[RW]
Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT. Corresponds to the JSON property `matchType` @return [String]
type[RW]
Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 3055 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 3060 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