Google Analytics için MCP sunucusunu deneyin.
GitHub'dan yükleyin ve daha fazla bilgi için
duyuruyu inceleyin.
REST Resource: properties.dataStreams.measurementProtocolSecrets
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: MeasurementProtocolSecret
Measurement Protocol'a isabet göndermek için kullanılan gizli bir değer.
JSON gösterimi |
{
"name": string,
"displayName": string,
"secretValue": string
} |
Alanlar |
name |
string
Yalnızca çıkış. Bu gizli anahtarın kaynak adı. Bu gizlilik, herhangi bir akış türüne ait bir alt öğe olabilir. Biçim: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
displayName |
string
Zorunlu. Bu gizli anahtarın, kullanıcılar tarafından okunabilir görünen adı.
|
secretValue |
string
Yalnızca çıkış. Measurement Protocol gizli anahtarı değeri. Bu gizli anahtarın üst mülküne isabet gönderirken bu değeri Measurement Protocol API'nin api_secret alanına iletin.
|
Yöntemler |
|
Measurement Protocol gizli anahtarı oluşturur. |
|
Hedef MeasurementProtocolSecret'i siler. |
|
Tek bir MeasurementProtocolSecret için arama yapın. |
|
Belirtilen üst mülk altındaki MeasurementProtocolSecrets alt öğelerini döndürür. |
|
Measurement Protocol gizli anahtarını günceller. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 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"]]