REST Resource: properties.dataStreams.measurementProtocolSecrets
リソース: MeasurementProtocolSecret
Measurement Protocol にヒットを送信するために使用されるシークレット値。
JSON 表現 |
{
"name": string,
"displayName": string,
"secretValue": string
} |
フィールド |
name |
string
出力専用。このシークレットのリソース名。このシークレットは、任意のタイプのストリームの子にできます。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
displayName |
string
必須。このシークレットの表示名(人が読める形式)。
|
secretValue |
string
出力専用。Measurement Protocol のシークレット値。この値は、このシークレットの親プロパティにヒットを送信するときに、Measurement Protocol API の api_secret フィールドに渡します。
|
メソッド |
|
Measurement Protocol シークレットを作成します。 |
|
ターゲット MeasurementProtocolSecret を削除します。 |
|
単一の MeasurementProtocolSecret を検索します。 |
|
指定された親プロパティの下の子 MeasurementProtocolSecret を返します。 |
|
Measurement Protocol シークレットを更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Measurement Protocol Secret is a mechanism to securely send data to Google Analytics 4 using the Measurement Protocol API."],["It involves a secret value that needs to be passed to the `api_secret` field when sending hits."],["You can manage these secrets through the Google Analytics Admin API, allowing you to create, delete, get, list, and update them."],["Each secret is associated with a specific Google Analytics 4 property and data stream for data organization and security."]]],["MeasurementProtocolSecret is a secret value for sending hits to Measurement Protocol. It has a `name`, `displayName`, and `secretValue`. The secret value is used with the Measurement Protocol API. You can perform actions like create, delete, get, list, and update MeasurementProtocolSecrets. The secret's resource name follows a specific format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}. The display name is a user-friendly label and it's required.\n"]]