Method: enterprises.migrationTokens.list
HTTP 要求
GET https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。遷移符記所屬的企業。格式:enterprises/{enterprise}
|
查詢參數
參數 |
pageSize |
integer
要傳回的遷移符記數量上限。可能會傳回較少的遷移符記。如未指定,最多將傳回 100 個遷移符記。許可的最大值為 100;超出的數值將一律指定為 100。
|
pageToken |
string
屬於接收自前一個 migrationTokens.list 呼叫的網頁權杖。提供此項目即可擷取後續網頁。 進行分頁時,提供至 migrationTokens.list 的所有其他參數須與提供網頁權杖的呼叫相符。
|
回應主體
回應要求,列出特定企業的遷移符記。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"migrationTokens": [
{
object (MigrationToken )
}
],
"nextPageToken": string
} |
欄位 |
migrationTokens[] |
object (MigrationToken )
指定企業的遷移符記。
|
nextPageToken |
string
可做為 pageToken 傳送的權杖,用於擷取後續網頁。如果省略這個欄位,就不會有後續頁面。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidmanagement
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-19 (世界標準時間)。
[null,null,["上次更新時間:2025-02-19 (世界標準時間)。"],[[["Lists all migration tokens for a given enterprise, allowing for pagination to retrieve large sets of tokens."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["The API request uses a `GET` method and specifies the enterprise with a path parameter."],["Response includes a list of migration tokens and a token for retrieving subsequent pages if available."],["Request body should be empty, and query parameters can control pagination."]]],["This document details how to list migration tokens for an enterprise using a `GET` request to a specific URL (`https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens`). The request requires specifying the `parent` enterprise in the URL path. Optional query parameters `pageSize` (max 100) and `pageToken` enable pagination. The request body should be empty. The response contains a list of `migrationTokens` and optionally a `nextPageToken` for subsequent pages. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope.\n"]]