google-apis-chromemanagement_v1 0.25.0 → 0.26.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 +5 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +114 -2
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/chromemanagement_v1/representations.rb +48 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +87 -0
- 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: 156c39783ba13ae37d379ab14d196af06b7a6f5e39034dbe8f20b5b9746249bb
|
4
|
+
data.tar.gz: 3d9979e87513a6b5b1c6cdf140517c824a5d60052fb3b3472ef885a66fba4044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2326487a493d0cee3f0bcc1a7e4fec991c9c4a7361e2fc5b82b659b99d1c2d83ccc874bb23632428b6dd1f0fdc86597023897dbe6920ea5bfdf63a9d456170b
|
7
|
+
data.tar.gz: a421c4ae5ea6475075f22187c5cc56d35e220229c2d1df9f4624211ae0430d112e2c7db5148251626bcda4e90763d81de1b97120a129a7d2c4b193113bb6a7fa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.26.0 (2022-07-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220711
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
3
8
|
### v0.25.0 (2022-07-03)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220630
|
@@ -692,6 +692,71 @@ module Google
|
|
692
692
|
end
|
693
693
|
end
|
694
694
|
|
695
|
+
# Response containing a list of devices expiring in each month of a selected
|
696
|
+
# time frame. Counts are grouped by model and Auto Update Expiration date.
|
697
|
+
class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
|
698
|
+
include Google::Apis::Core::Hashable
|
699
|
+
|
700
|
+
# The list of reports sorted by auto update expiration date in ascending order.
|
701
|
+
# Corresponds to the JSON property `deviceAueCountReports`
|
702
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceAueCountReport>]
|
703
|
+
attr_accessor :device_aue_count_reports
|
704
|
+
|
705
|
+
def initialize(**args)
|
706
|
+
update!(**args)
|
707
|
+
end
|
708
|
+
|
709
|
+
# Update properties of this object
|
710
|
+
def update!(**args)
|
711
|
+
@device_aue_count_reports = args[:device_aue_count_reports] if args.key?(:device_aue_count_reports)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
# Response containing counts for devices that need attention.
|
716
|
+
class GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse
|
717
|
+
include Google::Apis::Core::Hashable
|
718
|
+
|
719
|
+
# Number of ChromeOS devices have not synced policies in the past 28 days.
|
720
|
+
# Corresponds to the JSON property `noRecentPolicySyncCount`
|
721
|
+
# @return [Fixnum]
|
722
|
+
attr_accessor :no_recent_policy_sync_count
|
723
|
+
|
724
|
+
# Number of ChromeOS devices that have not seen any user activity in the past 28
|
725
|
+
# days.
|
726
|
+
# Corresponds to the JSON property `noRecentUserActivityCount`
|
727
|
+
# @return [Fixnum]
|
728
|
+
attr_accessor :no_recent_user_activity_count
|
729
|
+
|
730
|
+
# Number of devices whose OS version is not compliant.
|
731
|
+
# Corresponds to the JSON property `osVersionNotCompliantCount`
|
732
|
+
# @return [Fixnum]
|
733
|
+
attr_accessor :os_version_not_compliant_count
|
734
|
+
|
735
|
+
# Number of devices that are pending an OS update.
|
736
|
+
# Corresponds to the JSON property `pendingUpdate`
|
737
|
+
# @return [Fixnum]
|
738
|
+
attr_accessor :pending_update
|
739
|
+
|
740
|
+
# Number of devices that are unable to apply a policy due to an OS version
|
741
|
+
# mismatch.
|
742
|
+
# Corresponds to the JSON property `unsupportedPolicyCount`
|
743
|
+
# @return [Fixnum]
|
744
|
+
attr_accessor :unsupported_policy_count
|
745
|
+
|
746
|
+
def initialize(**args)
|
747
|
+
update!(**args)
|
748
|
+
end
|
749
|
+
|
750
|
+
# Update properties of this object
|
751
|
+
def update!(**args)
|
752
|
+
@no_recent_policy_sync_count = args[:no_recent_policy_sync_count] if args.key?(:no_recent_policy_sync_count)
|
753
|
+
@no_recent_user_activity_count = args[:no_recent_user_activity_count] if args.key?(:no_recent_user_activity_count)
|
754
|
+
@os_version_not_compliant_count = args[:os_version_not_compliant_count] if args.key?(:os_version_not_compliant_count)
|
755
|
+
@pending_update = args[:pending_update] if args.key?(:pending_update)
|
756
|
+
@unsupported_policy_count = args[:unsupported_policy_count] if args.key?(:unsupported_policy_count)
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
695
760
|
# Response containing requested browser versions details and counts.
|
696
761
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
697
762
|
include Google::Apis::Core::Hashable
|
@@ -890,6 +955,53 @@ module Google
|
|
890
955
|
end
|
891
956
|
end
|
892
957
|
|
958
|
+
# Report for CountChromeDevicesPerAueDateResponse, contains the count of devices
|
959
|
+
# of a specific model and auto update expiration range.
|
960
|
+
class GoogleChromeManagementV1DeviceAueCountReport
|
961
|
+
include Google::Apis::Core::Hashable
|
962
|
+
|
963
|
+
# Enum value of month corresponding to the auto update expiration date in UTC
|
964
|
+
# time zone. If the device is already expired, this field is empty.
|
965
|
+
# Corresponds to the JSON property `aueMonth`
|
966
|
+
# @return [String]
|
967
|
+
attr_accessor :aue_month
|
968
|
+
|
969
|
+
# Int value of year corresponding to the Auto Update Expiration date in UTC time
|
970
|
+
# zone. If the device is already expired, this field is empty.
|
971
|
+
# Corresponds to the JSON property `aueYear`
|
972
|
+
# @return [Fixnum]
|
973
|
+
attr_accessor :aue_year
|
974
|
+
|
975
|
+
# Count of devices of this model.
|
976
|
+
# Corresponds to the JSON property `count`
|
977
|
+
# @return [Fixnum]
|
978
|
+
attr_accessor :count
|
979
|
+
|
980
|
+
# Boolean value for whether or not the device has already expired.
|
981
|
+
# Corresponds to the JSON property `expired`
|
982
|
+
# @return [Boolean]
|
983
|
+
attr_accessor :expired
|
984
|
+
alias_method :expired?, :expired
|
985
|
+
|
986
|
+
# Public model name of the devices.
|
987
|
+
# Corresponds to the JSON property `model`
|
988
|
+
# @return [String]
|
989
|
+
attr_accessor :model
|
990
|
+
|
991
|
+
def initialize(**args)
|
992
|
+
update!(**args)
|
993
|
+
end
|
994
|
+
|
995
|
+
# Update properties of this object
|
996
|
+
def update!(**args)
|
997
|
+
@aue_month = args[:aue_month] if args.key?(:aue_month)
|
998
|
+
@aue_year = args[:aue_year] if args.key?(:aue_year)
|
999
|
+
@count = args[:count] if args.key?(:count)
|
1000
|
+
@expired = args[:expired] if args.key?(:expired)
|
1001
|
+
@model = args[:model] if args.key?(:model)
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
893
1005
|
# Status of the single storage device.
|
894
1006
|
class GoogleChromeManagementV1DiskInfo
|
895
1007
|
include Google::Apis::Core::Hashable
|
@@ -1470,7 +1582,7 @@ module Google
|
|
1470
1582
|
# @return [String]
|
1471
1583
|
attr_accessor :lan_ip_address
|
1472
1584
|
|
1473
|
-
# Output only. Receiving bit rate measured in
|
1585
|
+
# Output only. Receiving bit rate measured in Megabits per second.
|
1474
1586
|
# Corresponds to the JSON property `receivingBitRateMbps`
|
1475
1587
|
# @return [Fixnum]
|
1476
1588
|
attr_accessor :receiving_bit_rate_mbps
|
@@ -1490,7 +1602,7 @@ module Google
|
|
1490
1602
|
# @return [Fixnum]
|
1491
1603
|
attr_accessor :signal_strength_dbm
|
1492
1604
|
|
1493
|
-
# Output only. Transmission bit rate measured in
|
1605
|
+
# Output only. Transmission bit rate measured in Megabits per second.
|
1494
1606
|
# Corresponds to the JSON property `transmissionBitRateMbps`
|
1495
1607
|
# @return [Fixnum]
|
1496
1608
|
attr_accessor :transmission_bit_rate_mbps
|
@@ -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.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,18 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -136,6 +148,12 @@ module Google
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
137
149
|
end
|
138
150
|
|
151
|
+
class GoogleChromeManagementV1DeviceAueCountReport
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
139
157
|
class GoogleChromeManagementV1DiskInfo
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
@@ -443,6 +461,25 @@ module Google
|
|
443
461
|
end
|
444
462
|
end
|
445
463
|
|
464
|
+
class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
collection :device_aue_count_reports, as: 'deviceAueCountReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceAueCountReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DeviceAueCountReport::Representation
|
468
|
+
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
property :no_recent_policy_sync_count, :numeric_string => true, as: 'noRecentPolicySyncCount'
|
476
|
+
property :no_recent_user_activity_count, :numeric_string => true, as: 'noRecentUserActivityCount'
|
477
|
+
property :os_version_not_compliant_count, :numeric_string => true, as: 'osVersionNotCompliantCount'
|
478
|
+
property :pending_update, :numeric_string => true, as: 'pendingUpdate'
|
479
|
+
property :unsupported_policy_count, :numeric_string => true, as: 'unsupportedPolicyCount'
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
446
483
|
class GoogleChromeManagementV1CountChromeVersionsResponse
|
447
484
|
# @private
|
448
485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -501,6 +538,17 @@ module Google
|
|
501
538
|
end
|
502
539
|
end
|
503
540
|
|
541
|
+
class GoogleChromeManagementV1DeviceAueCountReport
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :aue_month, as: 'aueMonth'
|
545
|
+
property :aue_year, :numeric_string => true, as: 'aueYear'
|
546
|
+
property :count, :numeric_string => true, as: 'count'
|
547
|
+
property :expired, as: 'expired'
|
548
|
+
property :model, as: 'model'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
504
552
|
class GoogleChromeManagementV1DiskInfo
|
505
553
|
# @private
|
506
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -198,6 +198,93 @@ module Google
|
|
198
198
|
execute_or_queue_command(command, &block)
|
199
199
|
end
|
200
200
|
|
201
|
+
# Generate report of the number of devices expiring in each month of the
|
202
|
+
# selected time frame. Devices are grouped by auto update expiration date and
|
203
|
+
# model. Further information can be found [here](https://support.google.com/
|
204
|
+
# chrome/a/answer/10564947).
|
205
|
+
# @param [String] customer
|
206
|
+
# Required. The customer ID or "my_customer" prefixed with "customers/".
|
207
|
+
# @param [String] max_aue_date
|
208
|
+
# Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If
|
209
|
+
# included returns all devices that have already expired and devices with auto
|
210
|
+
# expiration date equal to or earlier than the maximum date.
|
211
|
+
# @param [String] min_aue_date
|
212
|
+
# Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If
|
213
|
+
# included returns all devices that have already expired and devices with auto
|
214
|
+
# expiration date equal to or later than the minimum date.
|
215
|
+
# @param [String] org_unit_id
|
216
|
+
# Optional. The organizational unit ID, if omitted, will return data for all
|
217
|
+
# organizational units.
|
218
|
+
# @param [String] fields
|
219
|
+
# Selector specifying which fields to include in a partial response.
|
220
|
+
# @param [String] quota_user
|
221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
223
|
+
# @param [Google::Apis::RequestOptions] options
|
224
|
+
# Request-specific options
|
225
|
+
#
|
226
|
+
# @yield [result, err] Result & error if block supplied
|
227
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse] parsed result object
|
228
|
+
# @yieldparam err [StandardError] error object if request failed
|
229
|
+
#
|
230
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse]
|
231
|
+
#
|
232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
235
|
+
def count_customer_report_chrome_devices_reaching_auto_expiration_date(customer, max_aue_date: nil, min_aue_date: nil, org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
236
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeDevicesReachingAutoExpirationDate', options)
|
237
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse::Representation
|
238
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
|
239
|
+
command.params['customer'] = customer unless customer.nil?
|
240
|
+
command.query['maxAueDate'] = max_aue_date unless max_aue_date.nil?
|
241
|
+
command.query['minAueDate'] = min_aue_date unless min_aue_date.nil?
|
242
|
+
command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
|
243
|
+
command.query['fields'] = fields unless fields.nil?
|
244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
245
|
+
execute_or_queue_command(command, &block)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Counts of ChromeOS devices that have not synced policies or have lacked user
|
249
|
+
# activity in the past 28 days, are out of date, or are not complaint. Further
|
250
|
+
# information can be found here https://support.google.com/chrome/a/answer/
|
251
|
+
# 10564947
|
252
|
+
# @param [String] customer
|
253
|
+
# Required. The customer ID or "my_customer" prefixed with "customers/".
|
254
|
+
# @param [String] org_unit_id
|
255
|
+
# Optional. The ID of the organizational unit. If omitted, all data will be
|
256
|
+
# returned.
|
257
|
+
# @param [String] read_mask
|
258
|
+
# Required. Mask of the fields that should be populated in the returned report.
|
259
|
+
# @param [String] fields
|
260
|
+
# Selector specifying which fields to include in a partial response.
|
261
|
+
# @param [String] quota_user
|
262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
264
|
+
# @param [Google::Apis::RequestOptions] options
|
265
|
+
# Request-specific options
|
266
|
+
#
|
267
|
+
# @yield [result, err] Result & error if block supplied
|
268
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse] parsed result object
|
269
|
+
# @yieldparam err [StandardError] error object if request failed
|
270
|
+
#
|
271
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse]
|
272
|
+
#
|
273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
276
|
+
def count_customer_report_chrome_devices_that_need_attention(customer, org_unit_id: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
277
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeDevicesThatNeedAttention', options)
|
278
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse::Representation
|
279
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse
|
280
|
+
command.params['customer'] = customer unless customer.nil?
|
281
|
+
command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
|
282
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
283
|
+
command.query['fields'] = fields unless fields.nil?
|
284
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
285
|
+
execute_or_queue_command(command, &block)
|
286
|
+
end
|
287
|
+
|
201
288
|
# Generate report of installed Chrome versions.
|
202
289
|
# @param [String] customer
|
203
290
|
# Required. Customer id or "my_customer" to use the customer associated to the
|
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.26.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: 2022-07-
|
11
|
+
date: 2022-07-18 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.26.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: []
|