AI-generated Key Takeaways
-
A
MeasurementProtocolSecretis a secret value used for sending hits to Measurement Protocol. -
The JSON representation of a
MeasurementProtocolSecretincludesname,displayName, andsecretValue. -
nameandsecretValueare output only fields, whiledisplayNameis a required input field. -
Methods available for
MeasurementProtocolSecretinclude create, delete, get, list, and patch.
Resource: MeasurementProtocolSecret
A secret value used for sending hits to Measurement Protocol.
| JSON representation |
|---|
{ "name": string, "displayName": string, "secretValue": string } |
| Fields | |
|---|---|
name |
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} |
displayName |
Required. Human-readable display name for this secret. |
secretValue |
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. |
Methods |
|
|---|---|
|
Creates a measurement protocol secret. |
|
Deletes target MeasurementProtocolSecret. |
|
Lookup for a single MeasurementProtocolSecret. |
|
Returns child MeasurementProtocolSecrets under the specified parent Property. |
|
Updates a measurement protocol secret. |