Method: users.get
Получает пользователя.
Этот метод имеет уникальные требования к аутентификации. Прежде чем использовать этот метод, прочтите предварительные требования в нашем руководстве по управлению пользователями .
Функция «Попробуйте этот метод» для этого метода не работает.
HTTP-запрос
GET https://displayvideo.googleapis.com/v3/users/{userId}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
userId | string ( int64 format) Необходимый. Идентификатор пользователя, которого требуется получить. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр User
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/display-video-user-management
Для получения дополнительной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-02-25 UTC.
[null,null,["Последнее обновление: 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"]]