Method: properties.getDataRetentionSettings

返回此属性的单例数据保留设置。

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。要查询的设置的名称。格式:properties/{property}/data retentionSettings 示例:"properties/1000/data retentionSettings"

请求正文

请求正文必须为空。

响应正文

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

授权范围

需要以下 OAuth 范围之一:

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