REST Resource: asps
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:Asp
应用专用密码 (ASP) 适用于在特定设备上登录时不接受验证码的应用。您在通过浏览器访问应用时,应使用 ASP 访问代码,而不是通常使用的登录名和密码。如需详细了解 ASP 以及如何创建 ASP,请访问帮助中心。
JSON 表示法 |
{
"codeId": integer,
"name": string,
"creationTime": string,
"lastTimeUsed": string,
"userKey": string,
"kind": string,
"etag": string
} |
字段 |
codeId |
integer
ASP 的唯一 ID。
|
name |
string
用户(以其 userId 表示)在创建 ASP 时输入的应用名称。
|
creationTime |
string (int64 format)
ASP 的创建时间。以 Unix 时间格式表示。
|
lastTimeUsed |
string (int64 format)
ASP 上次使用的时间。以 Unix 时间格式表示。
|
userKey |
string
发出 ASP 的用户的唯一 ID。
|
kind |
string
API 资源的类型。此值始终为 admin#directory#asp 。
|
etag |
string
ASP 的 ETag。
|
方法 |
|
删除用户签发的 ASP。 |
|
获取用户签发的 ASP 的相关信息。 |
|
列出用户签发的 ASP。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-24。
[null,null,["最后更新时间 (UTC):2025-07-24。"],[],[],null,["# REST Resource: asps\n\nResource: Asp\n-------------\n\nAn application-specific password (ASP) is used with applications that do not accept a verification code when logging into the application on certain devices. The ASP access code is used instead of the login and password you commonly use when accessing an application through a browser. For more information about ASPs and how to create one, see the [help center](https://support.google.com/a/answer/2537800#asp).\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"codeId\": integer, \"name\": string, \"creationTime\": string, \"lastTimeUsed\": string, \"userKey\": string, \"kind\": string, \"etag\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `codeId` | `integer` The unique ID of the ASP. |\n| `name` | `string` The name of the application that the user, represented by their `userId`, entered when the ASP was created. |\n| `creationTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time when the ASP was created. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. |\n| `lastTimeUsed` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The time when the ASP was last used. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. |\n| `userKey` | `string` The unique ID of the user who issued the ASP. |\n| `kind` | `string` The type of the API resource. This is always `admin#directory#asp`. |\n| `etag` | `string` ETag of the ASP. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------|-------------------------------------------------|\n| ### [delete](/workspace/admin/directory/reference/rest/v1/asps/delete) | Deletes an ASP issued by a user. |\n| ### [get](/workspace/admin/directory/reference/rest/v1/asps/get) | Gets information about an ASP issued by a user. |\n| ### [list](/workspace/admin/directory/reference/rest/v1/asps/list) | Lists the ASPs issued by a user. |"]]