Method: properties.dataStreams.eventCreateRules.create
HTTP-запрос
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
parent | string Необходимый. Пример формата: свойства/123/dataStreams/456. |
Тело запроса
Тело запроса содержит экземпляр EventCreateRule
.
Тело ответа
В случае успеха тело ответа содержит вновь созданный экземпляр EventCreateRule
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-25 UTC.
[null,null,["Последнее обновление: 2024-10-25 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"]]