REST Resource: asps
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源: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
使用者在建立 ASP 時,透過 userId 代表輸入的應用程式名稱。
|
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。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]