Method: properties.dataStreams.eventCreateRules.create
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[],["This document details how to create an EventCreateRule using a POST request. The request is sent to a specific URL with a required `parent` path parameter, formatted as `properties/*/dataStreams/*`. The request body must include an `EventCreateRule` instance. A successful request returns a new `EventCreateRule` instance in the response body. This action requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope. Additional resources are: `gRPC Transcoding` and `EventCreateRule` page.\n"]]