google-apis-chromemanagement_v1 0.17.0 → 0.20.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: e439c8b56e2f8bfb30e943d3581f718d0f2223381800efd3b9a8817d93b3aa1b
4
- data.tar.gz: e09b0df99557890b3f07af68f259d6154e3a21ca60b13ede4e6f18f66010e4ec
3
+ metadata.gz: f2b7196ea8e991d70cbe92692d33141d97d0bd5352180210c934b5bfa7ca3f9f
4
+ data.tar.gz: eb3605caa0f51b9e2e464b1675b2253b90284da807a75f84b841a55efe1a5000
5
5
  SHA512:
6
- metadata.gz: 63bb26da7797c6ce3fcf1384a2ea8f406450cd39da2dd69058cfa0abe38efda5a77a04a18fbed8ff65a393b9edab2cc7cd7f2159ef9d34f2c813e6c767e2a65f
7
- data.tar.gz: 9e9b261f6be4df34993265702530751db2b7b6c744167a3898b2d88b9c41f0f290ae514bfeccb8b7e61b3151ea44742d6671ab19f2d1ebb5050d487a62b784e0
6
+ metadata.gz: 5ccb6b44c240a01c933266df55c499d7db125b9b41a897564cf1334bf11cf9382e5ccf39fa5df9536d6ba03d5f1234328550b7a5f15814172675ddc1b6e2faf9
7
+ data.tar.gz: ccc03b8ec5502630d1caf19c1a3b746180958c39dd5425715e002813406a41662978e64d5e052d6da266f9d6f4d35d647b9be436e3ad246b630b50b3db5ecc2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.20.0 (2022-04-27)
4
+
5
+ * Regenerated from discovery document revision 20220425
6
+
7
+ ### v0.19.0 (2022-04-07)
8
+
9
+ * Regenerated from discovery document revision 20220405
10
+
11
+ ### v0.18.0 (2022-04-02)
12
+
13
+ * Regenerated from discovery document revision 20220331
14
+
3
15
  ### v0.17.0 (2022-03-02)
4
16
 
5
17
  * Regenerated from discovery document revision 20220228
@@ -201,6 +201,63 @@ module Google
201
201
  end
202
202
  end
203
203
 
204
+ # Audio report.
205
+ class GoogleChromeManagementV1AudioStatusReport
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Output only. Active input device's name.
209
+ # Corresponds to the JSON property `inputDevice`
210
+ # @return [String]
211
+ attr_accessor :input_device
212
+
213
+ # Output only. Active input device's gain in [0, 100].
214
+ # Corresponds to the JSON property `inputGain`
215
+ # @return [Fixnum]
216
+ attr_accessor :input_gain
217
+
218
+ # Output only. Is active input device mute or not.
219
+ # Corresponds to the JSON property `inputMute`
220
+ # @return [Boolean]
221
+ attr_accessor :input_mute
222
+ alias_method :input_mute?, :input_mute
223
+
224
+ # Output only. Active output device's name.
225
+ # Corresponds to the JSON property `outputDevice`
226
+ # @return [String]
227
+ attr_accessor :output_device
228
+
229
+ # Output only. Is active output device mute or not.
230
+ # Corresponds to the JSON property `outputMute`
231
+ # @return [Boolean]
232
+ attr_accessor :output_mute
233
+ alias_method :output_mute?, :output_mute
234
+
235
+ # Output only. Active output device's volume in [0, 100].
236
+ # Corresponds to the JSON property `outputVolume`
237
+ # @return [Fixnum]
238
+ attr_accessor :output_volume
239
+
240
+ # Output only. Timestamp of when the sample was collected on device.
241
+ # Corresponds to the JSON property `reportTime`
242
+ # @return [String]
243
+ attr_accessor :report_time
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @input_device = args[:input_device] if args.key?(:input_device)
252
+ @input_gain = args[:input_gain] if args.key?(:input_gain)
253
+ @input_mute = args[:input_mute] if args.key?(:input_mute)
254
+ @output_device = args[:output_device] if args.key?(:output_device)
255
+ @output_mute = args[:output_mute] if args.key?(:output_mute)
256
+ @output_volume = args[:output_volume] if args.key?(:output_volume)
257
+ @report_time = args[:report_time] if args.key?(:report_time)
258
+ end
259
+ end
260
+
204
261
  # Battery info
205
262
  class GoogleChromeManagementV1BatteryInfo
206
263
  include Google::Apis::Core::Hashable
@@ -343,7 +400,8 @@ module Google
343
400
  # @return [String]
344
401
  attr_accessor :report_time
345
402
 
346
- # Output only. Sampling data for the battery.
403
+ # Output only. Sampling data for the battery sorted in a decreasing order of
404
+ # report_time.
347
405
  # Corresponds to the JSON property `sample`
348
406
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatterySampleReport>]
349
407
  attr_accessor :sample
@@ -430,12 +488,24 @@ module Google
430
488
  attr_accessor :is_cws_hosted
431
489
  alias_method :is_cws_hosted?, :is_cws_hosted
432
490
 
491
+ # Output only. Whether the app is only for Kiosk mode on ChromeOS devices
492
+ # Corresponds to the JSON property `isKioskOnly`
493
+ # @return [Boolean]
494
+ attr_accessor :is_kiosk_only
495
+ alias_method :is_kiosk_only?, :is_kiosk_only
496
+
433
497
  # Output only. Whether the app or extension is a theme.
434
498
  # Corresponds to the JSON property `isTheme`
435
499
  # @return [Boolean]
436
500
  attr_accessor :is_theme
437
501
  alias_method :is_theme?, :is_theme
438
502
 
503
+ # Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices
504
+ # Corresponds to the JSON property `kioskEnabled`
505
+ # @return [Boolean]
506
+ attr_accessor :kiosk_enabled
507
+ alias_method :kiosk_enabled?, :kiosk_enabled
508
+
439
509
  # Output only. The minimum number of users using this app.
440
510
  # Corresponds to the JSON property `minUserCount`
441
511
  # @return [Fixnum]
@@ -470,7 +540,9 @@ module Google
470
540
  def update!(**args)
471
541
  @google_owned = args[:google_owned] if args.key?(:google_owned)
472
542
  @is_cws_hosted = args[:is_cws_hosted] if args.key?(:is_cws_hosted)
543
+ @is_kiosk_only = args[:is_kiosk_only] if args.key?(:is_kiosk_only)
473
544
  @is_theme = args[:is_theme] if args.key?(:is_theme)
545
+ @kiosk_enabled = args[:kiosk_enabled] if args.key?(:kiosk_enabled)
474
546
  @min_user_count = args[:min_user_count] if args.key?(:min_user_count)
475
547
  @permissions = args[:permissions] if args.key?(:permissions)
476
548
  @site_access = args[:site_access] if args.key?(:site_access)
@@ -1406,6 +1478,12 @@ module Google
1406
1478
  class GoogleChromeManagementV1TelemetryDevice
1407
1479
  include Google::Apis::Core::Hashable
1408
1480
 
1481
+ # Output only. Audio reports collected periodically sorted in a decreasing order
1482
+ # of report_time.
1483
+ # Corresponds to the JSON property `audioStatusReport`
1484
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport>]
1485
+ attr_accessor :audio_status_report
1486
+
1409
1487
  # Output only. Information on battery specs for the device.
1410
1488
  # Corresponds to the JSON property `batteryInfo`
1411
1489
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryInfo>]
@@ -1421,7 +1499,8 @@ module Google
1421
1499
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuInfo>]
1422
1500
  attr_accessor :cpu_info
1423
1501
 
1424
- # Output only. CPU status reports collected periodically.
1502
+ # Output only. CPU status reports collected periodically sorted in a decreasing
1503
+ # order of report_time.
1425
1504
  # Corresponds to the JSON property `cpuStatusReport`
1426
1505
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CpuStatusReport>]
1427
1506
  attr_accessor :cpu_status_report
@@ -1432,7 +1511,7 @@ module Google
1432
1511
  attr_accessor :customer
1433
1512
 
1434
1513
  # 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
1514
+ # as the Admin Console's Directory API ID in the ChromeOS Devices tab
1436
1515
  # Corresponds to the JSON property `deviceId`
1437
1516
  # @return [String]
1438
1517
  attr_accessor :device_id
@@ -1452,7 +1531,8 @@ module Google
1452
1531
  # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryInfo]
1453
1532
  attr_accessor :memory_info
1454
1533
 
1455
- # Output only. Memory status reports collected periodically.
1534
+ # Output only. Memory status reports collected periodically sorted decreasing by
1535
+ # report_time.
1456
1536
  # Corresponds to the JSON property `memoryStatusReport`
1457
1537
  # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1MemoryStatusReport>]
1458
1538
  attr_accessor :memory_status_report
@@ -1478,7 +1558,7 @@ module Google
1478
1558
  attr_accessor :os_update_status
1479
1559
 
1480
1560
  # Output only. Device serial number. This value is the same as the Admin Console'
1481
- # s Serial Number in the Chrome OS Devices tab.
1561
+ # s Serial Number in the ChromeOS Devices tab.
1482
1562
  # Corresponds to the JSON property `serialNumber`
1483
1563
  # @return [String]
1484
1564
  attr_accessor :serial_number
@@ -1499,6 +1579,7 @@ module Google
1499
1579
 
1500
1580
  # Update properties of this object
1501
1581
  def update!(**args)
1582
+ @audio_status_report = args[:audio_status_report] if args.key?(:audio_status_report)
1502
1583
  @battery_info = args[:battery_info] if args.key?(:battery_info)
1503
1584
  @battery_status_report = args[:battery_status_report] if args.key?(:battery_status_report)
1504
1585
  @cpu_info = args[:cpu_info] if args.key?(:cpu_info)
@@ -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.17.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220228"
25
+ REVISION = "20220425"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleChromeManagementV1AudioStatusReport
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleChromeManagementV1BatteryInfo
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -281,6 +287,19 @@ module Google
281
287
  end
282
288
  end
283
289
 
290
+ class GoogleChromeManagementV1AudioStatusReport
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ property :input_device, as: 'inputDevice'
294
+ property :input_gain, as: 'inputGain'
295
+ property :input_mute, as: 'inputMute'
296
+ property :output_device, as: 'outputDevice'
297
+ property :output_mute, as: 'outputMute'
298
+ property :output_volume, as: 'outputVolume'
299
+ property :report_time, as: 'reportTime'
300
+ end
301
+ end
302
+
284
303
  class GoogleChromeManagementV1BatteryInfo
285
304
  # @private
286
305
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,7 +356,9 @@ module Google
337
356
  class Representation < Google::Apis::Core::JsonRepresentation
338
357
  property :google_owned, as: 'googleOwned'
339
358
  property :is_cws_hosted, as: 'isCwsHosted'
359
+ property :is_kiosk_only, as: 'isKioskOnly'
340
360
  property :is_theme, as: 'isTheme'
361
+ property :kiosk_enabled, as: 'kioskEnabled'
341
362
  property :min_user_count, as: 'minUserCount'
342
363
  collection :permissions, as: 'permissions', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppPermission::Representation
343
364
 
@@ -606,6 +627,8 @@ module Google
606
627
  class GoogleChromeManagementV1TelemetryDevice
607
628
  # @private
608
629
  class Representation < Google::Apis::Core::JsonRepresentation
630
+ collection :audio_status_report, as: 'audioStatusReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport::Representation
631
+
609
632
  collection :battery_info, as: 'batteryInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryInfo::Representation
610
633
 
611
634
  collection :battery_status_report, as: 'batteryStatusReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryStatusReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1BatteryStatusReport::Representation
@@ -355,7 +355,7 @@ module Google
355
355
  # account making the request.
356
356
  # @param [String] filter
357
357
  # Optional. Only include resources that match the filter. Supported filter
358
- # fields: - org_unit_id - serial_number
358
+ # fields: - org_unit_id - serial_number - device_id
359
359
  # @param [Fixnum] page_size
360
360
  # Maximum number of results to return. Default value is 100. Maximum value is
361
361
  # 200.
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.17.0
4
+ version: 0.20.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-03-07 00:00:00.000000000 Z
11
+ date: 2022-05-02 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.20.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: []