Method: properties.dataStreams.measurementProtocolSecrets.get
単一の MeasurementProtocolSecret を検索します。
HTTP リクエスト
GET https://analyticsadmin.googleapis.com/v1beta/{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。"],[[["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"]]