class Google::Apis::AndroidenterpriseV1::Device

A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.

Attributes

android_id[RW]

The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, “123456789abcdef0”. Corresponds to the JSON property `androidId` @return [String]

management_type[RW]

Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - “ managedDevice”, a device that has the EMM's device policy controller (DPC) as the device owner. - “managedProfile”, a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - “containerApp”, no longer used (deprecated).

  • “unmanagedProfile”, a device that has been allowed (by the domain's admin,

using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC. Corresponds to the JSON property `managementType` @return [String]

policy[RW]

The device policy for a given managed device. Corresponds to the JSON property `policy` @return [Google::Apis::AndroidenterpriseV1::Policy]

report[RW]

Device report updated with the latest app states for managed apps on the device. Corresponds to the JSON property `report` @return [Google::Apis::AndroidenterpriseV1::DeviceReport]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 693
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 698
def update!(**args)
  @android_id = args[:android_id] if args.key?(:android_id)
  @management_type = args[:management_type] if args.key?(:management_type)
  @policy = args[:policy] if args.key?(:policy)
  @report = args[:report] if args.key?(:report)
end