Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
Method: properties.dataStreams.eventCreateRules.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyszukuje pojedynczą regułę EventCreateRule.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa reguły EventCreateRule, która ma zostać pobrana. Przykładowy format: properties/123/dataStreams/456/eventCreateRules/789
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EventCreateRule
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
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: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 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"]]