Method: properties.dataStreams.eventCreateRules.create
Tworzy regułę EventCreateRule.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Przykładowy format: properties/123/dataStreams/456
|
Treść żądania
Treść żądania zawiera wystąpienie elementu EventCreateRule
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję EventCreateRule
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["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."]]],["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"]]