Method: properties.dataStreams.eventCreateRules.create

  • Creates an EventCreateRule using an HTTP POST request to a specified URL with path parameters for parent resource.

  • The request body should contain an instance of EventCreateRule, and a successful response will return the newly created EventCreateRule.

  • Requires authorization with the https://www.googleapis.com/auth/analytics.edit 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

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