Method: properties.createRollupProperty
Tạo tài sản cuộn lên và tất cả đường liên kết đến nguồn của tài sản cuộn lên.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
URL sử dụng cú pháp Chuyển mã gRPC.
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"rollupProperty": {
object (Property )
},
"sourceProperties": [
string
]
} |
Trường |
rollupProperty |
object (Property )
Bắt buộc. Tài sản cuộn lên cần tạo.
|
sourceProperties[] |
string
Không bắt buộc. Tên tài nguyên của các tài sản sẽ là nguồn cho tài sản cuộn lên đã tạo.
|
Nội dung phản hồi
Thông báo phản hồi cho RPC properties.createRollupProperty.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Trường |
rollupProperty |
object (Property )
Tài sản tổng hợp đã tạo.
|
rollupPropertySourceLinks[] |
object (RollupPropertySourceLink )
Các đường liên kết đến nguồn của tài sản cuộn lên đã tạo.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-01-14 UTC."],[[["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"]]