ParameterMutation
הגדרת פרמטר אירוע לצורך מוטציה.
ייצוג ב-JSON |
{
"parameter": string,
"parameterValue": string
} |
שדות |
parameter |
string
חובה. השם של הפרמטר שרוצים לבצע בו מוטציה. הערך הזה חייב: * להכיל פחות מ-40 תווים. * להיות ייחודי בכל המוטציות בתוך הכלל * לכלול רק אותיות, ספרות או _ (קו תחתון) בכלל לעריכת אירועים, אפשר גם להגדיר את השם כ-'eventName' כדי לשנות את eventName במקום.
|
parameterValue |
string
חובה. המוטציה של הערך שרוצים לבצע. * חייב להכיל פחות מ-100 תווים. * כדי לציין ערך קבוע לפרמטר, משתמשים במחרוזת של הערך. * כדי להעתיק ערך מפרמטר אחר, משתמשים בתחביר כמו "[[other_parameter]]". פרטים נוספים זמינים במאמר הזה במרכז העזרה.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["Defines an event parameter for mutation using JSON representation with `parameter` and `parameterValue` fields."],["`parameter` specifies the event parameter's name for mutation, adhering to specific length, uniqueness, and character constraints."],["`parameterValue` defines the mutation, either as a constant string value or by copying from another parameter using a specific syntax."]]],["The provided JSON structure defines event parameter mutations, requiring a `parameter` name and its `parameterValue`. The `parameter` must be a unique string (under 40 characters), containing letters, digits, or underscores; 'eventName' is also acceptable for event edits. `parameterValue` (under 100 characters) can be a constant string or reference another parameter using the format \"\\[\\[other_parameter\\]\\]\". This controls how an event's parameter should be changed.\n"]]