target.apidocs.com.google.api.services.androidmanagement.v1.AndroidManagement.Enterprises.MigrationTokens.html Maven / Gradle / Ivy
The newest version!
AndroidManagement.Enterprises.MigrationTokens (Android Management API v1-rev20241204-2.0.0)
com.google.api.services.androidmanagement.v1
Class AndroidManagement.Enterprises.MigrationTokens
- java.lang.Object
-
- com.google.api.services.androidmanagement.v1.AndroidManagement.Enterprises.MigrationTokens
-
- Enclosing class:
- AndroidManagement.Enterprises
public class AndroidManagement.Enterprises.MigrationTokens
extends Object
The "migrationTokens" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidManagement.Enterprises.MigrationTokens.Create
class
AndroidManagement.Enterprises.MigrationTokens.Get
class
AndroidManagement.Enterprises.MigrationTokens.List
-
Constructor Summary
Constructors
Constructor and Description
MigrationTokens()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AndroidManagement.Enterprises.MigrationTokens.Create
create(String parent,
MigrationToken content)
Creates a migration token, to migrate an existing device from being managed by the EMM's Device
Policy Controller (DPC) to being managed by the Android Management API.
AndroidManagement.Enterprises.MigrationTokens.Get
get(String name)
Gets a migration token.
AndroidManagement.Enterprises.MigrationTokens.List
list(String parent)
Lists migration tokens.
-
-
Method Detail
-
create
public AndroidManagement.Enterprises.MigrationTokens.Create create(String parent,
MigrationToken content)
throws IOException
Creates a migration token, to migrate an existing device from being managed by the EMM's Device
Policy Controller (DPC) to being managed by the Android Management API. See the guide
(https://developers.google.com/android/management/dpc-migration) for more details.
Create a request for the method "migrationTokens.create".
This request holds the parameters needed by the androidmanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The enterprise in which this migration token is created. This must be the same enterprise
which already manages the device in the Play EMM API. Format: enterprises/{enterprise}
content
- the MigrationToken
- Returns:
- the request
- Throws:
IOException
-
get
public AndroidManagement.Enterprises.MigrationTokens.Get get(String name)
throws IOException
Gets a migration token.
Create a request for the method "migrationTokens.get".
This request holds the parameters needed by the androidmanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The name of the migration token to retrieve. Format:
enterprises/{enterprise}/migrationTokens/{migration_token}
- Returns:
- the request
- Throws:
IOException
-
list
public AndroidManagement.Enterprises.MigrationTokens.List list(String parent)
throws IOException
Lists migration tokens.
Create a request for the method "migrationTokens.list".
This request holds the parameters needed by the androidmanagement server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The enterprise which the migration tokens belong to. Format: enterprises/{enterprise}
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy