Class: Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Overview
An event generated when an updated device report is available.
Instance Attribute Summary collapse
-
#device_id ⇒ String
The Android ID of the device.
-
#report ⇒ Google::Apis::AndroidenterpriseV1::DeviceReport
Device report updated with the latest app states for managed apps on the device.
-
#user_id ⇒ String
The ID of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceReportUpdateEvent
constructor
A new instance of DeviceReportUpdateEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceReportUpdateEvent
Returns a new instance of DeviceReportUpdateEvent.
766 767 768 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 766 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ String
The Android ID of the device. This field will always be present.
Corresponds to the JSON property deviceId
753 754 755 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 753 def device_id @device_id end |
#report ⇒ Google::Apis::AndroidenterpriseV1::DeviceReport
Device report updated with the latest app states for managed apps on the
device.
Corresponds to the JSON property report
759 760 761 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 759 def report @report end |
#user_id ⇒ String
The ID of the user. This field will always be present.
Corresponds to the JSON property userId
764 765 766 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 764 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
771 772 773 774 775 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 771 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 |