Class: Google::Analytics::Admin::V1alpha::MatchingCondition
- Inherits:
-
Object
- Object
- Google::Analytics::Admin::V1alpha::MatchingCondition
- 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
-
#comparison_type ⇒ ::Google::Analytics::Admin::V1alpha::MatchingCondition::ComparisonType
Required.
-
#field ⇒ ::String
Required.
-
#negated ⇒ ::Boolean
Whether or not the result of the comparison should be negated.
-
#value ⇒ ::String
Required.
Instance Attribute Details
#comparison_type ⇒ ::Google::Analytics::Admin::V1alpha::MatchingCondition::ComparisonType
Returns Required. The type of comparison to be applied to the value.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 151 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.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 151 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'.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 151 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.
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'proto_docs/google/analytics/admin/v1alpha/event_create_and_edit.rb', line 151 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 |