REST Resource: asps
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: Asp
Una password specifica per l'applicazione (ASP) viene utilizzata con le applicazioni che non accettano un codice di verifica quando accedi all'applicazione su determinati dispositivi. Il codice di accesso ASP viene utilizzato al posto del nome utente e della password che utilizzi normalmente per accedere a un'applicazione tramite un browser. Per ulteriori informazioni sulle APS e su come crearne una, visita il Centro assistenza.
Rappresentazione JSON |
{
"codeId": integer,
"name": string,
"creationTime": string,
"lastTimeUsed": string,
"userKey": string,
"kind": string,
"etag": string
} |
Campi |
codeId |
integer
L'ID univoco dell'ASP.
|
name |
string
Il nome dell'applicazione inserito dall'utente, rappresentato dal suo userId , al momento della creazione dell'ASP.
|
creationTime |
string (int64 format)
L'ora in cui è stato creato l'ASP. Espresso nel formato tempo Unix.
|
lastTimeUsed |
string (int64 format)
L'ora dell'ultimo utilizzo dell'ASP. Espresso nel formato tempo Unix.
|
userKey |
string
L'ID univoco dell'utente che ha emesso l'ASP.
|
kind |
string
Il tipo di risorsa API. Questo valore è sempre admin#directory#asp .
|
etag |
string
ETag dell'ASP.
|
Metodi |
|
Consente di eliminare un ASP emesso da un utente. |
|
Recupera le informazioni su un ASP emesso da un utente. |
|
Elenca gli ASP emessi da un utente. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-24 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]