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。"],[[["`CalculatedMetric` resource defines custom metrics with a formula, display name, and unit of measurement."],["Metrics can be based on standard or restricted data, such as cost or revenue, with access controlled by user roles."],["Formulas can incorporate basic arithmetic operations and reference other metrics, supporting customization."],["APIs are available to manage calculated metrics, including creation, retrieval, updates, and deletion."],["Each metric has a unique ID (`calculatedMetricId`) used for referencing in external APIs and integrations."]]],["MeasurementProtocolSecret is a resource for sending hits to the Measurement Protocol. It contains a `name`, `displayName`, and `secretValue`. The secret value is used in the `api_secret` field when sending hits. Key actions include creating, deleting, retrieving (get), listing, and updating (patch) MeasurementProtocolSecrets. Each secret belongs to a parent property and can be managed using specified methods under `properties.dataStreams.measurementProtocolSecrets`. The json representation shows its fields and types.\n"]]