Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayInfo

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 for a display.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DisplayInfo

Returns a new instance of GoogleChromeManagementV1DisplayInfo.



1805
1806
1807
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1805

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#device_idFixnum

Output only. Represents the graphics card device id. Corresponds to the JSON property deviceId

Returns:

  • (Fixnum)


1767
1768
1769
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1767

def device_id
  @device_id
end

#display_nameString

Output only. Display device name. Corresponds to the JSON property displayName

Returns:

  • (String)


1772
1773
1774
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1772

def display_name
  @display_name
end

#edid_versionString

Output only. EDID version. Corresponds to the JSON property edidVersion

Returns:

  • (String)


1777
1778
1779
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1777

def edid_version
  @edid_version
end

#is_internalBoolean Also known as: is_internal?

Output only. Indicates if display is internal or not. Corresponds to the JSON property isInternal

Returns:

  • (Boolean)


1782
1783
1784
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1782

def is_internal
  @is_internal
end

#refresh_rateFixnum

Output only. Refresh rate in Hz. Corresponds to the JSON property refreshRate

Returns:

  • (Fixnum)


1788
1789
1790
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1788

def refresh_rate
  @refresh_rate
end

#resolution_heightFixnum

Output only. Resolution height in pixels. Corresponds to the JSON property resolutionHeight

Returns:

  • (Fixnum)


1793
1794
1795
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1793

def resolution_height
  @resolution_height
end

#resolution_widthFixnum

Output only. Resolution width in pixels. Corresponds to the JSON property resolutionWidth

Returns:

  • (Fixnum)


1798
1799
1800
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1798

def resolution_width
  @resolution_width
end

#serial_numberFixnum

Output only. Serial number. Corresponds to the JSON property serialNumber

Returns:

  • (Fixnum)


1803
1804
1805
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1803

def serial_number
  @serial_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1810

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