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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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"]]