Chỉ có đầu ra. Tên tài nguyên của khoá bí mật này. Khoá bí mật này có thể là phần tử con của bất kỳ loại luồng nào. Định dạng: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
displayName
string
Bắt buộc. Tên hiển thị mà con người đọc được cho khoá bí mật này.
secretValue
string
Chỉ có đầu ra. Giá trị bí mật của Measurement Protocol. Truyền giá trị này đến trường api_secret của API Measurement Protocol khi gửi lượt truy cập đến tài sản mẹ của mã thông báo bí mật này.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-04-02 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"]]