REST Resource: properties.dataStreams.eventCreateRules
リソース: EventCreateRule
イベント作成ルールでは、参照元イベントの一致条件に基づいて、まったく新しいイベントの作成をトリガーする条件を定義します。ソースイベントのパラメータの追加ミューテーションを定義できます。
イベントの編集ルールとは異なり、イベント作成ルールには定義された順序はありません。これらはすべて独立して実行されます。
イベントの作成ルールから作成されたイベントを変更するには、イベントの編集ルールとイベントの作成ルールを使用できません。
JSON 表現 |
{
"name": string,
"destinationEvent": string,
"eventConditions": [
{
object (MatchingCondition )
}
],
"sourceCopyParameters": boolean,
"parameterMutations": [
{
object (ParameterMutation )
}
]
} |
フィールド |
name |
string
出力専用。この EventCreateRule リソースのリソース名。Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule}
|
destinationEvent |
string
必須。作成する新しいイベントの名前。 この値は、* 40 文字未満 * 文字、数字、_(アンダースコア)のみで構成 * 先頭が文字である必要があります。
|
eventConditions[] |
object (MatchingCondition )
必須。少なくとも 1 つの条件が必要です。最大 10 個の条件を指定できます。このルールを適用するには、ソースイベントの条件が一致している必要があります。
|
sourceCopyParameters |
boolean
true の場合、ソース パラメータが新しいイベントにコピーされます。false または未設定の場合、内部以外のパラメータはすべてソースイベントからコピーされません。パラメータの変更は、パラメータがコピーされた後に適用されます。
|
parameterMutations[] |
object (ParameterMutation )
パラメータ ミューテーションは、新しいイベントのパラメータ動作を定義し、順番に適用されます。適用できるミューテーションは最大 20 個です。
|
メソッド |
|
EventCreateRule を作成します。 |
|
EventCreateRule を削除します。 |
|
単一の EventCreateRule を検索します。 |
|
ウェブデータ ストリームの EventCreateRule を一覧表示します。 |
|
EventCreateRule を更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Event Create Rules define conditions that trigger the creation of a new event based on a source event and allow for parameter modifications."],["These rules operate independently and cannot modify events created by other Event Create rules, nor can they be used with Event Edit rules on such events."],["Event Create Rules have several configurable fields, including name, destination event, event conditions, source parameter copying, and parameter mutations."],["You can manage Event Create Rules through various methods like creating, deleting, looking up, listing, and updating them."]]],["EventCreateRules trigger the creation of new events based on source event criteria. Rules operate independently, and cannot modify events they create. Key actions include: defining a `destinationEvent` name (under 40 characters, letters/digits/underscores, starts with a letter), setting `eventConditions` (1-10) for rule activation, controlling `sourceCopyParameters` (boolean), and defining up to 20 `parameterMutations`. Methods support creating, deleting, getting, listing, and updating EventCreateRules. A JSON representation of the rule is provided.\n"]]