Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo

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 graphics adapter (GPU).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1GraphicsAdapterInfo

Returns a new instance of GoogleChromeManagementV1GraphicsAdapterInfo.



2002
2003
2004
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2002

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

Instance Attribute Details

#adapterString

Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics 620 ( Kabylake GT2). Corresponds to the JSON property adapter

Returns:

  • (String)


1990
1991
1992
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1990

def adapter
  @adapter
end

#device_idFixnum

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

Returns:

  • (Fixnum)


1995
1996
1997
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1995

def device_id
  @device_id
end

#driver_versionString

Output only. Version of the GPU driver. Corresponds to the JSON property driverVersion

Returns:

  • (String)


2000
2001
2002
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2000

def driver_version
  @driver_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2007
2008
2009
2010
2011
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2007

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