Method: properties.createRollupProperty
یک ویژگی جمعآوری و همه پیوندهای منبع ویژگی جمعآوری ایجاد کنید.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
URL از دستور GRPC Transcoding استفاده می کند.
درخواست بدن
بدنه درخواست حاوی داده هایی با ساختار زیر است:
نمایندگی JSON |
---|
{
"rollupProperty": {
object (Property )
},
"sourceProperties": [
string
]
} |
فیلدها |
---|
rollup Property | object ( Property ) مورد نیاز. ویژگی roll-up برای ایجاد. |
source Properties[] | string اختیاری. نام منابع خواصی که منابعی برای ویژگی جمعآوری ایجاد شده خواهند بود. |
بدن پاسخگو
پیام پاسخ برای properties.createRollupProperty RPC.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
rollup Property | object ( Property ) ویژگی roll-up ایجاد شده. |
rollup Property Source Links[] | object ( RollupPropertySourceLink ) پیوندهای منبع ویژگی جمع آوری ایجاد شده. |
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 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"]]