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)."],[[["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"]]