Method: properties.dataStreams.measurementProtocolSecrets.get
Wyszukiwanie pojedynczego klucza MeasurementProtocolSecret.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa obiektu tajnego Measurement Protocol, który ma zostać wyszukany. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu MeasurementProtocolSecret
.
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-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]