Method: properties.accessBindings.create
Tworzy powiązanie dostępu na koncie lub w usłudze.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Formaty: - konta/{konto} - usługi/{usługa}
|
Treść żądania
Treść żądania zawiera wystąpienie elementu AccessBinding
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję AccessBinding
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.manage.users
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: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["Creates an access binding for a Google Analytics account or property using an HTTP POST request."],["Requires specifying the parent account or property in the request path."],["The request body should contain an `AccessBinding` object, and a successful response will return the created `AccessBinding`."],["Authorization requires the `https://www.googleapis.com/auth/analytics.manage.users` scope."]]],["This outlines creating an access binding for an account or property via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`. The `parent` path parameter, specifying either an account or property, is required. The request body needs an `AccessBinding` instance, and upon success, the response body returns the newly created `AccessBinding`. This action requires the `https://www.googleapis.com/auth/analytics.manage.users` OAuth scope.\n"]]