Method: properties.rollupPropertySourceLinks.create
建立綜覽資源來源連結。只有綜覽資源能含有來源連結,因此若用於其他類型的資源,這個方法將擲回錯誤。
HTTP 要求
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。格式:properties/{property_id} 範例:properties/1234
|
回應主體
如果成功,回應主體會包含新建立的 RollupPropertySourceLink
例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/analytics.edit
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-05-06 (世界標準時間)。
[null,null,["上次更新時間:2024-05-06 (世界標準時間)。"],[[["Creates a source link for roll-up properties to link with original properties."],["Uses an HTTP POST request with specific path and request body parameters."],["Successful requests return a newly created `RollupPropertySourceLink` instance."],["Requires `analytics.edit` authorization scope for execution."]]],["This document details how to create a roll-up property source link via a `POST` request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks`. The `parent` path parameter, formatted as `properties/{property_id}`, is required. The request body should contain a `RollupPropertySourceLink` instance, and a successful response will return a newly created `RollupPropertySourceLink`. This action is only for roll-up properties and requires the `analytics.edit` OAuth scope.\n"]]