Google 애널리틱스용 MCP 서버를 사용해 보세요.
GitHub에서 설치하고
공지사항에서 자세한 내용을 확인하세요.
REST Resource: properties.dataStreams.eventCreateRules
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: EventCreateRule
이벤트 만들기 규칙은 소스 이벤트의 일치 기준에 따라 완전히 새로운 이벤트 생성을 트리거하는 조건을 정의합니다. 소스 이벤트에서 매개변수의 추가 변형을 정의할 수 있습니다.
이벤트 수정 규칙과 달리 이벤트 생성 규칙에는 정의된 순서가 없습니다. 모두 독립적으로 실행됩니다.
이벤트 수정 및 이벤트 만들기 규칙은 이벤트 만들기 규칙에서 만든 이벤트를 수정하는 데 사용할 수 없습니다.
JSON 표현 |
{
"name": string,
"destinationEvent": string,
"eventConditions": [
{
object (MatchingCondition )
}
],
"sourceCopyParameters": boolean,
"parameterMutations": [
{
object (ParameterMutation )
}
]
} |
필드 |
name |
string
출력 전용입니다. 이 EventCreateRule 리소스의 리소스 이름입니다. 형식: 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을 조회합니다. |
|
웹 데이터 스트림에서 EventCreateRules를 나열합니다. |
|
EventCreateRule을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eEvent Create Rules define conditions that trigger the creation of a new event based on a source event and allow for parameter modifications.\u003c/p\u003e\n"],["\u003cp\u003eThese 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.\u003c/p\u003e\n"],["\u003cp\u003eEvent Create Rules have several configurable fields, including name, destination event, event conditions, source parameter copying, and parameter mutations.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage Event Create Rules through various methods like creating, deleting, looking up, listing, and updating them.\u003c/p\u003e\n"]]],["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"],null,["# REST Resource: properties.dataStreams.eventCreateRules\n\n- [Resource: EventCreateRule](#EventCreateRule)\n - [JSON representation](#EventCreateRule.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: EventCreateRule\n-------------------------\n\nAn Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.\n\nUnlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently.\n\nEvent Edit and Event Create rules can't be used to modify an event created from an Event Create rule.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"destinationEvent\": string, \"eventConditions\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/MatchingCondition) } ], \"sourceCopyParameters\": boolean, \"parameterMutations\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/ParameterMutation) } ] } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule} |\n| `destinationEvent` | `string` Required. The name of the new event to be created. This value must: \\* be less than 40 characters \\* consist only of letters, digits or _ (underscores) \\* start with a letter |\n| `eventConditions[]` | `object (`[MatchingCondition](/analytics/devguides/config/admin/v1/rest/v1alpha/MatchingCondition)`)` Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied. |\n| `sourceCopyParameters` | `boolean` If true, the source parameters are copied to the new event. If false, or unset, all non-internal parameters are not copied from the source event. Parameter mutations are applied after the parameters have been copied. |\n| `parameterMutations[]` | `object (`[ParameterMutation](/analytics/devguides/config/admin/v1/rest/v1alpha/ParameterMutation)`)` Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams.eventCreateRules/create) | Creates an EventCreateRule. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams.eventCreateRules/delete) | Deletes an EventCreateRule. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams.eventCreateRules/get) | Lookup for a single EventCreateRule. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams.eventCreateRules/list) | Lists EventCreateRules on a web data stream. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.dataStreams.eventCreateRules/patch) | Updates an EventCreateRule. |"]]