Method: properties.createRollupProperty
สร้างพร็อพเพอร์ตี้ภาพรวมและลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมทั้งหมด
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
URL ใช้ไวยากรณ์การแปลง gRPC
เนื้อหาของคำขอ
เนื้อความของคำขอมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"rollupProperty": {
object (Property )
},
"sourceProperties": [
string
]
} |
ช่อง |
rollupProperty |
object (Property )
ต้องระบุ พร็อพเพอร์ตี้ภาพรวมที่จะสร้าง
|
sourceProperties[] |
string
ไม่บังคับ ชื่อทรัพยากรของพร็อพเพอร์ตี้ที่จะเป็นแหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมที่สร้างขึ้น
|
เนื้อหาการตอบกลับ
ข้อความตอบกลับสําหรับ RPC ของ properties.createRollupProperty
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
rollupProperty |
object (Property )
พร็อพเพอร์ตี้ภาพรวมที่สร้าง
|
rollupPropertySourceLinks[] |
object (RollupPropertySourceLink )
ลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมที่สร้าง
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 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"]]