Class: Google::Analytics::Admin::V1alpha::MatchingCondition

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb

Overview

Defines a condition for when an Event Edit or Event Creation rule applies to an event.

Defined Under Namespace

Modules: ComparisonType

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_type::Google::Analytics::Admin::V1alpha::MatchingCondition::ComparisonType

Returns Required. The type of comparison to be applied to the value.

Returns:



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 112

class MatchingCondition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comparison type for matching condition
  module ComparisonType
    # Unknown
    COMPARISON_TYPE_UNSPECIFIED = 0

    # Equals, case sensitive
    EQUALS = 1

    # Equals, case insensitive
    EQUALS_CASE_INSENSITIVE = 2

    # Contains, case sensitive
    CONTAINS = 3

    # Contains, case insensitive
    CONTAINS_CASE_INSENSITIVE = 4

    # Starts with, case sensitive
    STARTS_WITH = 5

    # Starts with, case insensitive
    STARTS_WITH_CASE_INSENSITIVE = 6

    # Ends with, case sensitive
    ENDS_WITH = 7

    # Ends with, case insensitive
    ENDS_WITH_CASE_INSENSITIVE = 8

    # Greater than
    GREATER_THAN = 9

    # Greater than or equal
    GREATER_THAN_OR_EQUAL = 10

    # Less than
    LESS_THAN = 11

    # Less than or equal
    LESS_THAN_OR_EQUAL = 12

    # regular expression. Only supported for web streams.
    REGULAR_EXPRESSION = 13

    # regular expression, case insensitive. Only supported for web streams.
    REGULAR_EXPRESSION_CASE_INSENSITIVE = 14
  end
end

#field::String

Returns Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name.

This value cannot contain spaces.

Returns:

  • (::String)

    Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name.

    This value cannot contain spaces.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 112

class MatchingCondition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comparison type for matching condition
  module ComparisonType
    # Unknown
    COMPARISON_TYPE_UNSPECIFIED = 0

    # Equals, case sensitive
    EQUALS = 1

    # Equals, case insensitive
    EQUALS_CASE_INSENSITIVE = 2

    # Contains, case sensitive
    CONTAINS = 3

    # Contains, case insensitive
    CONTAINS_CASE_INSENSITIVE = 4

    # Starts with, case sensitive
    STARTS_WITH = 5

    # Starts with, case insensitive
    STARTS_WITH_CASE_INSENSITIVE = 6

    # Ends with, case sensitive
    ENDS_WITH = 7

    # Ends with, case insensitive
    ENDS_WITH_CASE_INSENSITIVE = 8

    # Greater than
    GREATER_THAN = 9

    # Greater than or equal
    GREATER_THAN_OR_EQUAL = 10

    # Less than
    LESS_THAN = 11

    # Less than or equal
    LESS_THAN_OR_EQUAL = 12

    # regular expression. Only supported for web streams.
    REGULAR_EXPRESSION = 13

    # regular expression, case insensitive. Only supported for web streams.
    REGULAR_EXPRESSION_CASE_INSENSITIVE = 14
  end
end

#negated::Boolean

Returns Whether or not the result of the comparison should be negated. For example, if negated is true, then 'equals' comparisons would function as 'not equals'.

Returns:

  • (::Boolean)

    Whether or not the result of the comparison should be negated. For example, if negated is true, then 'equals' comparisons would function as 'not equals'.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 112

class MatchingCondition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comparison type for matching condition
  module ComparisonType
    # Unknown
    COMPARISON_TYPE_UNSPECIFIED = 0

    # Equals, case sensitive
    EQUALS = 1

    # Equals, case insensitive
    EQUALS_CASE_INSENSITIVE = 2

    # Contains, case sensitive
    CONTAINS = 3

    # Contains, case insensitive
    CONTAINS_CASE_INSENSITIVE = 4

    # Starts with, case sensitive
    STARTS_WITH = 5

    # Starts with, case insensitive
    STARTS_WITH_CASE_INSENSITIVE = 6

    # Ends with, case sensitive
    ENDS_WITH = 7

    # Ends with, case insensitive
    ENDS_WITH_CASE_INSENSITIVE = 8

    # Greater than
    GREATER_THAN = 9

    # Greater than or equal
    GREATER_THAN_OR_EQUAL = 10

    # Less than
    LESS_THAN = 11

    # Less than or equal
    LESS_THAN_OR_EQUAL = 12

    # regular expression. Only supported for web streams.
    REGULAR_EXPRESSION = 13

    # regular expression, case insensitive. Only supported for web streams.
    REGULAR_EXPRESSION_CASE_INSENSITIVE = 14
  end
end

#value::String

Returns Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.

Returns:

  • (::String)

    Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.



112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 112

class MatchingCondition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Comparison type for matching condition
  module ComparisonType
    # Unknown
    COMPARISON_TYPE_UNSPECIFIED = 0

    # Equals, case sensitive
    EQUALS = 1

    # Equals, case insensitive
    EQUALS_CASE_INSENSITIVE = 2

    # Contains, case sensitive
    CONTAINS = 3

    # Contains, case insensitive
    CONTAINS_CASE_INSENSITIVE = 4

    # Starts with, case sensitive
    STARTS_WITH = 5

    # Starts with, case insensitive
    STARTS_WITH_CASE_INSENSITIVE = 6

    # Ends with, case sensitive
    ENDS_WITH = 7

    # Ends with, case insensitive
    ENDS_WITH_CASE_INSENSITIVE = 8

    # Greater than
    GREATER_THAN = 9

    # Greater than or equal
    GREATER_THAN_OR_EQUAL = 10

    # Less than
    LESS_THAN = 11

    # Less than or equal
    LESS_THAN_OR_EQUAL = 12

    # regular expression. Only supported for web streams.
    REGULAR_EXPRESSION = 13

    # regular expression, case insensitive. Only supported for web streams.
    REGULAR_EXPRESSION_CASE_INSENSITIVE = 14
  end
end