class Google::Apis::AndroidenterpriseV1::DeviceState

The state of a user's device, as accessed by the getState and setState methods on device resources.

Attributes

account_state[RW]

The state of the Google account on the device. “enabled” indicates that the Google account on the device can be used to access Google services (including Google Play), while “disabled” means that it cannot. A new device is initially in the “disabled” state. Corresponds to the JSON property `accountState` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 779
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidenterprise_v1/classes.rb, line 784
def update!(**args)
  @account_state = args[:account_state] if args.key?(:account_state)
end