REST Resource: asps
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên: Asp
Mật khẩu dành riêng cho ứng dụng (ASP) được dùng với các ứng dụng không chấp nhận mã xác minh khi đăng nhập vào ứng dụng trên một số thiết bị nhất định. Mã truy cập ASP được dùng thay cho thông tin đăng nhập và mật khẩu mà bạn thường dùng khi truy cập vào một ứng dụng thông qua trình duyệt. Để biết thêm thông tin về ASP và cách tạo ASP, hãy xem trung tâm trợ giúp.
Biểu diễn dưới dạng JSON |
{
"codeId": integer,
"name": string,
"creationTime": string,
"lastTimeUsed": string,
"userKey": string,
"kind": string,
"etag": string
} |
Trường |
codeId |
integer
Mã nhận dạng duy nhất của ASP.
|
name |
string
Tên của ứng dụng mà người dùng (được biểu thị bằng userId ) đã nhập khi tạo ASP.
|
creationTime |
string (int64 format)
Thời gian tạo ASP. Được thể hiện ở định dạng thời gian Unix.
|
lastTimeUsed |
string (int64 format)
Thời gian sử dụng ASP gần đây nhất. Được thể hiện ở định dạng thời gian Unix.
|
userKey |
string
Mã nhận dạng duy nhất của người dùng đã phát hành ASP.
|
kind |
string
Loại tài nguyên API. Giá trị này luôn là admin#directory#asp .
|
etag |
string
ETag của ASP.
|
Phương thức |
|
Xoá một ASP do người dùng phát hành. |
|
Lấy thông tin về ASP do người dùng phát hành. |
|
Liệt kê các ASP do người dùng phát hành. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-24 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-24 UTC."],[],[],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. |"]]