Method: enterprises.migrationTokens.get
Recupera un token di migrazione.
Richiesta HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Il nome del token di migrazione da recuperare. Formato: enterprises/{enterprise}/migrationTokens/{migrationToken}
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di MigrationToken
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidmanagement
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
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-01-29 UTC.
[null,null,["Ultimo aggiornamento 2025-01-29 UTC."],[[["Retrieves a migration token for a specific enterprise using a GET request."],["Requires the `name` path parameter specifying the enterprise and migration token."],["An empty request body is necessary, and a successful response returns a MigrationToken object."],["Utilizes the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."]]],["The core action is retrieving a migration token via a `GET` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` parameter in the path, formatted as `enterprises/{enterprise}/migrationTokens/{migrationToken}`. The request body must be empty. A successful response returns a `MigrationToken` object. This action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. A user can also test this action on the webpage with the \"Try it!\" button.\n"]]