Method: properties.dataStreams.measurementProtocolSecrets.get
Поиск одного MeasurementProtocolSecret.
HTTP-запрос
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя секретного протокола измерений для поиска. Формат: свойства/{свойство}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр MeasurementProtocolSecret
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-14 UTC.
[null,null,["Последнее обновление: 2025-01-14 UTC."],[[["Retrieve a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires a specific path parameter to identify the desired MeasurementProtocolSecret by name."],["An empty request body is necessary, while a successful response includes details about the MeasurementProtocolSecret."],["Authorization is required using specific OAuth scopes for either read-only or edit access."]]],["This documentation details how to retrieve a single MeasurementProtocolSecret. The core action is a `GET` HTTP request to a specific URL that includes path parameters, specifically the secret's `name`. This `name` is a formatted string that identifies the resource. The request body must be empty. A successful request returns a `MeasurementProtocolSecret` object. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. The process uses gRPC Transcoding syntax.\n"]]