Accounts
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
للحصول على قائمة من الطرق لهذا المورد، راجِع نهاية هذه الصفحة.
تمثيلات الموارد
يمثل حسابًا يتم تمريره إلى مدير الحساب على Glass.
{
"features": [
string
],
"password": string,
"userData": [
{
"key": string,
"value": string
}
],
"authTokens": [
{
"type": string,
"authToken": string
}
]
}
اسم الموقع |
القيمة |
الوصف |
ملاحظات |
authTokens[] |
list |
|
|
authTokens[].authToken |
string |
|
|
authTokens[].type |
string |
|
|
features[] |
list |
|
|
password |
string |
|
|
userData[] |
list |
|
|
userData[].key |
string |
|
|
userData[].value |
string |
|
|
الطُرق
- إدراج
- إدراج حساب جديد لمستخدم
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis resource represents an account within the Glass platform's Account Manager.\u003c/p\u003e\n"],["\u003cp\u003eAccount data includes features, password, user data, and authentication tokens.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication tokens are differentiated by type and contain an authToken string.\u003c/p\u003e\n"],["\u003cp\u003eUser data is stored as key-value pairs within the account representation.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods for this resource are detailed at the bottom of the page and currently include an insert method for new accounts.\u003c/p\u003e\n"]]],[],null,["# Accounts\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\nRepresents an account passed into the Account Manager on Glass.\n\n```carbon\n{\n \"features\": [\n string\n ],\n \"password\": string,\n \"userData\": [\n {\n \"key\": string,\n \"value\": string\n }\n ],\n \"authTokens\": [\n {\n \"type\": string,\n \"authToken\": string\n }\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|--------------------------|----------|-------------|-------|\n| `authTokens[]` | `list` | | |\n| authTokens[].`authToken` | `string` | | |\n| authTokens[].`type` | `string` | | |\n| `features[]` | `list` | | |\n| `password` | `string` | | |\n| `userData[]` | `list` | | |\n| userData[].`key` | `string` | | |\n| userData[].`value` | `string` | | |\n\nMethods\n-------\n\n[insert](/glass/v1/reference/accounts/insert)\n: Inserts a new account for a user"]]