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 Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-02-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-02-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]