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.
-
#is_internal ⇒ Boolean
(also: #is_internal?)
Output only.
-
#refresh_rate ⇒ Fixnum
Output only.
-
#resolution_height ⇒ Fixnum
Output only.
-
#resolution_width ⇒ 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.
1352 1353 1354 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1352 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
1329 1330 1331 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1329 def device_id @device_id end |
#is_internal ⇒ Boolean Also known as: is_internal?
Output only. Indicates if display is internal or not.
Corresponds to the JSON property isInternal
1334 1335 1336 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1334 def is_internal @is_internal end |
#refresh_rate ⇒ Fixnum
Output only. Refresh rate in Hz.
Corresponds to the JSON property refreshRate
1340 1341 1342 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1340 def refresh_rate @refresh_rate end |
#resolution_height ⇒ Fixnum
Output only. Resolution height in pixels.
Corresponds to the JSON property resolutionHeight
1345 1346 1347 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1345 def resolution_height @resolution_height end |
#resolution_width ⇒ Fixnum
Output only. Resolution width in pixels.
Corresponds to the JSON property resolutionWidth
1350 1351 1352 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1350 def resolution_width @resolution_width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1357 1358 1359 1360 1361 1362 1363 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1357 def update!(**args) @device_id = args[:device_id] if args.key?(:device_id) @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) end |