Google Classroom ऐड-ऑन अब आम तौर पर डेवलपर के लिए उपलब्ध हैं! ज़्यादा जानकारी के लिए, कृपया
ऐड-ऑन दस्तावेज़ देखें.
REST Resource: userProfiles
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: UserProfile
किसी उपयोगकर्ता की दुनिया भर की जानकारी.
JSON के काेड में दिखाना |
{
"id": string,
"name": {
object (Name )
},
"emailAddress": string,
"photoUrl": string,
"permissions": [
{
object (GlobalPermission )
}
],
"verifiedTeacher": boolean
} |
फ़ील्ड |
id |
string
उपयोगकर्ता का आइडेंटिफ़ायर. सिर्फ़ पढ़ने के लिए.
|
name |
object (Name )
उपयोगकर्ता का नाम. सिर्फ़ पढ़ने के लिए.
|
emailAddress |
string
उपयोगकर्ता का ईमेल पता. इस फ़ील्ड को रिस्पॉन्स बॉडी में पॉप्युलेट करने के लिए, https://www.googleapis.com/auth/classroom.profile.emails स्कोप का अनुरोध करना ज़रूरी है. सिर्फ़ पढ़ने के लिए.
|
photoUrl |
string
उपयोगकर्ता की प्रोफ़ाइल फ़ोटो का यूआरएल. इस फ़ील्ड को रिस्पॉन्स बॉडी में पॉप्युलेट करने के लिए, https://www.googleapis.com/auth/classroom.profile.photos स्कोप का अनुरोध करना ज़रूरी है. सिर्फ़ पढ़ने के लिए.
|
permissions[] |
object (GlobalPermission )
उपयोगकर्ता की ग्लोबल अनुमतियां. सिर्फ़ पढ़ने के लिए.
|
verifiedTeacher |
boolean
इससे पता चलता है कि Google Workspace for Education के उपयोगकर्ता के डोमेन एडमिन ने साफ़ तौर पर इस बात की पुष्टि की है कि वह शिक्षक है. अगर उपयोगकर्ता, Google Workspace for Education डोमेन का सदस्य नहीं है, तो यह फ़ील्ड हमेशा गलत होता है. रीड-ओनली
|
नाम
उपयोगकर्ता के नाम की जानकारी.
JSON के काेड में दिखाना |
{
"givenName": string,
"familyName": string,
"fullName": string
} |
फ़ील्ड |
givenName |
string
उपयोगकर्ता का नाम. सिर्फ़ पढ़ने के लिए.
|
familyName |
string
उपयोगकर्ता का उपनाम. सिर्फ़ पढ़ने के लिए.
|
fullName |
string
उपयोगकर्ता का पूरा नाम, नाम और उपनाम की वैल्यू को जोड़कर बनाया जाता है. सिर्फ़ पढ़ने के लिए.
|
GlobalPermission
दुनिया भर के उपयोगकर्ताओं से मिली अनुमति के बारे में जानकारी.
JSON के काेड में दिखाना |
{
"permission": enum (Permission )
} |
फ़ील्ड |
permission |
enum (Permission )
अनुमति की वैल्यू.
|
अनुमति
ऐसी अनुमतियां जो किसी उपयोगकर्ता के पास हो सकती हैं.
Enums |
PERMISSION_UNSPECIFIED |
कोई अनुमति नहीं दी गई है. यह वैल्यू नहीं दिखाई जाती और यह मान्य नहीं है. |
CREATE_COURSE |
उपयोगकर्ता के पास कोर्स बनाने की अनुमति है. |
तरीके |
|
इससे यह पता चलता है कि कोई उपयोगकर्ता, Classroom की बताई गई सुविधा का इस्तेमाल कर सकता है या नहीं. |
|
उपयोगकर्ता की प्रोफ़ाइल दिखाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# REST Resource: userProfiles\n\n- [Resource: UserProfile](#UserProfile)\n - [JSON representation](#UserProfile.SCHEMA_REPRESENTATION)\n - [Name](#UserProfile.Name)\n - [JSON representation](#UserProfile.Name.SCHEMA_REPRESENTATION)\n - [GlobalPermission](#UserProfile.GlobalPermission)\n - [JSON representation](#UserProfile.GlobalPermission.SCHEMA_REPRESENTATION)\n - [Permission](#UserProfile.Permission)\n- [Methods](#METHODS_SUMMARY)\n\nResource: UserProfile\n---------------------\n\nGlobal information for a user.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"name\": { object (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.Name) }, \"emailAddress\": string, \"photoUrl\": string, \"permissions\": [ { object (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.GlobalPermission) } ], \"verifiedTeacher\": boolean } ``` |\n\n| Fields ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Identifier of the user. Read-only. |\n| `name` | `object (`[Name](/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.Name)`)` Name of the user. Read-only. |\n| `emailAddress` | `string` Email address of the user. Must request `https://www.googleapis.com/auth/classroom.profile.emails` scope for this field to be populated in a response body. Read-only. |\n| `photoUrl` | `string` URL of user's profile photo. Must request `https://www.googleapis.com/auth/classroom.profile.photos` scope for this field to be populated in a response body. Read-only. |\n| `permissions[]` | `object (`[GlobalPermission](/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.GlobalPermission)`)` Global permissions of the user. Read-only. |\n| `verifiedTeacher` | `boolean` Represents whether a Google Workspace for Education user's domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only |\n\n### Name\n\nDetails of the user's name.\n\n| JSON representation |\n|---------------------------------------------------------------------------|\n| ``` { \"givenName\": string, \"familyName\": string, \"fullName\": string } ``` |\n\n| Fields ||\n|--------------|--------------------------------------------------------------------------------------------------|\n| `givenName` | `string` The user's first name. Read-only. |\n| `familyName` | `string` The user's last name. Read-only. |\n| `fullName` | `string` The user's full name formed by concatenating the first and last name values. Read-only. |\n\n### GlobalPermission\n\nGlobal user permission description.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------|\n| ``` { \"permission\": enum (/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.Permission) } ``` |\n\n| Fields ||\n|--------------|-----------------------------------------------------------------------------------------------------------------------|\n| `permission` | `enum (`[Permission](/workspace/classroom/reference/rest/v1/userProfiles#UserProfile.Permission)`)` Permission value. |\n\n### Permission\n\nPossible permissions that a user may have.\n\n| Enums ||\n|--------------------------|----------------------------------------------------------------------------|\n| `PERMISSION_UNSPECIFIED` | No permission is specified. This is not returned and is not a valid value. |\n| `CREATE_COURSE` | User is permitted to create a course. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [checkUserCapability](/workspace/classroom/reference/rest/v1/userProfiles/checkUserCapability) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20240930_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Returns whether a user may use the specified Classroom capability. |\n| ### [get](/workspace/classroom/reference/rest/v1/userProfiles/get) | Returns a user profile. |"]]