Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice

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

Instance Method Summary collapse

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_nameString

Output only. Touch screen device display name. Corresponds to the JSON property displayName

Returns:

  • (String)


3811
3812
3813
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3811

def display_name
  @display_name
end

#stylus_capableBoolean Also known as: stylus_capable?

Output only. Touch screen device is stylus capable or not. Corresponds to the JSON property stylusCapable

Returns:

  • (Boolean)


3816
3817
3818
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3816

def stylus_capable
  @stylus_capable
end

#touch_point_countFixnum

Output only. Number of touch points supported on the device. Corresponds to the JSON property touchPointCount

Returns:

  • (Fixnum)


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