v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13286594.5 KB
properties

Creates a measurement protocol secret.

post/v1beta/{+parent}/measurementProtocolSecrets

Path parameters

parentstring required

Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}

Request body

secretValuestring

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.

namestring

Identifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}

displayNamestring

Required. Human-readable display name for this secret.

Response

Successful response