Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Information of an internal touch screen device.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#stylus_capable ⇒ Boolean
(also: #stylus_capable?)
Output only.
-
#touch_point_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1TouchScreenDevice
constructor
A new instance of GoogleChromeManagementV1TouchScreenDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1TouchScreenDevice
Returns a new instance of GoogleChromeManagementV1TouchScreenDevice.
3920 3921 3922 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. Touch screen device display name.
Corresponds to the JSON property displayName
3907 3908 3909 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3907 def display_name @display_name end |
#stylus_capable ⇒ Boolean Also known as: stylus_capable?
Output only. Touch screen device is stylus capable or not.
Corresponds to the JSON property stylusCapable
3912 3913 3914 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3912 def stylus_capable @stylus_capable end |
#touch_point_count ⇒ Fixnum
Output only. Number of touch points supported on the device.
Corresponds to the JSON property touchPointCount
3918 3919 3920 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3918 def touch_point_count @touch_point_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3925 3926 3927 3928 3929 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3925 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @stylus_capable = args[:stylus_capable] if args.key?(:stylus_capable) @touch_point_count = args[:touch_point_count] if args.key?(:touch_point_count) end |