Prova il server MCP per Google Analytics. Installa da
GitHub e consulta l'
annuncio per maggiori dettagli.
Method: properties.accessBindings.create
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Crea un'associazione di accesso su un account o una proprietà.
Richiesta HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatoria. Formati: - account/{account} - proprietà/{proprietà}
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di AccessBinding
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di AccessBinding
appena creata.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/analytics.manage.users
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eCreates an access binding for a Google Analytics account or property using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the parent account or property in the request path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an \u003ccode\u003eAccessBinding\u003c/code\u003e object, and a successful response will return the created \u003ccode\u003eAccessBinding\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.manage.users\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: properties.accessBindings.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates an access binding on an account or property.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/accessBindings`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------|\n| `parent` | `string` Required. Formats: - accounts/{account} - properties/{property} |\n\n### Request body\n\nThe request body contains an instance of [AccessBinding](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings#AccessBinding).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [AccessBinding](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts.accessBindings#AccessBinding).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.manage.users`"]]