النتائج فقط. اسم المورد لهذا المفتاح السري قد يكون هذا السر عنصرًا فرعيًا لأي نوع من أحداث البث. التنسيق: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
displayName
string
مطلوب. الاسم المعروض لهذا السرّ والذي يمكن لشخص عادي قراءته
secretValue
string
النتائج فقط. قيمة مفتاح Measurement Protocol السري نقْل هذه القيمة إلى حقل api_secret في Measurement Protocol API عند إرسال نتائج إلى الموقع الرئيسي لهذا السرّ
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eMeasurement Protocol Secret is a mechanism to securely send data to Google Analytics 4 using the Measurement Protocol API.\u003c/p\u003e\n"],["\u003cp\u003eIt involves a secret value that needs to be passed to the \u003ccode\u003eapi_secret\u003c/code\u003e field when sending hits.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage these secrets through the Google Analytics Admin API, allowing you to create, delete, get, list, and update them.\u003c/p\u003e\n"],["\u003cp\u003eEach secret is associated with a specific Google Analytics 4 property and data stream for data organization and security.\u003c/p\u003e\n"]]],["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"],null,["# REST Resource: properties.dataStreams.measurementProtocolSecrets\n\n- [Resource: MeasurementProtocolSecret](#MeasurementProtocolSecret)\n - [JSON representation](#MeasurementProtocolSecret.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: MeasurementProtocolSecret\n-----------------------------------\n\nA secret value used for sending hits to Measurement Protocol.\n\n| JSON representation |\n|--------------------------------------------------------------------------|\n| ``` { \"name\": string, \"displayName\": string, \"secretValue\": string } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |\n| `displayName` | `string` Required. Human-readable display name for this secret. |\n| `secretValue` | `string` Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams.measurementProtocolSecrets/create) | Creates a measurement protocol secret. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams.measurementProtocolSecrets/delete) | Deletes target MeasurementProtocolSecret. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams.measurementProtocolSecrets/get) | Lookup for a single MeasurementProtocolSecret. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams.measurementProtocolSecrets/list) | Returns child MeasurementProtocolSecrets under the specified parent Property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1beta/properties.dataStreams.measurementProtocolSecrets/patch) | Updates a measurement protocol secret. |"]]