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.



3920
3921
3922
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3920

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)


3907
3908
3909
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3907

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)


3912
3913
3914
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 3912

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)


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