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. מעבירים את הערך הזה לשדה api_secret של Measurement Protocol API כששולחים היטים למאפיין ההורה של הסוד הזה.
|
Methods |
|
יצירת סוד של Measurement Protocol. |
|
מחיקה של היעד MeasurementProtocolSecret. |
|
חיפוש של MeasurementProtocolSecret יחיד. |
|
הפונקציה מחזירה את MeasurementProtocolSecrets הצאצאים בנכס ההורה שצוין. |
|
עדכון סוד של Measurement Protocol. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]