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.
3824 3825 3826 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3824 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
3811 3812 3813 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3811 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
3816 3817 3818 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3816 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
3822 3823 3824 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3822 def touch_point_count @touch_point_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3829 3830 3831 3832 3833 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3829 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 |