class Google::Apis::AndroidenterpriseV1::Device
A device resource represents a mobile device managed by the EMM and belonging to a specific enterprise user. This collection cannot be modified via the API; it is automatically populated as devices are set up to be managed.
Attributes
The Google Play Services Android ID for the device encoded as a lowercase hex string, e.g. “123456789abcdef0”. Corresponds to the JSON property `androidId` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#device”. Corresponds to the JSON property `kind` @return [String]
The mechanism by which this device is managed by the EMM. “managedDevice” means that the EMM's app is a device owner. “managedProfile” means that the EMM's app is the profile owner (and there is a separate personal profile which is not managed). “containerApp” means that the EMM's app is managing the Android for Work container app on the device. Corresponds to the JSON property `managementType` @return [String]
Public Class Methods
# File generated/google/apis/androidenterprise_v1/classes.rb, line 351 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/androidenterprise_v1/classes.rb, line 356 def update!(**args) @android_id = args[:android_id] if args.key?(:android_id) @kind = args[:kind] if args.key?(:kind) @management_type = args[:management_type] if args.key?(:management_type) end