Method: properties.rollupPropertySourceLinks.create
Membuat link sumber properti gabungan. Hanya properti gabungan yang dapat memiliki link sumber, sehingga metode ini akan menampilkan error jika digunakan di jenis properti lain.
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Format: properties/{property_id} Contoh: properties/1234
|
Isi permintaan
Isi permintaan memuat instance RollupPropertySourceLink
.
Isi respons
Jika berhasil, isi respons memuat instance RollupPropertySourceLink
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-05-06 UTC.
[null,null,["Terakhir diperbarui pada 2024-05-06 UTC."],[[["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"]]