AI-generated Key Takeaways
-
The main purpose of this page is to describe how to create an EventCreateRule.
-
The HTTP request uses a POST method to the specified URL, including a parent path parameter.
-
The request body should contain an instance of EventCreateRule, and the successful response body will also contain a newly created instance of EventCreateRule.
-
Creating an EventCreateRule requires the
https://www.googleapis.com/auth/analytics.edit
authorization scope.
Creates an EventCreateRule.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Example format: properties/123/dataStreams/456 |
Request body
The request body contains an instance of EventCreateRule
.
Response body
If successful, the response body contains a newly created instance of EventCreateRule
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit