View Source GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken (google_api_android_enterprise v0.30.0)

A token used to enroll a device.

Attributes

  • duration (type: String.t, default: nil) - [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.
  • enrollmentTokenType (type: String.t, default: nil) - [Required] The type of the enrollment token.
  • token (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken{
  duration: String.t() | nil,
  enrollmentTokenType: String.t() | nil,
  token: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.