Method: properties.createRollupProperty
HTTP 请求
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
网址采用 gRPC 转码语法。
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
{
"rollupProperty": {
object (Property )
},
"sourceProperties": [
string
]
} |
字段 |
rollupProperty |
object (Property )
必需。要创建的总览媒体资源。
|
sourceProperties[] |
string
可选。将成为所创建总览媒体资源来源的媒体资源的资源名称。
|
响应正文
针对 properties.createRollupProperty RPC 的响应消息。
如果成功,响应正文将包含结构如下的数据:
字段 |
rollupProperty |
object (Property )
创建的总览媒体资源。
|
rollupPropertySourceLinks[] |
object (RollupPropertySourceLink )
创建的总览媒体资源来源链接。
|
授权范围
需要以下 OAuth 范围:
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。"],[[["This documentation outlines the process for creating a roll-up property and its source links using the `createRollupProperty` method."],["The request body requires defining the roll-up property and optionally specifying source properties."],["Successful execution returns the newly created roll-up property and its source links."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to create a roll-up property and its source links via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty`. The request body includes a `rollupProperty` object and an optional array of `sourceProperties`. The successful response contains the created `rollupProperty` and an array of `rollupPropertySourceLinks`. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The document provides the JSON structures for both request and response.\n"]]