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 )
필수 항목입니다. 조건이 하나 이상 있어야 하며 최대 10개까지 지정할 수 있습니다. 이 규칙을 적용하려면 소스 이벤트의 조건이 일치해야 합니다.
|
sourceCopyParameters |
boolean
true인 경우 소스 매개변수가 새 이벤트에 복사됩니다. false이거나 설정되지 않은 경우 소스 이벤트에서 내부 매개변수가 아닌 모든 매개변수가 복사되지 않습니다. 매개변수 변형은 매개변수가 복사된 후에 적용됩니다.
|
parameterMutations[] |
object (ParameterMutation )
매개변수 변형은 새 이벤트의 매개변수 동작을 정의하며 순서대로 적용됩니다. 최대 20개의 변형을 적용할 수 있습니다.
|
메서드 |
|
EventCreateRule을 만듭니다. |
|
EventCreateRule을 삭제합니다. |
|
단일 EventCreateRule을 조회합니다. |
|
웹 데이터 스트림에 EventCreateRules를 나열합니다. |
|
EventCreateRule을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]