google-apis-chromemanagement_v1 0.71.0 → 0.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60a345be303655c7b3fb18414b03f28ccc6442023c1ac9d7d90fe5feb750428d
4
- data.tar.gz: f51466f33801b72cf697422c0015cd4c81dc191fa870ed222ebb558f2c674558
3
+ metadata.gz: acc817d4c0afdee3e101fb7729c01dce54cccf80e6c497e567a056113000e4b3
4
+ data.tar.gz: 942769cd95f29a743ff0f454c7c1dac4de245d39522ac57bf7e982d33bedb74b
5
5
  SHA512:
6
- metadata.gz: 3375188c626e66dd13e3faefcef6ffcfec577555d3f9bd03f8b4539b2119e0652f5e324e6fbd9d38dcb36523573935eb5e3ddca01c2d16d23206b383821a0f36
7
- data.tar.gz: acfb8329b00b03ecfedaa5c234416858e94c23d220f195e11253f86d7effc7d01507dcaf3c12681c555d428888481b53d29e45b2fd77c8097325b3888d2f50c6
6
+ metadata.gz: 3d37fc18cdfc641dc06dc10bed7b5f4b076e70aa98f826ed65db48176cff5e64f7288bbd63b2d49f7f9c3cd842b29f0eae078a42ce1f66e2ee5f762d4b8fc07a
7
+ data.tar.gz: 2dbb2835a68bf065b4ee4c44b0d8c50dc31669cab40607c78fe469ebb74c5867437276b062aacec9433b95bae2f5d5852591739888203c63a7d24fd4ae92a18b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.72.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251105
6
+
3
7
  ### v0.71.0 (2025-10-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20251014
@@ -826,6 +826,33 @@ module Google
826
826
  end
827
827
  end
828
828
 
829
+ # Response containing the number of active devices.
830
+ class GoogleChromeManagementV1CountActiveDevicesResponse
831
+ include Google::Apis::Core::Hashable
832
+
833
+ # Number of active devices in the 7 days leading up to the date specified in the
834
+ # request.
835
+ # Corresponds to the JSON property `sevenDaysCount`
836
+ # @return [Fixnum]
837
+ attr_accessor :seven_days_count
838
+
839
+ # Number of active devices in the 30 days leading up to the date specified in
840
+ # the request.
841
+ # Corresponds to the JSON property `thirtyDaysCount`
842
+ # @return [Fixnum]
843
+ attr_accessor :thirty_days_count
844
+
845
+ def initialize(**args)
846
+ update!(**args)
847
+ end
848
+
849
+ # Update properties of this object
850
+ def update!(**args)
851
+ @seven_days_count = args[:seven_days_count] if args.key?(:seven_days_count)
852
+ @thirty_days_count = args[:thirty_days_count] if args.key?(:thirty_days_count)
853
+ end
854
+ end
855
+
829
856
  # Response containing summary of requested app installations.
830
857
  class GoogleChromeManagementV1CountChromeAppRequestsResponse
831
858
  include Google::Apis::Core::Hashable
@@ -1084,6 +1111,98 @@ module Google
1084
1111
  end
1085
1112
  end
1086
1113
 
1114
+ # Response containing the number of devices with the given boot type.
1115
+ class GoogleChromeManagementV1CountDevicesPerBootTypeResponse
1116
+ include Google::Apis::Core::Hashable
1117
+
1118
+ # Number of devices with dev boot type.
1119
+ # Corresponds to the JSON property `devBootTypeCount`
1120
+ # @return [Fixnum]
1121
+ attr_accessor :dev_boot_type_count
1122
+
1123
+ # Number of devices with unreported boot type.
1124
+ # Corresponds to the JSON property `unreportedBootTypeCount`
1125
+ # @return [Fixnum]
1126
+ attr_accessor :unreported_boot_type_count
1127
+
1128
+ # Number of devices with verified boot type.
1129
+ # Corresponds to the JSON property `verifiedBootTypeCount`
1130
+ # @return [Fixnum]
1131
+ attr_accessor :verified_boot_type_count
1132
+
1133
+ def initialize(**args)
1134
+ update!(**args)
1135
+ end
1136
+
1137
+ # Update properties of this object
1138
+ def update!(**args)
1139
+ @dev_boot_type_count = args[:dev_boot_type_count] if args.key?(:dev_boot_type_count)
1140
+ @unreported_boot_type_count = args[:unreported_boot_type_count] if args.key?(:unreported_boot_type_count)
1141
+ @verified_boot_type_count = args[:verified_boot_type_count] if args.key?(:verified_boot_type_count)
1142
+ end
1143
+ end
1144
+
1145
+ # Response containing the number of devices with the given channel.
1146
+ class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse
1147
+ include Google::Apis::Core::Hashable
1148
+
1149
+ # Number of devices with beta release channel.
1150
+ # Corresponds to the JSON property `betaChannelCount`
1151
+ # @return [Fixnum]
1152
+ attr_accessor :beta_channel_count
1153
+
1154
+ # Number of devices with canary release channel.
1155
+ # Corresponds to the JSON property `canaryChannelCount`
1156
+ # @return [Fixnum]
1157
+ attr_accessor :canary_channel_count
1158
+
1159
+ # Number of devices with dev release channel.
1160
+ # Corresponds to the JSON property `devChannelCount`
1161
+ # @return [Fixnum]
1162
+ attr_accessor :dev_channel_count
1163
+
1164
+ # Number of devices with ltc release channel.
1165
+ # Corresponds to the JSON property `ltcChannelCount`
1166
+ # @return [Fixnum]
1167
+ attr_accessor :ltc_channel_count
1168
+
1169
+ # Number of devices with lts release channel.
1170
+ # Corresponds to the JSON property `ltsChannelCount`
1171
+ # @return [Fixnum]
1172
+ attr_accessor :lts_channel_count
1173
+
1174
+ # Number of devices with stable release channel.
1175
+ # Corresponds to the JSON property `stableChannelCount`
1176
+ # @return [Fixnum]
1177
+ attr_accessor :stable_channel_count
1178
+
1179
+ # Number of devices with an unreported release channel.
1180
+ # Corresponds to the JSON property `unreportedChannelCount`
1181
+ # @return [Fixnum]
1182
+ attr_accessor :unreported_channel_count
1183
+
1184
+ # Number of devices with unsupported release channel.
1185
+ # Corresponds to the JSON property `unsupportedChannelCount`
1186
+ # @return [Fixnum]
1187
+ attr_accessor :unsupported_channel_count
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @beta_channel_count = args[:beta_channel_count] if args.key?(:beta_channel_count)
1196
+ @canary_channel_count = args[:canary_channel_count] if args.key?(:canary_channel_count)
1197
+ @dev_channel_count = args[:dev_channel_count] if args.key?(:dev_channel_count)
1198
+ @ltc_channel_count = args[:ltc_channel_count] if args.key?(:ltc_channel_count)
1199
+ @lts_channel_count = args[:lts_channel_count] if args.key?(:lts_channel_count)
1200
+ @stable_channel_count = args[:stable_channel_count] if args.key?(:stable_channel_count)
1201
+ @unreported_channel_count = args[:unreported_channel_count] if args.key?(:unreported_channel_count)
1202
+ @unsupported_channel_count = args[:unsupported_channel_count] if args.key?(:unsupported_channel_count)
1203
+ end
1204
+ end
1205
+
1087
1206
  # Response containing details of queried installed apps.
1088
1207
  class GoogleChromeManagementV1CountInstalledAppsResponse
1089
1208
  include Google::Apis::Core::Hashable
@@ -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.71.0"
19
+ GEM_VERSION = "0.72.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251014"
25
+ REVISION = "20251105"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class GoogleChromeManagementV1CountActiveDevicesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class GoogleChromeManagementV1CountChromeAppRequestsResponse
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -160,6 +166,18 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class GoogleChromeManagementV1CountDevicesPerBootTypeResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
163
181
  class GoogleChromeManagementV1CountInstalledAppsResponse
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
@@ -1019,6 +1037,14 @@ module Google
1019
1037
  end
1020
1038
  end
1021
1039
 
1040
+ class GoogleChromeManagementV1CountActiveDevicesResponse
1041
+ # @private
1042
+ class Representation < Google::Apis::Core::JsonRepresentation
1043
+ property :seven_days_count, :numeric_string => true, as: 'sevenDaysCount'
1044
+ property :thirty_days_count, :numeric_string => true, as: 'thirtyDaysCount'
1045
+ end
1046
+ end
1047
+
1022
1048
  class GoogleChromeManagementV1CountChromeAppRequestsResponse
1023
1049
  # @private
1024
1050
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1099,6 +1125,29 @@ module Google
1099
1125
  end
1100
1126
  end
1101
1127
 
1128
+ class GoogleChromeManagementV1CountDevicesPerBootTypeResponse
1129
+ # @private
1130
+ class Representation < Google::Apis::Core::JsonRepresentation
1131
+ property :dev_boot_type_count, :numeric_string => true, as: 'devBootTypeCount'
1132
+ property :unreported_boot_type_count, :numeric_string => true, as: 'unreportedBootTypeCount'
1133
+ property :verified_boot_type_count, :numeric_string => true, as: 'verifiedBootTypeCount'
1134
+ end
1135
+ end
1136
+
1137
+ class GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse
1138
+ # @private
1139
+ class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :beta_channel_count, :numeric_string => true, as: 'betaChannelCount'
1141
+ property :canary_channel_count, :numeric_string => true, as: 'canaryChannelCount'
1142
+ property :dev_channel_count, :numeric_string => true, as: 'devChannelCount'
1143
+ property :ltc_channel_count, :numeric_string => true, as: 'ltcChannelCount'
1144
+ property :lts_channel_count, :numeric_string => true, as: 'ltsChannelCount'
1145
+ property :stable_channel_count, :numeric_string => true, as: 'stableChannelCount'
1146
+ property :unreported_channel_count, :numeric_string => true, as: 'unreportedChannelCount'
1147
+ property :unsupported_channel_count, :numeric_string => true, as: 'unsupportedChannelCount'
1148
+ end
1149
+ end
1150
+
1102
1151
  class GoogleChromeManagementV1CountInstalledAppsResponse
1103
1152
  # @private
1104
1153
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -744,6 +744,49 @@ module Google
744
744
  execute_or_queue_command(command, &block)
745
745
  end
746
746
 
747
+ # Get a count of active devices per set time frames.
748
+ # @param [String] customer
749
+ # Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
750
+ # my_customer".
751
+ # @param [Fixnum] date_day
752
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
753
+ # specify a year by itself or a year and month where the day isn't significant.
754
+ # @param [Fixnum] date_month
755
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
756
+ # and day.
757
+ # @param [Fixnum] date_year
758
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
759
+ # year.
760
+ # @param [String] fields
761
+ # Selector specifying which fields to include in a partial response.
762
+ # @param [String] quota_user
763
+ # Available to use for quota purposes for server-side applications. Can be any
764
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
765
+ # @param [Google::Apis::RequestOptions] options
766
+ # Request-specific options
767
+ #
768
+ # @yield [result, err] Result & error if block supplied
769
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse] parsed result object
770
+ # @yieldparam err [StandardError] error object if request failed
771
+ #
772
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse]
773
+ #
774
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
775
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
776
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
777
+ def count_customer_report_active_devices(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
778
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countActiveDevices', options)
779
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse::Representation
780
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse
781
+ command.params['customer'] = customer unless customer.nil?
782
+ command.query['date.day'] = date_day unless date_day.nil?
783
+ command.query['date.month'] = date_month unless date_month.nil?
784
+ command.query['date.year'] = date_year unless date_year.nil?
785
+ command.query['fields'] = fields unless fields.nil?
786
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
787
+ execute_or_queue_command(command, &block)
788
+ end
789
+
747
790
  # Count of Chrome Browsers that have been recently enrolled, have new policy to
748
791
  # be synced, or have no recent activity.
749
792
  # @param [String] customer
@@ -994,6 +1037,92 @@ module Google
994
1037
  execute_or_queue_command(command, &block)
995
1038
  end
996
1039
 
1040
+ # Get a count of devices per boot type.
1041
+ # @param [String] customer
1042
+ # Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
1043
+ # my_customer".
1044
+ # @param [Fixnum] date_day
1045
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1046
+ # specify a year by itself or a year and month where the day isn't significant.
1047
+ # @param [Fixnum] date_month
1048
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1049
+ # and day.
1050
+ # @param [Fixnum] date_year
1051
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1052
+ # year.
1053
+ # @param [String] fields
1054
+ # Selector specifying which fields to include in a partial response.
1055
+ # @param [String] quota_user
1056
+ # Available to use for quota purposes for server-side applications. Can be any
1057
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1058
+ # @param [Google::Apis::RequestOptions] options
1059
+ # Request-specific options
1060
+ #
1061
+ # @yield [result, err] Result & error if block supplied
1062
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse] parsed result object
1063
+ # @yieldparam err [StandardError] error object if request failed
1064
+ #
1065
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse]
1066
+ #
1067
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1068
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1069
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1070
+ def count_customer_report_devices_per_boot_type(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
1071
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countDevicesPerBootType', options)
1072
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse::Representation
1073
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse
1074
+ command.params['customer'] = customer unless customer.nil?
1075
+ command.query['date.day'] = date_day unless date_day.nil?
1076
+ command.query['date.month'] = date_month unless date_month.nil?
1077
+ command.query['date.year'] = date_year unless date_year.nil?
1078
+ command.query['fields'] = fields unless fields.nil?
1079
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1080
+ execute_or_queue_command(command, &block)
1081
+ end
1082
+
1083
+ # Get a count of devices per channel.
1084
+ # @param [String] customer
1085
+ # Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
1086
+ # my_customer".
1087
+ # @param [Fixnum] date_day
1088
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
1089
+ # specify a year by itself or a year and month where the day isn't significant.
1090
+ # @param [Fixnum] date_month
1091
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
1092
+ # and day.
1093
+ # @param [Fixnum] date_year
1094
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
1095
+ # year.
1096
+ # @param [String] fields
1097
+ # Selector specifying which fields to include in a partial response.
1098
+ # @param [String] quota_user
1099
+ # Available to use for quota purposes for server-side applications. Can be any
1100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1101
+ # @param [Google::Apis::RequestOptions] options
1102
+ # Request-specific options
1103
+ #
1104
+ # @yield [result, err] Result & error if block supplied
1105
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse] parsed result object
1106
+ # @yieldparam err [StandardError] error object if request failed
1107
+ #
1108
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse]
1109
+ #
1110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1113
+ def count_customer_report_devices_per_release_channel(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
1114
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countDevicesPerReleaseChannel', options)
1115
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse::Representation
1116
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse
1117
+ command.params['customer'] = customer unless customer.nil?
1118
+ command.query['date.day'] = date_day unless date_day.nil?
1119
+ command.query['date.month'] = date_month unless date_month.nil?
1120
+ command.query['date.year'] = date_year unless date_year.nil?
1121
+ command.query['fields'] = fields unless fields.nil?
1122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
+ execute_or_queue_command(command, &block)
1124
+ end
1125
+
997
1126
  # Generate report of app installations.
998
1127
  # @param [String] customer
999
1128
  # Required. Customer id or "my_customer" to use the customer associated to the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.71.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.72.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: