class Google::Apis::AndroidenterpriseV1::UserToken
A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.
Attributes
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#userToken”. Corresponds to the JSON property `kind` @return [String]
token[RW]
The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0. Corresponds to the JSON property `token` @return [String]
user_id[RW]
The unique ID for the user. Corresponds to the JSON property `userId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/androidenterprise_v1/classes.rb, line 1411 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/androidenterprise_v1/classes.rb, line 1416 def update!(**args) @kind = args[:kind] if args.key?(:kind) @token = args[:token] if args.key?(:token) @user_id = args[:user_id] if args.key?(:user_id) end