google-apis-chromemanagement_v1 0.11.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -201,6 +201,173 @@ module Google
201
201
  end
202
202
  end
203
203
 
204
+ # Battery info
205
+ class GoogleChromeManagementV1BatteryInfo
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Output only. Design capacity (mAmpere-hours).
209
+ # Corresponds to the JSON property `designCapacity`
210
+ # @return [Fixnum]
211
+ attr_accessor :design_capacity
212
+
213
+ # Output only. Designed minimum output voltage (mV)
214
+ # Corresponds to the JSON property `designMinVoltage`
215
+ # @return [Fixnum]
216
+ attr_accessor :design_min_voltage
217
+
218
+ # Represents a whole or partial calendar date, such as a birthday. The time of
219
+ # day and time zone are either specified elsewhere or are insignificant. The
220
+ # date is relative to the Gregorian Calendar. This can represent one of the
221
+ # following: * A full date, with non-zero year, month, and day values * A month
222
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
223
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
224
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
225
+ # DateTime * google.protobuf.Timestamp
226
+ # Corresponds to the JSON property `manufactureDate`
227
+ # @return [Google::Apis::ChromemanagementV1::GoogleTypeDate]
228
+ attr_accessor :manufacture_date
229
+
230
+ # Output only. Battery manufacturer.
231
+ # Corresponds to the JSON property `manufacturer`
232
+ # @return [String]
233
+ attr_accessor :manufacturer
234
+
235
+ # Output only. Battery serial number.
236
+ # Corresponds to the JSON property `serialNumber`
237
+ # @return [String]
238
+ attr_accessor :serial_number
239
+
240
+ # Output only. Technology of the battery. Example: Li-ion
241
+ # Corresponds to the JSON property `technology`
242
+ # @return [String]
243
+ attr_accessor :technology
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @design_capacity = args[:design_capacity] if args.key?(:design_capacity)
252
+ @design_min_voltage = args[:design_min_voltage] if args.key?(:design_min_voltage)
253
+ @manufacture_date = args[:manufacture_date] if args.key?(:manufacture_date)
254
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
255
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
256
+ @technology = args[:technology] if args.key?(:technology)
257
+ end
258
+ end
259
+
260
+ # Sampling data for battery.
261
+ class GoogleChromeManagementV1BatterySampleReport
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # Output only. Battery charge percentage.
265
+ # Corresponds to the JSON property `chargeRate`
266
+ # @return [Fixnum]
267
+ attr_accessor :charge_rate
268
+
269
+ # Output only. Battery current (mA).
270
+ # Corresponds to the JSON property `current`
271
+ # @return [Fixnum]
272
+ attr_accessor :current
273
+
274
+ # Output only. The battery discharge rate measured in mW. Positive if the
275
+ # battery is being discharged, negative if it's being charged.
276
+ # Corresponds to the JSON property `dischargeRate`
277
+ # @return [Fixnum]
278
+ attr_accessor :discharge_rate
279
+
280
+ # Output only. Battery remaining capacity (mAmpere-hours).
281
+ # Corresponds to the JSON property `remainingCapacity`
282
+ # @return [Fixnum]
283
+ attr_accessor :remaining_capacity
284
+
285
+ # Output only. Timestamp of when the sample was collected on device
286
+ # Corresponds to the JSON property `reportTime`
287
+ # @return [String]
288
+ attr_accessor :report_time
289
+
290
+ # Output only. Battery status read from sysfs. Example: Discharging
291
+ # Corresponds to the JSON property `status`
292
+ # @return [String]
293
+ attr_accessor :status
294
+
295
+ # Output only. Temperature in Celsius degrees.
296
+ # Corresponds to the JSON property `temperature`
297
+ # @return [Fixnum]
298
+ attr_accessor :temperature
299
+
300
+ # Output only. Battery voltage (millivolt).
301
+ # Corresponds to the JSON property `voltage`
302
+ # @return [Fixnum]
303
+ attr_accessor :voltage
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @charge_rate = args[:charge_rate] if args.key?(:charge_rate)
312
+ @current = args[:current] if args.key?(:current)
313
+ @discharge_rate = args[:discharge_rate] if args.key?(:discharge_rate)
314
+ @remaining_capacity = args[:remaining_capacity] if args.key?(:remaining_capacity)
315
+ @report_time = args[:report_time] if args.key?(:report_time)
316
+ @status = args[:status] if args.key?(:status)
317
+ @temperature = args[:temperature] if args.key?(:temperature)
318
+ @voltage = args[:voltage] if args.key?(:voltage)
319
+ end
320
+ end
321
+
322
+ # Status data for battery.
323
+ class GoogleChromeManagementV1BatteryStatusReport
324
+ include Google::Apis::Core::Hashable
325
+
326
+ # Output only. Battery health.
327
+ # Corresponds to the JSON property `batteryHealth`
328
+ # @return [String]
329
+ attr_accessor :battery_health
330
+
331
+ # Output only. Cycle count.
332
+ # Corresponds to the JSON property `cycleCount`
333
+ # @return [Fixnum]
334
+ attr_accessor :cycle_count
335
+
336
+ # Output only. Full charge capacity (mAmpere-hours).
337
+ # Corresponds to the JSON property `fullChargeCapacity`
338
+ # @return [Fixnum]
339
+ attr_accessor :full_charge_capacity
340
+
341
+ # Output only. Timestamp of when the sample was collected on device
342
+ # Corresponds to the JSON property `reportTime`
343
+ # @return [String]
344
+ attr_accessor :report_time
345
+
346
+ # Output only. Sampling data for the battery.
347
+ # Corresponds to the JSON property `sample`
348
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatterySampleReport>]
349
+ attr_accessor :sample
350
+
351
+ # Output only. Battery serial number.
352
+ # Corresponds to the JSON property `serialNumber`
353
+ # @return [String]
354
+ attr_accessor :serial_number
355
+
356
+ def initialize(**args)
357
+ update!(**args)
358
+ end
359
+
360
+ # Update properties of this object
361
+ def update!(**args)
362
+ @battery_health = args[:battery_health] if args.key?(:battery_health)
363
+ @cycle_count = args[:cycle_count] if args.key?(:cycle_count)
364
+ @full_charge_capacity = args[:full_charge_capacity] if args.key?(:full_charge_capacity)
365
+ @report_time = args[:report_time] if args.key?(:report_time)
366
+ @sample = args[:sample] if args.key?(:sample)
367
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
368
+ end
369
+ end
370
+
204
371
  # Describes a browser version and its install count.
205
372
  class GoogleChromeManagementV1BrowserVersion
206
373
  include Google::Apis::Core::Hashable
@@ -345,6 +512,63 @@ module Google
345
512
  end
346
513
  end
347
514
 
515
+ # Details of an app installation request.
516
+ class GoogleChromeManagementV1ChromeAppRequest
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # Output only. Format: app_details=customers/`customer_id`/apps/chrome/`app_id`
520
+ # Corresponds to the JSON property `appDetails`
521
+ # @return [String]
522
+ attr_accessor :app_details
523
+
524
+ # Output only. Unique store identifier for the app. Example: "
525
+ # gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome
526
+ # extension.
527
+ # Corresponds to the JSON property `appId`
528
+ # @return [String]
529
+ attr_accessor :app_id
530
+
531
+ # Output only. The uri for the detail page of the item.
532
+ # Corresponds to the JSON property `detailUri`
533
+ # @return [String]
534
+ attr_accessor :detail_uri
535
+
536
+ # Output only. App's display name.
537
+ # Corresponds to the JSON property `displayName`
538
+ # @return [String]
539
+ attr_accessor :display_name
540
+
541
+ # Output only. A link to an image that can be used as an icon for the product.
542
+ # Corresponds to the JSON property `iconUri`
543
+ # @return [String]
544
+ attr_accessor :icon_uri
545
+
546
+ # Output only. The timestamp of the most recently made request for this app.
547
+ # Corresponds to the JSON property `latestRequestTime`
548
+ # @return [String]
549
+ attr_accessor :latest_request_time
550
+
551
+ # Output only. Total count of requests for this app.
552
+ # Corresponds to the JSON property `requestCount`
553
+ # @return [Fixnum]
554
+ attr_accessor :request_count
555
+
556
+ def initialize(**args)
557
+ update!(**args)
558
+ end
559
+
560
+ # Update properties of this object
561
+ def update!(**args)
562
+ @app_details = args[:app_details] if args.key?(:app_details)
563
+ @app_id = args[:app_id] if args.key?(:app_id)
564
+ @detail_uri = args[:detail_uri] if args.key?(:detail_uri)
565
+ @display_name = args[:display_name] if args.key?(:display_name)
566
+ @icon_uri = args[:icon_uri] if args.key?(:icon_uri)
567
+ @latest_request_time = args[:latest_request_time] if args.key?(:latest_request_time)
568
+ @request_count = args[:request_count] if args.key?(:request_count)
569
+ end
570
+ end
571
+
348
572
  # Represent one host permission.
349
573
  class GoogleChromeManagementV1ChromeAppSiteAccess
350
574
  include Google::Apis::Core::Hashable
@@ -365,6 +589,37 @@ module Google
365
589
  end
366
590
  end
367
591
 
592
+ # Response containing summary of requested app installations.
593
+ class GoogleChromeManagementV1CountChromeAppRequestsResponse
594
+ include Google::Apis::Core::Hashable
595
+
596
+ # Token to specify the next page in the list.
597
+ # Corresponds to the JSON property `nextPageToken`
598
+ # @return [String]
599
+ attr_accessor :next_page_token
600
+
601
+ # Count of requested apps matching request.
602
+ # Corresponds to the JSON property `requestedApps`
603
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppRequest>]
604
+ attr_accessor :requested_apps
605
+
606
+ # Total number of matching app requests.
607
+ # Corresponds to the JSON property `totalSize`
608
+ # @return [Fixnum]
609
+ attr_accessor :total_size
610
+
611
+ def initialize(**args)
612
+ update!(**args)
613
+ end
614
+
615
+ # Update properties of this object
616
+ def update!(**args)
617
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
618
+ @requested_apps = args[:requested_apps] if args.key?(:requested_apps)
619
+ @total_size = args[:total_size] if args.key?(:total_size)
620
+ end
621
+ end
622
+
368
623
  # Response containing requested browser versions details and counts.
369
624
  class GoogleChromeManagementV1CountChromeVersionsResponse
370
625
  include Google::Apis::Core::Hashable
@@ -427,6 +682,101 @@ module Google
427
682
  end
428
683
  end
429
684
 
685
+ # CPU specs for a CPU.
686
+ class GoogleChromeManagementV1CpuInfo
687
+ include Google::Apis::Core::Hashable
688
+
689
+ # Output only. The CPU architecture.
690
+ # Corresponds to the JSON property `architecture`
691
+ # @return [String]
692
+ attr_accessor :architecture
693
+
694
+ # Output only. The max CPU clock speed in kHz.
695
+ # Corresponds to the JSON property `maxClockSpeed`
696
+ # @return [Fixnum]
697
+ attr_accessor :max_clock_speed
698
+
699
+ # Output only. The CPU model name. Example: Intel(R) Core(TM) i5-8250U CPU @ 1.
700
+ # 60GHz
701
+ # Corresponds to the JSON property `model`
702
+ # @return [String]
703
+ attr_accessor :model
704
+
705
+ def initialize(**args)
706
+ update!(**args)
707
+ end
708
+
709
+ # Update properties of this object
710
+ def update!(**args)
711
+ @architecture = args[:architecture] if args.key?(:architecture)
712
+ @max_clock_speed = args[:max_clock_speed] if args.key?(:max_clock_speed)
713
+ @model = args[:model] if args.key?(:model)
714
+ end
715
+ end
716
+
717
+ # Contains samples of the cpu status reports.
718
+ class GoogleChromeManagementV1CpuStatusReport
719
+ include Google::Apis::Core::Hashable
720
+
721
+ # Output only. CPU temperature sample info per CPU core in Celsius
722
+ # Corresponds to the JSON property `cpuTemperatureInfo`
723
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuTemperatureInfo>]
724
+ attr_accessor :cpu_temperature_info
725
+
726
+ # Output only. Sample of CPU utilization (0-100 percent).
727
+ # Corresponds to the JSON property `cpuUtilizationPct`
728
+ # @return [Fixnum]
729
+ attr_accessor :cpu_utilization_pct
730
+
731
+ # Output only. The timestamp in milliseconds representing time at which this
732
+ # report was sampled.
733
+ # Corresponds to the JSON property `reportTime`
734
+ # @return [String]
735
+ attr_accessor :report_time
736
+
737
+ # Output only. Frequency the report is sampled.
738
+ # Corresponds to the JSON property `sampleFrequency`
739
+ # @return [String]
740
+ attr_accessor :sample_frequency
741
+
742
+ def initialize(**args)
743
+ update!(**args)
744
+ end
745
+
746
+ # Update properties of this object
747
+ def update!(**args)
748
+ @cpu_temperature_info = args[:cpu_temperature_info] if args.key?(:cpu_temperature_info)
749
+ @cpu_utilization_pct = args[:cpu_utilization_pct] if args.key?(:cpu_utilization_pct)
750
+ @report_time = args[:report_time] if args.key?(:report_time)
751
+ @sample_frequency = args[:sample_frequency] if args.key?(:sample_frequency)
752
+ end
753
+ end
754
+
755
+ # CPU temperature of a device. Sampled per CPU core in Celsius
756
+ class GoogleChromeManagementV1CpuTemperatureInfo
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # Output only. CPU label. Example: Core 0
760
+ # Corresponds to the JSON property `label`
761
+ # @return [String]
762
+ attr_accessor :label
763
+
764
+ # Output only. CPU temperature in Celsius.
765
+ # Corresponds to the JSON property `temperatureCelsius`
766
+ # @return [Fixnum]
767
+ attr_accessor :temperature_celsius
768
+
769
+ def initialize(**args)
770
+ update!(**args)
771
+ end
772
+
773
+ # Update properties of this object
774
+ def update!(**args)
775
+ @label = args[:label] if args.key?(:label)
776
+ @temperature_celsius = args[:temperature_celsius] if args.key?(:temperature_celsius)
777
+ end
778
+ end
779
+
430
780
  # Describes a device reporting Chrome browser information.
431
781
  class GoogleChromeManagementV1Device
432
782
  include Google::Apis::Core::Hashable
@@ -453,6 +803,143 @@ module Google
453
803
  end
454
804
  end
455
805
 
806
+ # Status of the single storage device.
807
+ class GoogleChromeManagementV1DiskInfo
808
+ include Google::Apis::Core::Hashable
809
+
810
+ # Output only. Number of bytes read since last boot.
811
+ # Corresponds to the JSON property `bytesReadThisSession`
812
+ # @return [Fixnum]
813
+ attr_accessor :bytes_read_this_session
814
+
815
+ # Output only. Number of bytes written since last boot.
816
+ # Corresponds to the JSON property `bytesWrittenThisSession`
817
+ # @return [Fixnum]
818
+ attr_accessor :bytes_written_this_session
819
+
820
+ # Output only. Time spent discarding since last boot. Discarding is writing to
821
+ # clear blocks which are no longer in use. Supported on kernels 4.18+.
822
+ # Corresponds to the JSON property `discardTimeThisSession`
823
+ # @return [String]
824
+ attr_accessor :discard_time_this_session
825
+
826
+ # Output only. Disk health.
827
+ # Corresponds to the JSON property `health`
828
+ # @return [String]
829
+ attr_accessor :health
830
+
831
+ # Output only. Counts the time the disk and queue were busy, so unlike the
832
+ # fields above, parallel requests are not counted multiple times.
833
+ # Corresponds to the JSON property `ioTimeThisSession`
834
+ # @return [String]
835
+ attr_accessor :io_time_this_session
836
+
837
+ # Output only. Disk manufacturer.
838
+ # Corresponds to the JSON property `manufacturer`
839
+ # @return [String]
840
+ attr_accessor :manufacturer
841
+
842
+ # Output only. Disk model.
843
+ # Corresponds to the JSON property `model`
844
+ # @return [String]
845
+ attr_accessor :model
846
+
847
+ # Output only. Time spent reading from disk since last boot.
848
+ # Corresponds to the JSON property `readTimeThisSession`
849
+ # @return [String]
850
+ attr_accessor :read_time_this_session
851
+
852
+ # Output only. Disk serial number.
853
+ # Corresponds to the JSON property `serialNumber`
854
+ # @return [String]
855
+ attr_accessor :serial_number
856
+
857
+ # Output only. Disk size.
858
+ # Corresponds to the JSON property `sizeBytes`
859
+ # @return [Fixnum]
860
+ attr_accessor :size_bytes
861
+
862
+ # Output only. Disk type: eMMC / NVMe / ATA / SCSI.
863
+ # Corresponds to the JSON property `type`
864
+ # @return [String]
865
+ attr_accessor :type
866
+
867
+ # Output only. Disk volumes.
868
+ # Corresponds to the JSON property `volumeIds`
869
+ # @return [Array<String>]
870
+ attr_accessor :volume_ids
871
+
872
+ # Output only. Time spent writing to disk since last boot.
873
+ # Corresponds to the JSON property `writeTimeThisSession`
874
+ # @return [String]
875
+ attr_accessor :write_time_this_session
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ @bytes_read_this_session = args[:bytes_read_this_session] if args.key?(:bytes_read_this_session)
884
+ @bytes_written_this_session = args[:bytes_written_this_session] if args.key?(:bytes_written_this_session)
885
+ @discard_time_this_session = args[:discard_time_this_session] if args.key?(:discard_time_this_session)
886
+ @health = args[:health] if args.key?(:health)
887
+ @io_time_this_session = args[:io_time_this_session] if args.key?(:io_time_this_session)
888
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
889
+ @model = args[:model] if args.key?(:model)
890
+ @read_time_this_session = args[:read_time_this_session] if args.key?(:read_time_this_session)
891
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
892
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
893
+ @type = args[:type] if args.key?(:type)
894
+ @volume_ids = args[:volume_ids] if args.key?(:volume_ids)
895
+ @write_time_this_session = args[:write_time_this_session] if args.key?(:write_time_this_session)
896
+ end
897
+ end
898
+
899
+ # Information for a display.
900
+ class GoogleChromeManagementV1DisplayInfo
901
+ include Google::Apis::Core::Hashable
902
+
903
+ # Output only. Represents the graphics card device id.
904
+ # Corresponds to the JSON property `deviceId`
905
+ # @return [Fixnum]
906
+ attr_accessor :device_id
907
+
908
+ # Output only. Indicates if display is internal or not.
909
+ # Corresponds to the JSON property `isInternal`
910
+ # @return [Boolean]
911
+ attr_accessor :is_internal
912
+ alias_method :is_internal?, :is_internal
913
+
914
+ # Output only. Refresh rate in Hz.
915
+ # Corresponds to the JSON property `refreshRate`
916
+ # @return [Fixnum]
917
+ attr_accessor :refresh_rate
918
+
919
+ # Output only. Resolution height in pixels.
920
+ # Corresponds to the JSON property `resolutionHeight`
921
+ # @return [Fixnum]
922
+ attr_accessor :resolution_height
923
+
924
+ # Output only. Resolution width in pixels.
925
+ # Corresponds to the JSON property `resolutionWidth`
926
+ # @return [Fixnum]
927
+ attr_accessor :resolution_width
928
+
929
+ def initialize(**args)
930
+ update!(**args)
931
+ end
932
+
933
+ # Update properties of this object
934
+ def update!(**args)
935
+ @device_id = args[:device_id] if args.key?(:device_id)
936
+ @is_internal = args[:is_internal] if args.key?(:is_internal)
937
+ @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
938
+ @resolution_height = args[:resolution_height] if args.key?(:resolution_height)
939
+ @resolution_width = args[:resolution_width] if args.key?(:resolution_width)
940
+ end
941
+ end
942
+
456
943
  # Response containing a list of devices with queried app installed.
457
944
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
458
945
  include Google::Apis::Core::Hashable
@@ -485,6 +972,82 @@ module Google
485
972
  end
486
973
  end
487
974
 
975
+ # Information of a graphics adapter (GPU).
976
+ class GoogleChromeManagementV1GraphicsAdapterInfo
977
+ include Google::Apis::Core::Hashable
978
+
979
+ # Output only. Adapter name. Example: Mesa DRI Intel(R) UHD Graphics 620 (
980
+ # Kabylake GT2).
981
+ # Corresponds to the JSON property `adapter`
982
+ # @return [String]
983
+ attr_accessor :adapter
984
+
985
+ # Output only. Represents the graphics card device id.
986
+ # Corresponds to the JSON property `deviceId`
987
+ # @return [Fixnum]
988
+ attr_accessor :device_id
989
+
990
+ # Output only. Version of the GPU driver.
991
+ # Corresponds to the JSON property `driverVersion`
992
+ # @return [String]
993
+ attr_accessor :driver_version
994
+
995
+ def initialize(**args)
996
+ update!(**args)
997
+ end
998
+
999
+ # Update properties of this object
1000
+ def update!(**args)
1001
+ @adapter = args[:adapter] if args.key?(:adapter)
1002
+ @device_id = args[:device_id] if args.key?(:device_id)
1003
+ @driver_version = args[:driver_version] if args.key?(:driver_version)
1004
+ end
1005
+ end
1006
+
1007
+ # Information of the graphics subsystem.
1008
+ class GoogleChromeManagementV1GraphicsInfo
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Information of a graphics adapter (GPU).
1012
+ # Corresponds to the JSON property `adapterInfo`
1013
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo]
1014
+ attr_accessor :adapter_info
1015
+
1016
+ def initialize(**args)
1017
+ update!(**args)
1018
+ end
1019
+
1020
+ # Update properties of this object
1021
+ def update!(**args)
1022
+ @adapter_info = args[:adapter_info] if args.key?(:adapter_info)
1023
+ end
1024
+ end
1025
+
1026
+ # Information of the graphics subsystem.
1027
+ class GoogleChromeManagementV1GraphicsStatusReport
1028
+ include Google::Apis::Core::Hashable
1029
+
1030
+ # Output only. Information about the displays for the device.
1031
+ # Corresponds to the JSON property `displays`
1032
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayInfo>]
1033
+ attr_accessor :displays
1034
+
1035
+ # Output only. Time at which the graphics data was reported.
1036
+ # Corresponds to the JSON property `reportTime`
1037
+ # @return [String]
1038
+ attr_accessor :report_time
1039
+
1040
+ def initialize(**args)
1041
+ update!(**args)
1042
+ end
1043
+
1044
+ # Update properties of this object
1045
+ def update!(**args)
1046
+ @displays = args[:displays] if args.key?(:displays)
1047
+ @report_time = args[:report_time] if args.key?(:report_time)
1048
+ end
1049
+ end
1050
+
488
1051
  # Describes an installed app.
489
1052
  class GoogleChromeManagementV1InstalledApp
490
1053
  include Google::Apis::Core::Hashable
@@ -567,6 +1130,395 @@ module Google
567
1130
  end
568
1131
  end
569
1132
 
1133
+ #
1134
+ class GoogleChromeManagementV1ListTelemetryDevicesResponse
1135
+ include Google::Apis::Core::Hashable
1136
+
1137
+ # Telemetry devices returned in the response.
1138
+ # Corresponds to the JSON property `devices`
1139
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryDevice>]
1140
+ attr_accessor :devices
1141
+
1142
+ # Token to specify next page in the list.
1143
+ # Corresponds to the JSON property `nextPageToken`
1144
+ # @return [String]
1145
+ attr_accessor :next_page_token
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ @devices = args[:devices] if args.key?(:devices)
1154
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1155
+ end
1156
+ end
1157
+
1158
+ # Memory information of a device.
1159
+ class GoogleChromeManagementV1MemoryInfo
1160
+ include Google::Apis::Core::Hashable
1161
+
1162
+ # Output only. Amount of available RAM in bytes.
1163
+ # Corresponds to the JSON property `availableRamBytes`
1164
+ # @return [Fixnum]
1165
+ attr_accessor :available_ram_bytes
1166
+
1167
+ # Output only. Total RAM in bytes.
1168
+ # Corresponds to the JSON property `totalRamBytes`
1169
+ # @return [Fixnum]
1170
+ attr_accessor :total_ram_bytes
1171
+
1172
+ def initialize(**args)
1173
+ update!(**args)
1174
+ end
1175
+
1176
+ # Update properties of this object
1177
+ def update!(**args)
1178
+ @available_ram_bytes = args[:available_ram_bytes] if args.key?(:available_ram_bytes)
1179
+ @total_ram_bytes = args[:total_ram_bytes] if args.key?(:total_ram_bytes)
1180
+ end
1181
+ end
1182
+
1183
+ # Contains samples of memory status reports.
1184
+ class GoogleChromeManagementV1MemoryStatusReport
1185
+ include Google::Apis::Core::Hashable
1186
+
1187
+ # Output only. Number of page faults during this collection
1188
+ # Corresponds to the JSON property `pageFaults`
1189
+ # @return [Fixnum]
1190
+ attr_accessor :page_faults
1191
+
1192
+ # Output only. The timestamp in milliseconds representing time at which this
1193
+ # report was sampled.
1194
+ # Corresponds to the JSON property `reportTime`
1195
+ # @return [String]
1196
+ attr_accessor :report_time
1197
+
1198
+ # Output only. Frequency the report is sampled.
1199
+ # Corresponds to the JSON property `sampleFrequency`
1200
+ # @return [String]
1201
+ attr_accessor :sample_frequency
1202
+
1203
+ # Output only. Amount of free RAM in bytes (unreliable due to Garbage Collection)
1204
+ # .
1205
+ # Corresponds to the JSON property `systemRamFreeBytes`
1206
+ # @return [Fixnum]
1207
+ attr_accessor :system_ram_free_bytes
1208
+
1209
+ def initialize(**args)
1210
+ update!(**args)
1211
+ end
1212
+
1213
+ # Update properties of this object
1214
+ def update!(**args)
1215
+ @page_faults = args[:page_faults] if args.key?(:page_faults)
1216
+ @report_time = args[:report_time] if args.key?(:report_time)
1217
+ @sample_frequency = args[:sample_frequency] if args.key?(:sample_frequency)
1218
+ @system_ram_free_bytes = args[:system_ram_free_bytes] if args.key?(:system_ram_free_bytes)
1219
+ end
1220
+ end
1221
+
1222
+ # State of visible/configured networks.
1223
+ class GoogleChromeManagementV1NetworkStatusReport
1224
+ include Google::Apis::Core::Hashable
1225
+
1226
+ # Output only. Gateway IP address.
1227
+ # Corresponds to the JSON property `gatewayIpAddress`
1228
+ # @return [String]
1229
+ attr_accessor :gateway_ip_address
1230
+
1231
+ # Output only. LAN IP address.
1232
+ # Corresponds to the JSON property `lanIpAddress`
1233
+ # @return [String]
1234
+ attr_accessor :lan_ip_address
1235
+
1236
+ # Output only. Time at which the network state was reported.
1237
+ # Corresponds to the JSON property `reportTime`
1238
+ # @return [String]
1239
+ attr_accessor :report_time
1240
+
1241
+ # Output only. Frequency the report is sampled.
1242
+ # Corresponds to the JSON property `sampleFrequency`
1243
+ # @return [String]
1244
+ attr_accessor :sample_frequency
1245
+
1246
+ # Output only. Signal strength for wireless networks measured in decibels.
1247
+ # Corresponds to the JSON property `signalStrengthDbm`
1248
+ # @return [Fixnum]
1249
+ attr_accessor :signal_strength_dbm
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @gateway_ip_address = args[:gateway_ip_address] if args.key?(:gateway_ip_address)
1258
+ @lan_ip_address = args[:lan_ip_address] if args.key?(:lan_ip_address)
1259
+ @report_time = args[:report_time] if args.key?(:report_time)
1260
+ @sample_frequency = args[:sample_frequency] if args.key?(:sample_frequency)
1261
+ @signal_strength_dbm = args[:signal_strength_dbm] if args.key?(:signal_strength_dbm)
1262
+ end
1263
+ end
1264
+
1265
+ # Contains information regarding the current OS update status.
1266
+ class GoogleChromeManagementV1OsUpdateStatus
1267
+ include Google::Apis::Core::Hashable
1268
+
1269
+ # Output only. Timestamp of the last reboot.
1270
+ # Corresponds to the JSON property `lastRebootTime`
1271
+ # @return [String]
1272
+ attr_accessor :last_reboot_time
1273
+
1274
+ # Output only. Timestamp of the last update check.
1275
+ # Corresponds to the JSON property `lastUpdateCheckTime`
1276
+ # @return [String]
1277
+ attr_accessor :last_update_check_time
1278
+
1279
+ # Output only. Timestamp of the last successful update.
1280
+ # Corresponds to the JSON property `lastUpdateTime`
1281
+ # @return [String]
1282
+ attr_accessor :last_update_time
1283
+
1284
+ # Output only. New platform version of the os image being downloaded and applied.
1285
+ # It is only set when update status is OS_IMAGE_DOWNLOAD_IN_PROGRESS or
1286
+ # OS_UPDATE_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for
1287
+ # OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. update engine is
1288
+ # restarted without a reboot.
1289
+ # Corresponds to the JSON property `newPlatformVersion`
1290
+ # @return [String]
1291
+ attr_accessor :new_platform_version
1292
+
1293
+ # Output only. New requested platform version from the pending updated kiosk app.
1294
+ # Corresponds to the JSON property `newRequestedPlatformVersion`
1295
+ # @return [String]
1296
+ attr_accessor :new_requested_platform_version
1297
+
1298
+ # Output only. Current state of the os update.
1299
+ # Corresponds to the JSON property `updateState`
1300
+ # @return [String]
1301
+ attr_accessor :update_state
1302
+
1303
+ def initialize(**args)
1304
+ update!(**args)
1305
+ end
1306
+
1307
+ # Update properties of this object
1308
+ def update!(**args)
1309
+ @last_reboot_time = args[:last_reboot_time] if args.key?(:last_reboot_time)
1310
+ @last_update_check_time = args[:last_update_check_time] if args.key?(:last_update_check_time)
1311
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1312
+ @new_platform_version = args[:new_platform_version] if args.key?(:new_platform_version)
1313
+ @new_requested_platform_version = args[:new_requested_platform_version] if args.key?(:new_requested_platform_version)
1314
+ @update_state = args[:update_state] if args.key?(:update_state)
1315
+ end
1316
+ end
1317
+
1318
+ # Status data for storage.
1319
+ class GoogleChromeManagementV1StorageInfo
1320
+ include Google::Apis::Core::Hashable
1321
+
1322
+ # The available space for user data storage in the device in bytes.
1323
+ # Corresponds to the JSON property `availableDiskBytes`
1324
+ # @return [Fixnum]
1325
+ attr_accessor :available_disk_bytes
1326
+
1327
+ # The total space for user data storage in the device in bytes.
1328
+ # Corresponds to the JSON property `totalDiskBytes`
1329
+ # @return [Fixnum]
1330
+ attr_accessor :total_disk_bytes
1331
+
1332
+ # Information for disk volumes
1333
+ # Corresponds to the JSON property `volume`
1334
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfoDiskVolume>]
1335
+ attr_accessor :volume
1336
+
1337
+ def initialize(**args)
1338
+ update!(**args)
1339
+ end
1340
+
1341
+ # Update properties of this object
1342
+ def update!(**args)
1343
+ @available_disk_bytes = args[:available_disk_bytes] if args.key?(:available_disk_bytes)
1344
+ @total_disk_bytes = args[:total_disk_bytes] if args.key?(:total_disk_bytes)
1345
+ @volume = args[:volume] if args.key?(:volume)
1346
+ end
1347
+ end
1348
+
1349
+ # Information for disk volumes
1350
+ class GoogleChromeManagementV1StorageInfoDiskVolume
1351
+ include Google::Apis::Core::Hashable
1352
+
1353
+ # Free storage space in bytes.
1354
+ # Corresponds to the JSON property `storageFreeBytes`
1355
+ # @return [Fixnum]
1356
+ attr_accessor :storage_free_bytes
1357
+
1358
+ # Total storage space in bytes.
1359
+ # Corresponds to the JSON property `storageTotalBytes`
1360
+ # @return [Fixnum]
1361
+ attr_accessor :storage_total_bytes
1362
+
1363
+ # Disk volume id.
1364
+ # Corresponds to the JSON property `volumeId`
1365
+ # @return [String]
1366
+ attr_accessor :volume_id
1367
+
1368
+ def initialize(**args)
1369
+ update!(**args)
1370
+ end
1371
+
1372
+ # Update properties of this object
1373
+ def update!(**args)
1374
+ @storage_free_bytes = args[:storage_free_bytes] if args.key?(:storage_free_bytes)
1375
+ @storage_total_bytes = args[:storage_total_bytes] if args.key?(:storage_total_bytes)
1376
+ @volume_id = args[:volume_id] if args.key?(:volume_id)
1377
+ end
1378
+ end
1379
+
1380
+ # Status data for storage.
1381
+ class GoogleChromeManagementV1StorageStatusReport
1382
+ include Google::Apis::Core::Hashable
1383
+
1384
+ # Output only. Reports on disk
1385
+ # Corresponds to the JSON property `disk`
1386
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DiskInfo>]
1387
+ attr_accessor :disk
1388
+
1389
+ # Output only. Timestamp of when the sample was collected on device
1390
+ # Corresponds to the JSON property `reportTime`
1391
+ # @return [String]
1392
+ attr_accessor :report_time
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @disk = args[:disk] if args.key?(:disk)
1401
+ @report_time = args[:report_time] if args.key?(:report_time)
1402
+ end
1403
+ end
1404
+
1405
+ # Telemetry data collected from a managed device.
1406
+ class GoogleChromeManagementV1TelemetryDevice
1407
+ include Google::Apis::Core::Hashable
1408
+
1409
+ # Output only. Information on battery specs for the device.
1410
+ # Corresponds to the JSON property `batteryInfo`
1411
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryInfo>]
1412
+ attr_accessor :battery_info
1413
+
1414
+ # Output only. Battery reports collected periodically.
1415
+ # Corresponds to the JSON property `batteryStatusReport`
1416
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryStatusReport>]
1417
+ attr_accessor :battery_status_report
1418
+
1419
+ # Output only. Information regarding CPU specs for the device.
1420
+ # Corresponds to the JSON property `cpuInfo`
1421
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuInfo>]
1422
+ attr_accessor :cpu_info
1423
+
1424
+ # Output only. CPU status reports collected periodically.
1425
+ # Corresponds to the JSON property `cpuStatusReport`
1426
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuStatusReport>]
1427
+ attr_accessor :cpu_status_report
1428
+
1429
+ # Output only. Google Workspace Customer whose enterprise enrolled the device.
1430
+ # Corresponds to the JSON property `customer`
1431
+ # @return [String]
1432
+ attr_accessor :customer
1433
+
1434
+ # Output only. The unique Directory API ID of the device. This value is the same
1435
+ # as the Admin Console's Directory API ID in the Chrome OS Devices tab
1436
+ # Corresponds to the JSON property `deviceId`
1437
+ # @return [String]
1438
+ attr_accessor :device_id
1439
+
1440
+ # Information of the graphics subsystem.
1441
+ # Corresponds to the JSON property `graphicsInfo`
1442
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsInfo]
1443
+ attr_accessor :graphics_info
1444
+
1445
+ # Output only. Graphics reports collected periodically.
1446
+ # Corresponds to the JSON property `graphicsStatusReport`
1447
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsStatusReport>]
1448
+ attr_accessor :graphics_status_report
1449
+
1450
+ # Memory information of a device.
1451
+ # Corresponds to the JSON property `memoryInfo`
1452
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryInfo]
1453
+ attr_accessor :memory_info
1454
+
1455
+ # Output only. Memory status reports collected periodically.
1456
+ # Corresponds to the JSON property `memoryStatusReport`
1457
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryStatusReport>]
1458
+ attr_accessor :memory_status_report
1459
+
1460
+ # Output only. Resource name of the device.
1461
+ # Corresponds to the JSON property `name`
1462
+ # @return [String]
1463
+ attr_accessor :name
1464
+
1465
+ # Output only. Network specs collected periodically.
1466
+ # Corresponds to the JSON property `networkStatusReport`
1467
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkStatusReport>]
1468
+ attr_accessor :network_status_report
1469
+
1470
+ # Output only. Organization unit ID of the device.
1471
+ # Corresponds to the JSON property `orgUnitId`
1472
+ # @return [String]
1473
+ attr_accessor :org_unit_id
1474
+
1475
+ # Output only. Contains relevant information regarding ChromeOS update status.
1476
+ # Corresponds to the JSON property `osUpdateStatus`
1477
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1OsUpdateStatus>]
1478
+ attr_accessor :os_update_status
1479
+
1480
+ # Output only. Device serial number. This value is the same as the Admin Console'
1481
+ # s Serial Number in the Chrome OS Devices tab.
1482
+ # Corresponds to the JSON property `serialNumber`
1483
+ # @return [String]
1484
+ attr_accessor :serial_number
1485
+
1486
+ # Status data for storage.
1487
+ # Corresponds to the JSON property `storageInfo`
1488
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo]
1489
+ attr_accessor :storage_info
1490
+
1491
+ # Output only. Storage reports collected periodically.
1492
+ # Corresponds to the JSON property `storageStatusReport`
1493
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageStatusReport>]
1494
+ attr_accessor :storage_status_report
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @battery_info = args[:battery_info] if args.key?(:battery_info)
1503
+ @battery_status_report = args[:battery_status_report] if args.key?(:battery_status_report)
1504
+ @cpu_info = args[:cpu_info] if args.key?(:cpu_info)
1505
+ @cpu_status_report = args[:cpu_status_report] if args.key?(:cpu_status_report)
1506
+ @customer = args[:customer] if args.key?(:customer)
1507
+ @device_id = args[:device_id] if args.key?(:device_id)
1508
+ @graphics_info = args[:graphics_info] if args.key?(:graphics_info)
1509
+ @graphics_status_report = args[:graphics_status_report] if args.key?(:graphics_status_report)
1510
+ @memory_info = args[:memory_info] if args.key?(:memory_info)
1511
+ @memory_status_report = args[:memory_status_report] if args.key?(:memory_status_report)
1512
+ @name = args[:name] if args.key?(:name)
1513
+ @network_status_report = args[:network_status_report] if args.key?(:network_status_report)
1514
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
1515
+ @os_update_status = args[:os_update_status] if args.key?(:os_update_status)
1516
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
1517
+ @storage_info = args[:storage_info] if args.key?(:storage_info)
1518
+ @storage_status_report = args[:storage_status_report] if args.key?(:storage_status_report)
1519
+ end
1520
+ end
1521
+
570
1522
  # The `Status` type defines a logical error model that is suitable for different
571
1523
  # programming environments, including REST APIs and RPC APIs. It is used by [
572
1524
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -605,6 +1557,47 @@ module Google
605
1557
  @message = args[:message] if args.key?(:message)
606
1558
  end
607
1559
  end
1560
+
1561
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1562
+ # day and time zone are either specified elsewhere or are insignificant. The
1563
+ # date is relative to the Gregorian Calendar. This can represent one of the
1564
+ # following: * A full date, with non-zero year, month, and day values * A month
1565
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
1566
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
1567
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
1568
+ # DateTime * google.protobuf.Timestamp
1569
+ class GoogleTypeDate
1570
+ include Google::Apis::Core::Hashable
1571
+
1572
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1573
+ # specify a year by itself or a year and month where the day isn't significant.
1574
+ # Corresponds to the JSON property `day`
1575
+ # @return [Fixnum]
1576
+ attr_accessor :day
1577
+
1578
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1579
+ # and day.
1580
+ # Corresponds to the JSON property `month`
1581
+ # @return [Fixnum]
1582
+ attr_accessor :month
1583
+
1584
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1585
+ # year.
1586
+ # Corresponds to the JSON property `year`
1587
+ # @return [Fixnum]
1588
+ attr_accessor :year
1589
+
1590
+ def initialize(**args)
1591
+ update!(**args)
1592
+ end
1593
+
1594
+ # Update properties of this object
1595
+ def update!(**args)
1596
+ @day = args[:day] if args.key?(:day)
1597
+ @month = args[:month] if args.key?(:month)
1598
+ @year = args[:year] if args.key?(:year)
1599
+ end
1600
+ end
608
1601
  end
609
1602
  end
610
1603
  end