Method: properties.createRollupProperty
Utwórz usługę o pełnym zakresie i wszystkie jej połączenia źródłowe.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
Adres URL używa składni transkodowania gRPC.
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"rollupProperty": {
object (Property )
},
"sourceProperties": [
string
]
} |
Pola |
rollupProperty |
object (Property )
Wymagane. Usługa o pełnym zakresie do utworzenia.
|
sourceProperties[] |
string
Opcjonalnie: Nazwy zasobów usług, które będą źródłami utworzonej usługi o pełnym zakresie.
|
Treść odpowiedzi
Odpowiedź na wywołanie usługi RPC properties.createRollupProperty.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Pola |
rollupProperty |
object (Property )
Utworzona usługa o pełnym zakresie.
|
rollupPropertySourceLinks[] |
object (RollupPropertySourceLink )
Linki źródłowe utworzonej usługi o pełnym zakresie.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]