ParameterMutation
Defines an event parameter to mutate.
JSON representation |
{
"parameter": string,
"parameterValue": string
} |
Fields |
parameter |
string
Required. The name of the parameter to mutate. This value must: * be less than 40 characters. * be unique across across all mutations within the rule * consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'eventName' to modify the eventName in place.
|
parameterValue |
string
Required. The value mutation to perform. * Must be less than 100 characters. * To specify a constant value for the param, use the value's string. * To copy value from another parameter, use syntax like "[[other_parameter]]" For more details, see this help center article.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[null,null,["Last updated 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"]]