Show / Hide Table of Contents

Class EnterprisesResource.MigrationTokensResource

The "migrationTokens" collection of methods.

Inheritance
object
EnterprisesResource.MigrationTokensResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidManagement.v1
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class EnterprisesResource.MigrationTokensResource

Constructors

MigrationTokensResource(IClientService)

Constructs a new resource.

Declaration
public MigrationTokensResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(MigrationToken, string)

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.

Declaration
public virtual EnterprisesResource.MigrationTokensResource.CreateRequest Create(MigrationToken body, string parent)
Parameters
Type Name Description
MigrationToken body

The body of the request.

string 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}

Returns
Type Description
EnterprisesResource.MigrationTokensResource.CreateRequest

Get(string)

Gets a migration token.

Declaration
public virtual EnterprisesResource.MigrationTokensResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the migration token to retrieve. Format: enterprises/{enterprise}/migrationTokens/{migration_token}

Returns
Type Description
EnterprisesResource.MigrationTokensResource.GetRequest

List(string)

Lists migration tokens.

Declaration
public virtual EnterprisesResource.MigrationTokensResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The enterprise which the migration tokens belong to. Format: enterprises/{enterprise}

Returns
Type Description
EnterprisesResource.MigrationTokensResource.ListRequest
In this article
Back to top Generated by DocFX