REST Resource: properties.dataStreams.eventEditRules
資源:EventEditRule
事件編輯規則會定義觸發條件,根據來源事件的符合條件建立全新事件。您可以定義來源事件的參數其他變異型。
與事件建立規則不同,事件編輯規則會按照定義的順序套用。
事件編輯規則無法用於修改透過事件建立規則建立的事件。
JSON 表示法 |
{
"name": string,
"displayName": string,
"eventConditions": [
{
object (MatchingCondition )
}
],
"parameterMutations": [
{
object (ParameterMutation )
}
],
"processingOrder": string
} |
欄位 |
name |
string
ID。這個 EventEditRule 資源的資源名稱。Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
displayName |
string
必要欄位。這項事件編輯規則的顯示名稱。長度上限為 255 個半形字元。
|
eventConditions[] |
object (MatchingCondition )
必要欄位。來源事件的條件必須相符,系統才會套用這項規則。至少須有一個條件,最多可有 10 個。
|
parameterMutations[] |
object (ParameterMutation )
必要欄位。參數變異會定義新事件的參數行為,並依序套用。最多可套用 20 個突變。
|
processingOrder |
string (int64 format)
僅供輸出。這項規則會處理的訂單。訂單價值低於這個值的規則會先處理,而訂單價值高於這個值的規則會在這個規則之後處理。系統會在訂單結束時,為新的事件編輯規則指派順序值。 這個值不適用於事件建立規則。
|
方法 |
|
建立 EventEditRule。 |
|
刪除 EventEditRule。 |
|
查詢單一 EventEditRule。 |
|
列出網站資料串流中的 EventEditRules。 |
|
更新 EventEditRule。 |
|
變更指定串流中事件編輯規則的處理順序。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-14 (世界標準時間)。
[null,null,["上次更新時間:2025-01-14 (世界標準時間)。"],[[["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"]]