Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1DisplayDevice

Returns a new instance of GoogleChromeManagementV1DisplayDevice.



1735
1736
1737
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1735

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

Instance Attribute Details

#display_height_mmFixnum

Output only. Display height in millimeters. Corresponds to the JSON property displayHeightMm

Returns:

  • (Fixnum)


1692
1693
1694
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1692

def display_height_mm
  @display_height_mm
end

#display_nameString

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

Returns:

  • (String)


1697
1698
1699
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1697

def display_name
  @display_name
end

#display_width_mmFixnum

Output only. Display width in millimeters. Corresponds to the JSON property displayWidthMm

Returns:

  • (Fixnum)


1702
1703
1704
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1702

def display_width_mm
  @display_width_mm
end

#edid_versionString

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

Returns:

  • (String)


1707
1708
1709
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1707

def edid_version
  @edid_version
end

#internalBoolean Also known as: internal?

Output only. Is display internal or not. Corresponds to the JSON property internal

Returns:

  • (Boolean)


1712
1713
1714
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1712

def internal
  @internal
end

#manufacture_yearFixnum

Output only. Year of manufacture. Corresponds to the JSON property manufactureYear

Returns:

  • (Fixnum)


1718
1719
1720
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1718

def manufacture_year
  @manufacture_year
end

#manufacturer_idString

Output only. Three letter manufacturer ID. Corresponds to the JSON property manufacturerId

Returns:

  • (String)


1723
1724
1725
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1723

def manufacturer_id
  @manufacturer_id
end

#model_idFixnum

Output only. Manufacturer product code. Corresponds to the JSON property modelId

Returns:

  • (Fixnum)


1728
1729
1730
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1728

def model_id
  @model_id
end

#serial_numberFixnum

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

Returns:

  • (Fixnum)


1733
1734
1735
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1733

def serial_number
  @serial_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1740

def update!(**args)
  @display_height_mm = args[:display_height_mm] if args.key?(:display_height_mm)
  @display_name = args[:display_name] if args.key?(:display_name)
  @display_width_mm = args[:display_width_mm] if args.key?(:display_width_mm)
  @edid_version = args[:edid_version] if args.key?(:edid_version)
  @internal = args[:internal] if args.key?(:internal)
  @manufacture_year = args[:manufacture_year] if args.key?(:manufacture_year)
  @manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
  @model_id = args[:model_id] if args.key?(:model_id)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
end