class Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent

An event generated when an updated device report is available.

Attributes

device_id[RW]

The Android ID of the device. This field will always be present. Corresponds to the JSON property `deviceId` @return [String]

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]

user_id[RW]

The ID of the user. This field will always be present. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

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