{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/json-structure/admin-api-measurement-protocol-secret-structure.json", "name": "MeasurementProtocolSecret", "description": "A secret value used for sending hits to Measurement Protocol.", "type": "object", "properties": { "displayName": { "description": "Required. Human-readable display name for this secret.", "type": "string" }, "name": { "description": "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}", "readOnly": true, "type": "string" }, "secretValue": { "description": "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.", "readOnly": true, "type": "string" } } }