Class EnrollmentToken
A token used to enroll a device.
Implements
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1.Data
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnrollmentToken : IDirectResponseSchema
Properties
Duration
[Optional] The length of time the enrollment token is valid, ranging from 1 minute to
Durations.MAX_VALUE
,
approximately 10,000 years. If not specified, the default duration is 1 hour.
Declaration
[JsonProperty("duration")]
public virtual object Duration { get; set; }
Property Value
Type | Description |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnrollmentTokenType
[Required] The type of the enrollment token.
Declaration
[JsonProperty("enrollmentTokenType")]
public virtual string EnrollmentTokenType { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
string |