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.



1037
1038
1039
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1037

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



1017
1018
1019
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1017

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



1023
1024
1025
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1023

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



1029
1030
1031
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1029

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



1035
1036
1037
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1035

def storage_reports
  @storage_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1042
1043
1044
1045
1046
1047
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1042

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