Method: users.get
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
GET https://displayvideo.googleapis.com/v1beta2/users/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
userId |
string (int64 format)
Required. The ID of the user to fetch.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of User
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video-user-management
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["Retrieves user information using a GET request to a specified endpoint with the user ID."],["Requires an empty request body and returns a User object upon successful execution."],["Needs authorization with the 'https://www.googleapis.com/auth/display-video-user-management' scope for access."],["Utilizes gRPC Transcoding for URL syntax and int64 format for the userId path parameter."]]],["This outlines how to retrieve a user via an HTTP GET request. The request URL is `https://displayvideo.googleapis.com/v1beta2/users/{userId}`, using gRPC Transcoding syntax. The `userId` parameter, a required string, specifies the user to be fetched. The request body must be empty. A successful request returns a `User` instance in the response body. The `https://www.googleapis.com/auth/display-video-user-management` OAuth scope is required for authorization.\n"]]