Method: properties.dataStreams.measurementProtocolSecrets.get
查找单个 MeasurementProtocolSecret。
HTTP 请求
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要查找的衡量协议 Secret 的名称。Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["Look up a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires the `name` parameter, specifying the MeasurementProtocolSecret's location within the property and data stream."],["An empty request body is necessary, and a successful response returns a MeasurementProtocolSecret object."],["Authorization is required, utilizing either `analytics.readonly` or `analytics.edit` OAuth scopes."]]],["This document outlines the process to retrieve a single MeasurementProtocolSecret. A `GET` HTTP request is sent to a specific URL, defined by a `name` parameter in the path. The format of the `name` is provided and is required. The request body must be empty. A successful response will include a `MeasurementProtocolSecret` instance in the response body. The request requires one of two OAuth scopes for authorization: `analytics.readonly` or `analytics.edit`.\n"]]