AI-generated Key Takeaways
- 
          The purpose of this page is to detail how to list child MeasurementProtocolSecrets under a specified parent Property. 
- 
          The HTTP request method is GET, and the request URL includes path parameters for specifying the parent property and data stream. 
- 
          Optional query parameters include pageSizeandpageTokenfor pagination.
- 
          The request body should be empty. 
- 
          The response body contains a list of measurementProtocolSecretsand an optionalnextPageTokenfor pagination.
- 
          The request requires either the https://www.googleapis.com/auth/analytics.readonlyorhttps://www.googleapis.com/auth/analytics.editOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns child MeasurementProtocolSecrets under the specified parent Property.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum. | 
| pageToken | 
 A page token, received from a previous  | 
Request body
The request body must be empty.
Response body
Response message for ListMeasurementProtocolSecret RPC
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "measurementProtocolSecrets": [
    {
      object ( | 
| Fields | |
|---|---|
| measurementProtocolSecrets[] | 
 A list of secrets for the parent stream specified in the request. | 
| nextPageToken | 
 A token, which can be sent as  | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/analytics.readonly
- https://www.googleapis.com/auth/analytics.edit