Method: users.get
Recupera un utente.
Questo metodo ha requisiti di autenticazione unici. Prima di utilizzare questo metodo, leggi i prerequisiti nella nostra guida alla gestione degli utenti.
La funzionalità "Prova questo metodo" non funziona per questo metodo.
Richiesta HTTP
GET https://displayvideo.googleapis.com/v3/users/{userId}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
userId |
string (int64 format)
Obbligatorio. L'ID dell'utente da recuperare.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di User
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/display-video-user-management
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
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-02-25 UTC.
[null,null,["Ultimo aggiornamento 2025-02-25 UTC."],[[["This guide details how to get information about a specific user within the Display & Video 360 platform using an HTTP GET request."],["Authentication is required and specific prerequisites outlined in the Managing Users guide must be met to use this method."],["The request requires a `userId` path parameter, while the request body should remain empty, with a successful response returning a `User` object containing the requested user's information."],["Authorization using the `https://www.googleapis.com/auth/display-video-user-management` OAuth scope is necessary."],["The \"Try this method\" feature is unavailable for this particular method."]]],["This describes retrieving a user via a `GET` request to `https://displayvideo.googleapis.com/v3/users/{userId}`. The `userId`, a required parameter, specifies the user to fetch. The request body must be empty. A successful response returns a `User` object. Specific authentication is required, and the `https://www.googleapis.com/auth/display-video-user-management` OAuth scope is necessary. The \"Try it\" function is not available for this method, and prerequisites should be reviewed before usage.\n"]]