Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo
- 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 graphics adapter (GPU).
Instance Attribute Summary collapse
-
#adapter ⇒ String
Output only.
-
#device_id ⇒ Fixnum
Output only.
-
#driver_version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1GraphicsAdapterInfo
constructor
A new instance of GoogleChromeManagementV1GraphicsAdapterInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1GraphicsAdapterInfo
Returns a new instance of GoogleChromeManagementV1GraphicsAdapterInfo.
1814 1815 1816 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adapter ⇒ String
Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics 620 (
Kabylake GT2).
Corresponds to the JSON property adapter
1802 1803 1804 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1802 def adapter @adapter end |
#device_id ⇒ Fixnum
Output only. Represents the graphics card device id.
Corresponds to the JSON property deviceId
1807 1808 1809 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1807 def device_id @device_id end |
#driver_version ⇒ String
Output only. Version of the GPU driver.
Corresponds to the JSON property driverVersion
1812 1813 1814 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1812 def driver_version @driver_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1819 1820 1821 1822 1823 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1819 def update!(**args) @adapter = args[:adapter] if args.key?(:adapter) @device_id = args[:device_id] if args.key?(:device_id) @driver_version = args[:driver_version] if args.key?(:driver_version) end |