google-apis-chromemanagement_v1 0.48.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +55 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +19 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +31 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c7b329d0d7b82387a46af309d75232cd026723f3806aab190abdb8541a63fc
|
4
|
+
data.tar.gz: a031278ce189e40bac4c0244a9468baf8ab81467416e118f513b4d554b6976dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdaa7f52f78a2f56e1fdefe06691b949c93eba9df2780e5c0dc63e038c5aba085c49b0e583ee2b295f53f11cad5b3528aa186ce1c718f5576017f954be057da9
|
7
|
+
data.tar.gz: 7194b711fe2876706d8f3f2a5a8b4274a73516e70060595f7c01660d31e7b0f1d90bc720c5f07b45b3b19147479122f60e60cb05e8672d3d0dff2b5ad1bae8e2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240303
|
6
|
+
|
7
|
+
### v0.49.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240227
|
10
|
+
|
3
11
|
### v0.48.0 (2024-02-23)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.50.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 = "
|
25
|
+
REVISION = "20240303"
|
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
|
|
@@ -679,7 +679,15 @@ module Google
|
|
679
679
|
# @param [String] name
|
680
680
|
# Required. Name of the `TelemetryDevice` to return.
|
681
681
|
# @param [String] read_mask
|
682
|
-
# Required. Read mask to specify which fields to return.
|
682
|
+
# Required. Read mask to specify which fields to return. Supported read_mask
|
683
|
+
# paths are: - name - org_unit_id - device_id - serial_number - cpu_info -
|
684
|
+
# cpu_status_report - memory_info - memory_status_report - network_info -
|
685
|
+
# network_diagnostics_report - network_status_report - os_update_status -
|
686
|
+
# graphics_info - graphics_status_report - battery_info - battery_status_report -
|
687
|
+
# storage_info - storage_status_report - thunderbolt_info - audio_status_report
|
688
|
+
# - boot_performance_report - heartbeat_status_report - network_bandwidth_report
|
689
|
+
# - peripherals_report - kiosk_app_status_report - app_report -
|
690
|
+
# runtime_counters_report
|
683
691
|
# @param [String] fields
|
684
692
|
# Selector specifying which fields to include in a partial response.
|
685
693
|
# @param [String] quota_user
|
@@ -726,7 +734,15 @@ module Google
|
|
726
734
|
# @param [String] page_token
|
727
735
|
# Token to specify next page in the list.
|
728
736
|
# @param [String] read_mask
|
729
|
-
# Required. Read mask to specify which fields to return.
|
737
|
+
# Required. Read mask to specify which fields to return. Supported read_mask
|
738
|
+
# paths are: - name - org_unit_id - device_id - serial_number - cpu_info -
|
739
|
+
# cpu_status_report - memory_info - memory_status_report - network_info -
|
740
|
+
# network_diagnostics_report - network_status_report - os_update_status -
|
741
|
+
# graphics_info - graphics_status_report - battery_info - battery_status_report -
|
742
|
+
# storage_info - storage_status_report - thunderbolt_info - audio_status_report
|
743
|
+
# - boot_performance_report - heartbeat_status_report - network_bandwidth_report
|
744
|
+
# - peripherals_report - kiosk_app_status_report - app_report -
|
745
|
+
# runtime_counters_report
|
730
746
|
# @param [String] fields
|
731
747
|
# Selector specifying which fields to include in a partial response.
|
732
748
|
# @param [String] quota_user
|
@@ -779,7 +795,11 @@ module Google
|
|
779
795
|
# @param [String] read_mask
|
780
796
|
# Required. Read mask to specify which fields to return. Although currently
|
781
797
|
# required, this field will become optional, while the filter parameter with an
|
782
|
-
# event type will be come required.
|
798
|
+
# event type will be come required. Supported read_mask paths are: - device -
|
799
|
+
# user - audio_severe_underrun_event - usb_peripherals_event -
|
800
|
+
# https_latency_change_event - network_state_change_event -
|
801
|
+
# wifi_signal_strength_event - vpn_connection_state_change_event -
|
802
|
+
# app_install_event - app_uninstall_event - app_launch_event
|
783
803
|
# @param [String] fields
|
784
804
|
# Selector specifying which fields to include in a partial response.
|
785
805
|
# @param [String] quota_user
|
@@ -921,7 +941,10 @@ module Google
|
|
921
941
|
# @param [String] name
|
922
942
|
# Required. Name of the `TelemetryUser` to return.
|
923
943
|
# @param [String] read_mask
|
924
|
-
# Read mask to specify which fields to return.
|
944
|
+
# Read mask to specify which fields to return. Supported read_mask paths are: -
|
945
|
+
# name - org_unit_id - user_id - user_email - user_device.device_id -
|
946
|
+
# user_device.audio_status_report - user_device.device_activity_report -
|
947
|
+
# user_device.network_bandwidth_report - user_device.peripherals_report
|
925
948
|
# @param [String] fields
|
926
949
|
# Selector specifying which fields to include in a partial response.
|
927
950
|
# @param [String] quota_user
|
@@ -963,7 +986,10 @@ module Google
|
|
963
986
|
# @param [String] page_token
|
964
987
|
# Token to specify next page in the list.
|
965
988
|
# @param [String] read_mask
|
966
|
-
# Read mask to specify which fields to return.
|
989
|
+
# Read mask to specify which fields to return. Supported read_mask paths are: -
|
990
|
+
# name - org_unit_id - user_id - user_email - user_device.device_id -
|
991
|
+
# user_device.audio_status_report - user_device.device_activity_report -
|
992
|
+
# user_device.network_bandwidth_report - user_device.peripherals_report
|
967
993
|
# @param [String] fields
|
968
994
|
# Selector specifying which fields to include in a partial response.
|
969
995
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.50.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-
|
11
|
+
date: 2024-03-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.50.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: []
|