Method: properties.dataStreams.eventCreateRules.get
Поиск одного EventCreateRule.
HTTP-запрос
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя EventCreateRule, которое нужно получить. Пример формата: свойства/123/dataStreams/456/eventCreateRules/789. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр EventCreateRule
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/analytics.readonly
-
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."],[[["Retrieves a single, pre-defined EventCreateRule configuration for Google Analytics 4 properties."],["Requires specifying the full resource name of the desired EventCreateRule within the request path."],["Utilizes an HTTP GET request, and an empty request body is expected."],["Successfully retrieving an EventCreateRule returns its configuration details in the response."],["Appropriate authorization with either read-only or edit access to Google Analytics is necessary."]]],["This document outlines the process to retrieve a single EventCreateRule. The core action is a `GET` HTTP request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}`. The `name` parameter, specifying the EventCreateRule's path, is required. The request body must be empty. A successful request returns an `EventCreateRule` instance. This action requires either `analytics.readonly` or `analytics.edit` authorization scopes.\n"]]