Class: Google::Apis::AdminReportsV1::ActivityUserDeviceInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Output only. Device ID of the user's device. Corresponds to the JSON property deviceId

Returns:

  • (String)


623
624
625
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 623

def device_id
  @device_id
end

#device_os_versionString

Output only. Device OS version of the user's device. Corresponds to the JSON property deviceOsVersion

Returns:

  • (String)


628
629
630
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 628

def device_os_version
  @device_os_version
end

#device_typeString

Output only. The type of the user's device. Corresponds to the JSON property deviceType

Returns:

  • (String)


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