Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayInfo
- 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 for a display.
Instance Attribute Summary collapse
-
#device_id ⇒ Fixnum
Output only.
-
#display_name ⇒ String
Output only.
-
#edid_version ⇒ String
Output only.
-
#is_internal ⇒ Boolean
(also: #is_internal?)
Output only.
-
#refresh_rate ⇒ Fixnum
Output only.
-
#resolution_height ⇒ Fixnum
Output only.
-
#resolution_width ⇒ Fixnum
Output only.
-
#serial_number ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1DisplayInfo
constructor
A new instance of GoogleChromeManagementV1DisplayInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1DisplayInfo
Returns a new instance of GoogleChromeManagementV1DisplayInfo.
1798 1799 1800 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1798 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_id ⇒ Fixnum
Output only. Represents the graphics card device id.
Corresponds to the JSON property deviceId
1760 1761 1762 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1760 def device_id @device_id end |
#display_name ⇒ String
Output only. Display device name.
Corresponds to the JSON property displayName
1765 1766 1767 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1765 def display_name @display_name end |
#edid_version ⇒ String
Output only. EDID version.
Corresponds to the JSON property edidVersion
1770 1771 1772 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1770 def edid_version @edid_version end |
#is_internal ⇒ Boolean Also known as: is_internal?
Output only. Indicates if display is internal or not.
Corresponds to the JSON property isInternal
1775 1776 1777 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1775 def is_internal @is_internal end |
#refresh_rate ⇒ Fixnum
Output only. Refresh rate in Hz.
Corresponds to the JSON property refreshRate
1781 1782 1783 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1781 def refresh_rate @refresh_rate end |
#resolution_height ⇒ Fixnum
Output only. Resolution height in pixels.
Corresponds to the JSON property resolutionHeight
1786 1787 1788 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1786 def resolution_height @resolution_height end |
#resolution_width ⇒ Fixnum
Output only. Resolution width in pixels.
Corresponds to the JSON property resolutionWidth
1791 1792 1793 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1791 def resolution_width @resolution_width end |
#serial_number ⇒ Fixnum
Output only. Serial number.
Corresponds to the JSON property serialNumber
1796 1797 1798 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1796 def serial_number @serial_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1803 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @display_name = args[:display_name] if args.key?(:display_name) @edid_version = args[:edid_version] if args.key?(:edid_version) @is_internal = args[:is_internal] if args.key?(:is_internal) @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate) @resolution_height = args[:resolution_height] if args.key?(:resolution_height) @resolution_width = args[:resolution_width] if args.key?(:resolution_width) @serial_number = args[:serial_number] if args.key?(:serial_number) end |