Method: properties.dataStreams.eventEditRules.create

  • An EventEditRule can be created using a POST request to the specified URL.

  • The request requires a parent path parameter in the format properties/*/dataStreams/*.

  • The request body should contain an instance of EventEditRule.

  • A successful response body will contain a newly created instance of EventEditRule.

  • The request requires the https://www.googleapis.com/auth/analytics.edit authorization scope.

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

string

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