google-apis-chromemanagement_v1 0.48.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4db2a89093814c1c732f54363f24ff005c026aa20ee1f5d47dbd0774e6c30613
4
- data.tar.gz: 208372884f85b7508c915515fe69834daa257dfe97c53f929efd6e07f31c2913
3
+ metadata.gz: dc96f91a14961535752ea98917e09b69a481263995cd2fdd552c893200accd67
4
+ data.tar.gz: 67c49d7decb5bd6e34592f81b2ac4b128180955de6a887f4ac75fa4041563aad
5
5
  SHA512:
6
- metadata.gz: 466c00b10e8b5145eb9ebaf7d5742deabb6bb82328c83c2ed7d50f5997f95c282f75623e6e5c25b1cf0fbc87b7a8172ef81ba035937100d9837734085a9c040d
7
- data.tar.gz: df1f2814a1451ef56cc41e902959e0e143fe30d82d6411b0ef54c50acfa99a38870b6ff03bb15ed598ae9048168cd341ae68da1e211cc0add172436fd3f2b3a9
6
+ metadata.gz: 8cba94c8a527a761b5e84620e28fe73844cd043ade77510424ac6deb80e0f391f3657faac2ba3412387609b6d2eacb7d678541cc7688ae4f896b491dbd899170
7
+ data.tar.gz: 5e3421bbaac121bb3c3dc866b763c6abe9e69f809da27321e459e7e673318e0aea72b7dce5db24ffda04045e0a07209193c861e119eab8667b475d6a928da11d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.49.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240227
6
+
3
7
  ### v0.48.0 (2024-02-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240221
@@ -2549,6 +2549,53 @@ module Google
2549
2549
  end
2550
2550
  end
2551
2551
 
2552
+ # Runtime counters retrieved from CPU. Currently the runtime counters telemetry
2553
+ # is only supported by Intel vPro PSR on Gen 14+.
2554
+ class GoogleChromeManagementV1RuntimeCountersReport
2555
+ include Google::Apis::Core::Hashable
2556
+
2557
+ # Number of times that the device has entered into the hibernation state.
2558
+ # Currently obtained via the PSR, count from S0->S4.
2559
+ # Corresponds to the JSON property `enterHibernationCount`
2560
+ # @return [Fixnum]
2561
+ attr_accessor :enter_hibernation_count
2562
+
2563
+ # Number of times that the device has entered into the power-off state.
2564
+ # Currently obtained via the PSR, count from S0->S5.
2565
+ # Corresponds to the JSON property `enterPoweroffCount`
2566
+ # @return [Fixnum]
2567
+ attr_accessor :enter_poweroff_count
2568
+
2569
+ # Number of times that the device has entered into the sleep state. Currently
2570
+ # obtained via the PSR, count from S0->S3.
2571
+ # Corresponds to the JSON property `enterSleepCount`
2572
+ # @return [Fixnum]
2573
+ attr_accessor :enter_sleep_count
2574
+
2575
+ # Timestamp when the report was collected.
2576
+ # Corresponds to the JSON property `reportTime`
2577
+ # @return [String]
2578
+ attr_accessor :report_time
2579
+
2580
+ # Total lifetime runtime. Currently always S0 runtime from Intel vPro PSR.
2581
+ # Corresponds to the JSON property `uptimeRuntimeDuration`
2582
+ # @return [String]
2583
+ attr_accessor :uptime_runtime_duration
2584
+
2585
+ def initialize(**args)
2586
+ update!(**args)
2587
+ end
2588
+
2589
+ # Update properties of this object
2590
+ def update!(**args)
2591
+ @enter_hibernation_count = args[:enter_hibernation_count] if args.key?(:enter_hibernation_count)
2592
+ @enter_poweroff_count = args[:enter_poweroff_count] if args.key?(:enter_poweroff_count)
2593
+ @enter_sleep_count = args[:enter_sleep_count] if args.key?(:enter_sleep_count)
2594
+ @report_time = args[:report_time] if args.key?(:report_time)
2595
+ @uptime_runtime_duration = args[:uptime_runtime_duration] if args.key?(:uptime_runtime_duration)
2596
+ end
2597
+ end
2598
+
2552
2599
  # Status data for storage. * This field is telemetry information and this will
2553
2600
  # change over time as the device is utilized. * Data for this field is
2554
2601
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -2815,6 +2862,13 @@ module Google
2815
2862
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport>]
2816
2863
  attr_accessor :peripherals_report
2817
2864
 
2865
+ # Output only. Runtime counters reports collected device lifetime runtime, as
2866
+ # well as the counts of S0->S3, S0->S4, and S0->S5 transitions, meaning entering
2867
+ # into sleep, hibernation, and power-off states
2868
+ # Corresponds to the JSON property `runtimeCountersReport`
2869
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RuntimeCountersReport>]
2870
+ attr_accessor :runtime_counters_report
2871
+
2818
2872
  # Output only. Device serial number. This value is the same as the Admin Console'
2819
2873
  # s Serial Number in the ChromeOS Devices tab.
2820
2874
  # Corresponds to the JSON property `serialNumber`
@@ -2871,6 +2925,7 @@ module Google
2871
2925
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
2872
2926
  @os_update_status = args[:os_update_status] if args.key?(:os_update_status)
2873
2927
  @peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
2928
+ @runtime_counters_report = args[:runtime_counters_report] if args.key?(:runtime_counters_report)
2874
2929
  @serial_number = args[:serial_number] if args.key?(:serial_number)
2875
2930
  @storage_info = args[:storage_info] if args.key?(:storage_info)
2876
2931
  @storage_status_report = args[:storage_status_report] if args.key?(:storage_status_report)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromemanagementV1
18
18
  # Version of the google-apis-chromemanagement_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240221"
25
+ REVISION = "20240227"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleChromeManagementV1RuntimeCountersReport
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleChromeManagementV1StorageInfo
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -1140,6 +1146,17 @@ module Google
1140
1146
  end
1141
1147
  end
1142
1148
 
1149
+ class GoogleChromeManagementV1RuntimeCountersReport
1150
+ # @private
1151
+ class Representation < Google::Apis::Core::JsonRepresentation
1152
+ property :enter_hibernation_count, :numeric_string => true, as: 'enterHibernationCount'
1153
+ property :enter_poweroff_count, :numeric_string => true, as: 'enterPoweroffCount'
1154
+ property :enter_sleep_count, :numeric_string => true, as: 'enterSleepCount'
1155
+ property :report_time, as: 'reportTime'
1156
+ property :uptime_runtime_duration, as: 'uptimeRuntimeDuration'
1157
+ end
1158
+ end
1159
+
1143
1160
  class GoogleChromeManagementV1StorageInfo
1144
1161
  # @private
1145
1162
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1217,6 +1234,8 @@ module Google
1217
1234
 
1218
1235
  collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
1219
1236
 
1237
+ collection :runtime_counters_report, as: 'runtimeCountersReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RuntimeCountersReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RuntimeCountersReport::Representation
1238
+
1220
1239
  property :serial_number, as: 'serialNumber'
1221
1240
  property :storage_info, as: 'storageInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1StorageInfo::Representation
1222
1241
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []