REST Resource: properties.dataStreams.eventEditRules
משאב: EventEditRule
כלל לעריכת אירוע מגדיר תנאים שיפעילו את היצירה של אירוע חדש לגמרי על סמך קריטריונים תואמים של אירוע מקור. אפשר להגדיר מוטציות נוספות של הפרמטרים מאירוע המקור.
בניגוד לכללים ליצירת אירועים, כללי העריכה של אירועים חלים לפי הסדר שבו הם מוגדרים.
אי אפשר להשתמש בכללי עריכה של אירועים כדי לשנות אירוע שנוצר מכלל יצירת אירוע.
ייצוג ב-JSON |
{
"name": string,
"displayName": string,
"eventConditions": [
{
object (MatchingCondition )
}
],
"parameterMutations": [
{
object (ParameterMutation )
}
],
"processingOrder": string
} |
שדות |
name |
string
מזהה. שם המשאב של משאב EventEditRule הזה. Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
displayName |
string
חובה. השם המוצג של כלל העריכה של האירוע. 255 תווים לכל היותר.
|
eventConditions[] |
object (MatchingCondition )
חובה. התנאים באירוע המקור חייבים להתאים כדי שהכלל הזה יחול. צריך להיות לפחות תנאי אחד, וניתן להגדיר עד 10 תנאים.
|
parameterMutations[] |
object (ParameterMutation )
חובה. המוטציות של הפרמטרים מגדירות את התנהגות הפרמטרים באירוע החדש, והן חלות לפי הסדר. אפשר להחיל עד 20 מוטציות.
|
processingOrder |
string (int64 format)
פלט בלבד. ההזמנה שבה הכלל הזה יטפל. כללים עם ערך הזמנה נמוך מהסכום הזה יטופלו לפני הכלל הזה, וכללים עם ערך הזמנה גבוה מהסכום הזה יטופלו אחרי הכלל הזה. כללים חדשים לעריכת אירועים יקבלו ערך הזמנה בסוף ההזמנה. הערך הזה לא חל על כללים ליצירת אירועים.
|
Methods |
|
יצירת EventEditRule. |
|
מחיקה של EventEditRule. |
|
חיפוש של EventEditRule יחיד. |
|
הצגת רשימת EventEditRules במקור לנתוני אתר. |
|
עדכון של EventEditRule. |
|
שינוי סדר העיבוד של כללי העריכה של אירועים בשידור שצוין. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["An Event Edit Rule generates a new event based on matching criteria from a source event and allows for parameter modifications."],["Event Edit Rules are applied sequentially in their defined order, unlike Event Create rules."],["These rules cannot modify events originating from Event Create rules."],["Event Edit Rules include definable conditions, parameter mutations, and a processing order for execution."],["You can manage Event Edit Rules using methods like create, delete, get, list, patch, and reorder to control event processing."]]],["Event Edit Rules create new events based on source event criteria, with defined parameter mutations. Rules are applied sequentially based on `processingOrder`. Each rule has a `name`, `displayName`, `eventConditions`, and `parameterMutations`. Rules can be created, deleted, retrieved, listed, updated, and reordered. Matching conditions trigger the rule's application, with mutations modifying parameters. Up to 10 conditions and 20 mutations are allowed.\n"]]