REST Resource: properties.dataStreams.measurementProtocolSecrets
Tài nguyên: MeasurementProtocolSecret
Giá trị bí mật dùng để gửi lượt truy cập đến Measurement Protocol.
Biểu diễn dưới dạng JSON |
{
"name": string,
"displayName": string,
"secretValue": string
} |
Trường |
name |
string
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. Format: 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.
|
Phương thức |
|
Tạo mã thông báo bí mật cho Measurement Protocol. |
|
Xoá MeasurementProtocolSecret mục tiêu. |
|
Tìm kiếm một MeasurementProtocolSecret. |
|
Trả về MeasurementProtocolSecrets con trong Tài sản mẹ được chỉ định. |
|
Cập nhật khoá bí mật của Measurement Protocol. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]