Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse

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

Response containing a list of devices with a specific type of hardware specification from the requested hardware type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse

Returns a new instance of GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse.



917
918
919
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 917

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

Instance Attribute Details

#cpu_reportsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>

The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core( TM) i7-10610U CPU @ 1.80GHz). Corresponds to the JSON property cpuReports



897
898
899
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 897

def cpu_reports
  @cpu_reports
end

#memory_reportsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>

The DeviceHardwareCountReport for device memory amount in gigabytes (for example 16). Corresponds to the JSON property memoryReports



903
904
905
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 903

def memory_reports
  @memory_reports
end

#model_reportsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>

The DeviceHardwareCountReport for device model type (for example Acer C7 Chromebook). Corresponds to the JSON property modelReports



909
910
911
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 909

def model_reports
  @model_reports
end

#storage_reportsArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceHardwareCountReport>

The DeviceHardwareCountReport for device storage amount in gigabytes (for example 128). Corresponds to the JSON property storageReports



915
916
917
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 915

def storage_reports
  @storage_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



922
923
924
925
926
927
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 922

def update!(**args)
  @cpu_reports = args[:cpu_reports] if args.key?(:cpu_reports)
  @memory_reports = args[:memory_reports] if args.key?(:memory_reports)
  @model_reports = args[:model_reports] if args.key?(:model_reports)
  @storage_reports = args[:storage_reports] if args.key?(:storage_reports)
end