Method: properties.dataStreams.measurementProtocolSecrets.get
Stay organized with collections
Save and categorize content based on your preferences.
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 or https://www.googleapis.com/auth/analytics.edit authorization scope.
Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-14 UTC."],[],["This documentation details how to retrieve a single MeasurementProtocolSecret. The core action is a `GET` HTTP request to a specific URL that includes path parameters, specifically the secret's `name`. This `name` is a formatted string that identifies the resource. The request body must be empty. A successful request returns a `MeasurementProtocolSecret` object. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. The process uses gRPC Transcoding syntax.\n"]]