AI-generated Key Takeaways
-
Creates an EventEditRule to manage how events are processed within a specified data stream.
-
Requires
https://www.googleapis.com/auth/analytics.edit
OAuth scope for authorization. -
Sends a POST request to
https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
with the EventEditRule details in the request body. -
Includes path parameter
parent
to specify the data stream for which the rule is created (e.g.,properties/123/dataStreams/456
). -
Returns the newly created EventEditRule object in the response body upon successful execution.
Creates an EventEditRule.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
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 EventEditRule
.
Response body
If successful, the response body contains a newly created instance of EventEditRule
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit