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.



817
818
819
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 817

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



797
798
799
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 797

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



803
804
805
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 803

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



809
810
811
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 809

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



815
816
817
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 815

def storage_reports
  @storage_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



822
823
824
825
826
827
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 822

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