Class: Google::Apis::AdminReportsV1::ActivityUserDeviceInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::ActivityUserDeviceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
Device details of the user doing the action.
Instance Attribute Summary collapse
-
#device_id ⇒ String
Output only.
-
#device_os_version ⇒ String
Output only.
-
#device_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActivityUserDeviceInfo
constructor
A new instance of ActivityUserDeviceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ActivityUserDeviceInfo
Returns a new instance of ActivityUserDeviceInfo.
635 636 637 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ String
Output only. Device ID of the user's device.
Corresponds to the JSON property deviceId
623 624 625 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 623 def device_id @device_id end |
#device_os_version ⇒ String
Output only. Device OS version of the user's device.
Corresponds to the JSON property deviceOsVersion
628 629 630 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 628 def device_os_version @device_os_version end |
#device_type ⇒ String
Output only. The type of the user's device.
Corresponds to the JSON property deviceType
633 634 635 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 633 def device_type @device_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
640 641 642 643 644 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 640 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @device_os_version = args[:device_os_version] if args.key?(:device_os_version) @device_type = args[:device_type] if args.key?(:device_type) end |