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.



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

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



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

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



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

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



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

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



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

def storage_reports
  @storage_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



829
830
831
832
833
834
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 829

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