Method: properties.dataStreams.eventCreateRules.create

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

string

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