Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice
- 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
-
#display_height_mm ⇒ Fixnum
Output only.
-
#display_name ⇒ String
Output only.
-
#display_width_mm ⇒ Fixnum
Output only.
-
#internal ⇒ Boolean
(also: #internal?)
Output only.
-
#manufacture_year ⇒ Fixnum
Output only.
-
#manufacturer_id ⇒ String
Output only.
-
#model_id ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1DisplayDevice
constructor
A new instance of GoogleChromeManagementV1DisplayDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1DisplayDevice
Returns a new instance of GoogleChromeManagementV1DisplayDevice.
1427 1428 1429 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_height_mm ⇒ Fixnum
Output only. Display height in millimeters.
Corresponds to the JSON property displayHeightMm
1394 1395 1396 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1394 def display_height_mm @display_height_mm end |
#display_name ⇒ String
Output only. Display device name.
Corresponds to the JSON property displayName
1399 1400 1401 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1399 def display_name @display_name end |
#display_width_mm ⇒ Fixnum
Output only. Display width in millimeters.
Corresponds to the JSON property displayWidthMm
1404 1405 1406 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1404 def display_width_mm @display_width_mm end |
#internal ⇒ Boolean Also known as: internal?
Output only. Is display internal or not.
Corresponds to the JSON property internal
1409 1410 1411 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1409 def internal @internal end |
#manufacture_year ⇒ Fixnum
Output only. Year of manufacture.
Corresponds to the JSON property manufactureYear
1415 1416 1417 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1415 def manufacture_year @manufacture_year end |
#manufacturer_id ⇒ String
Output only. Three letter manufacturer ID.
Corresponds to the JSON property manufacturerId
1420 1421 1422 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1420 def manufacturer_id @manufacturer_id end |
#model_id ⇒ Fixnum
Output only. Manufacturer product code.
Corresponds to the JSON property modelId
1425 1426 1427 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1425 def model_id @model_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1432 1433 1434 1435 1436 1437 1438 1439 1440 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1432 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) @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) end |