প্রয়োজন। শর্তের সাথে তুলনা করা হয় এমন ক্ষেত্রের নাম। যদি 'eventName' নির্দিষ্ট করা থাকে তবে এই শর্তটি ইভেন্টের নামের ক্ষেত্রে প্রযোজ্য হবে। অন্যথায় শর্তটি নির্দিষ্ট নামের একটি প্যারামিটারে প্রযোজ্য হবে।
প্রয়োজন। এই শর্তের সাথে তুলনা করা হচ্ছে মান। রানটাইম বাস্তবায়ন পরামিতি মানের ধরনের উপর ভিত্তি করে এই শর্ত মূল্যায়ন করতে এই মানের টাইপ জবরদস্তি করতে পারে।
negated
boolean
তুলনার ফলাফল কি না তা নাকচ করা উচিত। উদাহরণস্বরূপ, যদি negated সত্য হয়, তাহলে 'সমান' তুলনাগুলি 'সমান নয়' হিসাবে কাজ করবে।
তুলনার ধরন
মিল অবস্থার জন্য তুলনা প্রকার
এনামস
COMPARISON_TYPE_UNSPECIFIED
অজানা
EQUALS
সমান, কেস সংবেদনশীল
EQUALS_CASE_INSENSITIVE
সমান, ক্ষেত্রে সংবেদনশীল
CONTAINS
ধারণ করে, কেস সংবেদনশীল
CONTAINS_CASE_INSENSITIVE
ধারণ করে, কেস সংবেদনশীল
STARTS_WITH
কেস সংবেদনশীল দিয়ে শুরু হয়
STARTS_WITH_CASE_INSENSITIVE
দিয়ে শুরু হয়, কেস সংবেদনশীল
ENDS_WITH
এর সাথে শেষ হয়, কেস সংবেদনশীল
ENDS_WITH_CASE_INSENSITIVE
এর সাথে শেষ হয়, কেস সংবেদনশীল
GREATER_THAN
এর চেয়ে বড়
GREATER_THAN_OR_EQUAL
এর চেয়ে বড় বা সমান
LESS_THAN
থেকে কম
LESS_THAN_OR_EQUAL
এর থেকে কম বা সমান
REGULAR_EXPRESSION
নিয়মিত অভিব্যক্তি। শুধুমাত্র ওয়েব স্ট্রীম জন্য সমর্থিত.
REGULAR_EXPRESSION_CASE_INSENSITIVE
নিয়মিত অভিব্যক্তি, কেস সংবেদনশীল। শুধুমাত্র ওয়েব স্ট্রীম জন্য সমর্থিত.
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eMatchingCondition defines criteria for when an Event Edit or Event Creation rule is applied, based on event properties.\u003c/p\u003e\n"],["\u003cp\u003eIt uses a comparison between a specified event field and a given value, with options for case sensitivity and negation.\u003c/p\u003e\n"],["\u003cp\u003eSupported comparison types include equality, containment, starts/ends with, greater/less than, and regular expressions (web streams only).\u003c/p\u003e\n"],["\u003cp\u003eThe condition can be applied to the event name or any event parameter, enabling flexible rule creation.\u003c/p\u003e\n"]]],["This describes a matching condition used in event rules, defined via a JSON object with `field`, `comparisonType`, `value`, and `negated`. The `field` specifies the parameter or 'eventName' for comparison. The `comparisonType` defines the comparison method, such as `EQUALS`, `CONTAINS`, or `GREATER_THAN`. The `value` is the comparison target, and `negated` inverts the comparison result. Available `comparisonType` options also include case-insensitive variants and regular expression matching.\n"],null,["# MatchingCondition\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [ComparisonType](#ComparisonType)\n\nDefines a condition for when an Event Edit or Event Creation rule applies to an event.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"field\": string, \"comparisonType\": enum (/analytics/devguides/config/admin/v1/rest/v1alpha/MatchingCondition#ComparisonType), \"value\": string, \"negated\": boolean } ``` |\n\n| Fields ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `field` | `string` Required. The name of the field that is compared against for the condition. If 'eventName' 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. |\n| `comparisonType` | `enum (`[ComparisonType](/analytics/devguides/config/admin/v1/rest/v1alpha/MatchingCondition#ComparisonType)`)` Required. The type of comparison to be applied to the value. |\n| `value` | `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. |\n| `negated` | `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'. |\n\nComparisonType\n--------------\n\nComparison type for matching condition\n\n| Enums ||\n|---------------------------------------|-----------------------------------------------------------------------|\n| `COMPARISON_TYPE_UNSPECIFIED` | Unknown |\n| `EQUALS` | Equals, case sensitive |\n| `EQUALS_CASE_INSENSITIVE` | Equals, case insensitive |\n| `CONTAINS` | Contains, case sensitive |\n| `CONTAINS_CASE_INSENSITIVE` | Contains, case insensitive |\n| `STARTS_WITH` | Starts with, case sensitive |\n| `STARTS_WITH_CASE_INSENSITIVE` | Starts with, case insensitive |\n| `ENDS_WITH` | Ends with, case sensitive |\n| `ENDS_WITH_CASE_INSENSITIVE` | Ends with, case insensitive |\n| `GREATER_THAN` | Greater than |\n| `GREATER_THAN_OR_EQUAL` | Greater than or equal |\n| `LESS_THAN` | Less than |\n| `LESS_THAN_OR_EQUAL` | Less than or equal |\n| `REGULAR_EXPRESSION` | regular expression. Only supported for web streams. |\n| `REGULAR_EXPRESSION_CASE_INSENSITIVE` | regular expression, case insensitive. Only supported for web streams. |"]]