AI-generated Key Takeaways
-
This document outlines how to look up a single MeasurementProtocolSecret using an HTTP GET request.
-
The HTTP request uses a specific URL format that includes path parameters for the property, data stream, and measurement protocol secret name.
-
The request body must be empty, and a successful response will contain an instance of MeasurementProtocolSecret.
-
The request requires either the
https://www.googleapis.com/auth/analytics.readonly
orhttps://www.googleapis.com/auth/analytics.edit
authorization scope.
Lookup for a single MeasurementProtocolSecret.
HTTP request
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of MeasurementProtocolSecret
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit