Method: properties.getDataRetentionSettings

返回此媒体资源的单例数据保留设置。

HTTP 请求

GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataRetentionSettings}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。要查找的设置的名称。格式:properties/{property}/data 保留 Settings 示例:“properties/1000/data 保留 Settings”

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 DataRetentionSettings 实例。

授权范围

需要以下 OAuth 范围之一:

  • https://www.googleapis.com/auth/analytics.readonly
  • https://www.googleapis.com/auth/analytics.edit