ParameterMutation
กําหนดพารามิเตอร์เหตุการณ์ที่จะเปลี่ยน
การแสดง JSON |
{
"parameter": string,
"parameterValue": string
} |
ช่อง |
parameter |
string
ต้องระบุ ชื่อพารามิเตอร์ที่จะเปลี่ยน ค่านี้ต้องมีลักษณะดังนี้ * มีความยาวไม่เกิน 40 อักขระ * ต้องไม่ซ้ำกันในทุกการกลายพันธุ์ภายในกฎ * ประกอบด้วยตัวอักษร ตัวเลข หรือ _ (ขีดล่าง) เท่านั้น สําหรับกฎการแก้ไขเหตุการณ์ คุณอาจตั้งชื่อเป็น "eventName" เพื่อแก้ไข eventName แทนก็ได้
|
parameterValue |
string
ต้องระบุ การกลายพันธุ์ของค่าที่จะดำเนินการ * ต้องมีความยาวไม่เกิน 100 อักขระ * หากต้องการระบุค่าคงที่สำหรับพารามิเตอร์ ให้ใช้สตริงของค่า * หากต้องการคัดลอกค่าจากพารามิเตอร์อื่น ให้ใช้ไวยากรณ์ เช่น "[[other_parameter]]" ดูรายละเอียดเพิ่มเติมได้ที่บทความนี้ในศูนย์ช่วยเหลือ
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]