Method: properties.dataStreams.measurementProtocolSecrets.get
単一の MeasurementProtocolSecret を検索します。
HTTP リクエスト
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。検索する測定プロトコル シークレットの名前。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には MeasurementProtocolSecret
のインスタンスが含まれます。
認可スコープ
以下のいずれかの OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Look up a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires the `name` parameter, specifying the MeasurementProtocolSecret's location within the property and data stream."],["An empty request body is necessary, and a successful response returns a MeasurementProtocolSecret object."],["Authorization is required, utilizing either `analytics.readonly` or `analytics.edit` OAuth scopes."]]],["This document outlines the process to retrieve a single MeasurementProtocolSecret. A `GET` HTTP request is sent to a specific URL, defined by a `name` parameter in the path. The format of the `name` is provided and is required. The request body must be empty. A successful response will include a `MeasurementProtocolSecret` instance in the response body. The request requires one of two OAuth scopes for authorization: `analytics.readonly` or `analytics.edit`.\n"]]