Method: enterprises.migrationTokens.get
HTTP 请求
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要检索的迁移令牌的名称。格式:enterprises/{enterprise}/migrationTokens/{migrationToken}
|
响应正文
如果成功,则响应正文包含一个 MigrationToken
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidmanagement
如需了解详情,请参阅 OAuth 2.0 Overview。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-29。
[null,null,["最后更新时间 (UTC):2025-01-29。"],[[["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"]]