Method: users.get
Mendapatkan pengguna.
Metode ini memiliki persyaratan autentikasi yang unik. Baca prasyarat di panduan Mengelola Pengguna sebelum menggunakan metode ini.
Fitur "Coba metode ini" tidak berfungsi untuk metode ini.
Permintaan HTTP
GET https://displayvideo.googleapis.com/v3/users/{userId}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
userId |
string (int64 format)
Wajib. ID pengguna yang akan diambil.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance User
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/display-video-user-management
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-25 UTC.
[null,null,["Terakhir diperbarui pada 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"]]