google-apis-chromemanagement_v1 0.31.0 → 0.33.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: 9926e6402cdf5eae667e12e94c080fb3030d11cb0f96fb1515dc412d73745198
4
- data.tar.gz: 98258369e254a653d78b5b1d99c843d8f13f6b508ca9fc13aec6e18edb4159b4
3
+ metadata.gz: '09725515d79389becd788197fb63fc2578389f25ac90f87c53aca58a45b4e7dd'
4
+ data.tar.gz: 50d7095392335a01649de975038d139727b4e52a803b334f43b5be387028ad30
5
5
  SHA512:
6
- metadata.gz: f2edbbc30a7a8ff5bddf364e3fbc03d88d9edf25dd1045048268e1ee6cb53ef64baf10b316a81c90fdbe1e2cb3a0c7f358a3dcca91a736992c2d0be256cf4a87
7
- data.tar.gz: b1250c6e4eb8c9d2c64a24d12f88c0fcd44c4403938adbedc882d47ed510d3092eebac1728777169e37e31870ed35a8ca42c22e841875e80c02a53c8a8f8c81a
6
+ metadata.gz: 97f036ceca15d87893a3f6143423d83df6b5766a8dd68d6e2ad7559ae2676f1a95b4b8dff49aa14e459dafcd02cc750ce7a8b35c618b6bcbfcdd69fcb6426e2c
7
+ data.tar.gz: dc8d7d1da1b772c784bd597fd69cd0a210e5303b2b9db4d15677a3010ba204c8725651abe56399da6d43b2dc18a814120cb5b2c0ffe912202247604e71a0268e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.33.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230127
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.32.0 (2023-01-04)
9
+
10
+ * Regenerated from discovery document revision 20230102
11
+
3
12
  ### v0.31.0 (2022-11-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20221126
@@ -622,6 +622,11 @@ module Google
622
622
  attr_accessor :support_enabled
623
623
  alias_method :support_enabled?, :support_enabled
624
624
 
625
+ # Output only. Types of an item in the Chrome Web Store
626
+ # Corresponds to the JSON property `type`
627
+ # @return [String]
628
+ attr_accessor :type
629
+
625
630
  def initialize(**args)
626
631
  update!(**args)
627
632
  end
@@ -638,6 +643,7 @@ module Google
638
643
  @permissions = args[:permissions] if args.key?(:permissions)
639
644
  @site_access = args[:site_access] if args.key?(:site_access)
640
645
  @support_enabled = args[:support_enabled] if args.key?(:support_enabled)
646
+ @type = args[:type] if args.key?(:type)
641
647
  end
642
648
  end
643
649
 
@@ -1420,7 +1426,7 @@ module Google
1420
1426
  # and this will change over time as the device is utilized. * Data for this
1421
1427
  # field is controlled via policy: [ReportDeviceGraphicsInfo](https://
1422
1428
  # chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection
1423
- # Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy
1429
+ # Frequency: 3 hours. * Default Data Reporting Frequency: 3 hours - Policy
1424
1430
  # Controlled: Yes * Cache: If the device is offline, the collected data is
1425
1431
  # stored locally, and will be reported when the device is next online: No *
1426
1432
  # Reported for affiliated users only: N/A
@@ -1607,6 +1613,31 @@ module Google
1607
1613
  end
1608
1614
  end
1609
1615
 
1616
+ # Response message for listing telemetry users for a customer.
1617
+ class GoogleChromeManagementV1ListTelemetryUsersResponse
1618
+ include Google::Apis::Core::Hashable
1619
+
1620
+ # Token to specify next page in the list.
1621
+ # Corresponds to the JSON property `nextPageToken`
1622
+ # @return [String]
1623
+ attr_accessor :next_page_token
1624
+
1625
+ # Telemetry users returned in the response.
1626
+ # Corresponds to the JSON property `telemetryUsers`
1627
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser>]
1628
+ attr_accessor :telemetry_users
1629
+
1630
+ def initialize(**args)
1631
+ update!(**args)
1632
+ end
1633
+
1634
+ # Update properties of this object
1635
+ def update!(**args)
1636
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1637
+ @telemetry_users = args[:telemetry_users] if args.key?(:telemetry_users)
1638
+ end
1639
+ end
1640
+
1610
1641
  # Memory information of a device. * This field has both telemetry and device
1611
1642
  # information: - `totalRamBytes` - Device information - `availableRamBytes` -
1612
1643
  # Telemetry information - `totalMemoryEncryption` - Device information * Data
@@ -1980,6 +2011,31 @@ module Google
1980
2011
  end
1981
2012
  end
1982
2013
 
2014
+ # Peripherals report.
2015
+ class GoogleChromeManagementV1PeripheralsReport
2016
+ include Google::Apis::Core::Hashable
2017
+
2018
+ # Output only. Timestamp of when the report was collected.
2019
+ # Corresponds to the JSON property `reportTime`
2020
+ # @return [String]
2021
+ attr_accessor :report_time
2022
+
2023
+ # Reports of all usb connected devices.
2024
+ # Corresponds to the JSON property `usbPeripheralReport`
2025
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport>]
2026
+ attr_accessor :usb_peripheral_report
2027
+
2028
+ def initialize(**args)
2029
+ update!(**args)
2030
+ end
2031
+
2032
+ # Update properties of this object
2033
+ def update!(**args)
2034
+ @report_time = args[:report_time] if args.key?(:report_time)
2035
+ @usb_peripheral_report = args[:usb_peripheral_report] if args.key?(:usb_peripheral_report)
2036
+ end
2037
+ end
2038
+
1983
2039
  # Status data for storage. * This field is telemetry information and this will
1984
2040
  # change over time as the device is utilized. * Data for this field is
1985
2041
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -2335,17 +2391,17 @@ module Google
2335
2391
  # @return [String]
2336
2392
  attr_accessor :name
2337
2393
 
2338
- # `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2339
- # connection state changes.
2340
- # Corresponds to the JSON property `networkConnectionStateChangeEvent`
2341
- # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent]
2342
- attr_accessor :network_connection_state_change_event
2343
-
2344
2394
  # Timestamp that represents when the event was reported.
2345
2395
  # Corresponds to the JSON property `reportTime`
2346
2396
  # @return [String]
2347
2397
  attr_accessor :report_time
2348
2398
 
2399
+ # `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
2400
+ # removed.
2401
+ # Corresponds to the JSON property `usbPeripheralsEvent`
2402
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent]
2403
+ attr_accessor :usb_peripherals_event
2404
+
2349
2405
  # Information about a user associated with telemetry data.
2350
2406
  # Corresponds to the JSON property `user`
2351
2407
  # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo]
@@ -2362,8 +2418,8 @@ module Google
2362
2418
  @event_type = args[:event_type] if args.key?(:event_type)
2363
2419
  @https_latency_change_event = args[:https_latency_change_event] if args.key?(:https_latency_change_event)
2364
2420
  @name = args[:name] if args.key?(:name)
2365
- @network_connection_state_change_event = args[:network_connection_state_change_event] if args.key?(:network_connection_state_change_event)
2366
2421
  @report_time = args[:report_time] if args.key?(:report_time)
2422
+ @usb_peripherals_event = args[:usb_peripherals_event] if args.key?(:usb_peripherals_event)
2367
2423
  @user = args[:user] if args.key?(:user)
2368
2424
  end
2369
2425
  end
@@ -2396,20 +2452,59 @@ module Google
2396
2452
  end
2397
2453
  end
2398
2454
 
2399
- # `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2400
- # connection state changes.
2401
- class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
2455
+ # `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
2456
+ # removed.
2457
+ class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
2402
2458
  include Google::Apis::Core::Hashable
2403
2459
 
2404
- # Current connection state of the network.
2405
- # Corresponds to the JSON property `connectionState`
2460
+ # List of usb devices that were either added or removed.
2461
+ # Corresponds to the JSON property `usbPeripheralReport`
2462
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport>]
2463
+ attr_accessor :usb_peripheral_report
2464
+
2465
+ def initialize(**args)
2466
+ update!(**args)
2467
+ end
2468
+
2469
+ # Update properties of this object
2470
+ def update!(**args)
2471
+ @usb_peripheral_report = args[:usb_peripheral_report] if args.key?(:usb_peripheral_report)
2472
+ end
2473
+ end
2474
+
2475
+ # Telemetry data collected from a managed user.
2476
+ class GoogleChromeManagementV1TelemetryUser
2477
+ include Google::Apis::Core::Hashable
2478
+
2479
+ # G Suite Customer whose enterprise enrolled the device.
2480
+ # Corresponds to the JSON property `customer`
2406
2481
  # @return [String]
2407
- attr_accessor :connection_state
2482
+ attr_accessor :customer
2408
2483
 
2409
- # Unique identifier of the network.
2410
- # Corresponds to the JSON property `guid`
2484
+ # Resource name of the user.
2485
+ # Corresponds to the JSON property `name`
2411
2486
  # @return [String]
2412
- attr_accessor :guid
2487
+ attr_accessor :name
2488
+
2489
+ # Organization unit of the user.
2490
+ # Corresponds to the JSON property `orgUnitId`
2491
+ # @return [String]
2492
+ attr_accessor :org_unit_id
2493
+
2494
+ # Telemetry data collected from a managed user and device.
2495
+ # Corresponds to the JSON property `userDevice`
2496
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice>]
2497
+ attr_accessor :user_device
2498
+
2499
+ # Email address of the user.
2500
+ # Corresponds to the JSON property `userEmail`
2501
+ # @return [String]
2502
+ attr_accessor :user_email
2503
+
2504
+ # Directory ID of the user.
2505
+ # Corresponds to the JSON property `userId`
2506
+ # @return [String]
2507
+ attr_accessor :user_id
2413
2508
 
2414
2509
  def initialize(**args)
2415
2510
  update!(**args)
@@ -2417,8 +2512,46 @@ module Google
2417
2512
 
2418
2513
  # Update properties of this object
2419
2514
  def update!(**args)
2420
- @connection_state = args[:connection_state] if args.key?(:connection_state)
2421
- @guid = args[:guid] if args.key?(:guid)
2515
+ @customer = args[:customer] if args.key?(:customer)
2516
+ @name = args[:name] if args.key?(:name)
2517
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
2518
+ @user_device = args[:user_device] if args.key?(:user_device)
2519
+ @user_email = args[:user_email] if args.key?(:user_email)
2520
+ @user_id = args[:user_id] if args.key?(:user_id)
2521
+ end
2522
+ end
2523
+
2524
+ # Telemetry data collected for a managed user and device.
2525
+ class GoogleChromeManagementV1TelemetryUserDevice
2526
+ include Google::Apis::Core::Hashable
2527
+
2528
+ # Output only. Audio reports collected periodically sorted in a decreasing order
2529
+ # of report_time.
2530
+ # Corresponds to the JSON property `audioStatusReport`
2531
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport>]
2532
+ attr_accessor :audio_status_report
2533
+
2534
+ # The unique Directory API ID of the device. This value is the same as the Admin
2535
+ # Console's Directory API ID in the ChromeOS Devices tab.
2536
+ # Corresponds to the JSON property `deviceId`
2537
+ # @return [String]
2538
+ attr_accessor :device_id
2539
+
2540
+ # Output only. Peripherals reports collected periodically sorted in a decreasing
2541
+ # order of report_time.
2542
+ # Corresponds to the JSON property `peripheralsReport`
2543
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport>]
2544
+ attr_accessor :peripherals_report
2545
+
2546
+ def initialize(**args)
2547
+ update!(**args)
2548
+ end
2549
+
2550
+ # Update properties of this object
2551
+ def update!(**args)
2552
+ @audio_status_report = args[:audio_status_report] if args.key?(:audio_status_report)
2553
+ @device_id = args[:device_id] if args.key?(:device_id)
2554
+ @peripherals_report = args[:peripherals_report] if args.key?(:peripherals_report)
2422
2555
  end
2423
2556
  end
2424
2557
 
@@ -2517,6 +2650,68 @@ module Google
2517
2650
  end
2518
2651
  end
2519
2652
 
2653
+ # USB connected peripheral report.
2654
+ class GoogleChromeManagementV1UsbPeripheralReport
2655
+ include Google::Apis::Core::Hashable
2656
+
2657
+ # Output only. Categories the device belongs to https://www.usb.org/defined-
2658
+ # class-codes
2659
+ # Corresponds to the JSON property `categories`
2660
+ # @return [Array<String>]
2661
+ attr_accessor :categories
2662
+
2663
+ # Output only. Class ID https://www.usb.org/defined-class-codes
2664
+ # Corresponds to the JSON property `classId`
2665
+ # @return [Fixnum]
2666
+ attr_accessor :class_id
2667
+
2668
+ # Output only. Firmware version
2669
+ # Corresponds to the JSON property `firmwareVersion`
2670
+ # @return [String]
2671
+ attr_accessor :firmware_version
2672
+
2673
+ # Output only. Device name, model name, or product name
2674
+ # Corresponds to the JSON property `name`
2675
+ # @return [String]
2676
+ attr_accessor :name
2677
+
2678
+ # Output only. Product ID
2679
+ # Corresponds to the JSON property `pid`
2680
+ # @return [Fixnum]
2681
+ attr_accessor :pid
2682
+
2683
+ # Output only. Subclass ID https://www.usb.org/defined-class-codes
2684
+ # Corresponds to the JSON property `subclassId`
2685
+ # @return [Fixnum]
2686
+ attr_accessor :subclass_id
2687
+
2688
+ # Output only. Vendor name
2689
+ # Corresponds to the JSON property `vendor`
2690
+ # @return [String]
2691
+ attr_accessor :vendor
2692
+
2693
+ # Output only. Vendor ID
2694
+ # Corresponds to the JSON property `vid`
2695
+ # @return [Fixnum]
2696
+ attr_accessor :vid
2697
+
2698
+ def initialize(**args)
2699
+ update!(**args)
2700
+ end
2701
+
2702
+ # Update properties of this object
2703
+ def update!(**args)
2704
+ @categories = args[:categories] if args.key?(:categories)
2705
+ @class_id = args[:class_id] if args.key?(:class_id)
2706
+ @firmware_version = args[:firmware_version] if args.key?(:firmware_version)
2707
+ @name = args[:name] if args.key?(:name)
2708
+ @pid = args[:pid] if args.key?(:pid)
2709
+ @subclass_id = args[:subclass_id] if args.key?(:subclass_id)
2710
+ @vendor = args[:vendor] if args.key?(:vendor)
2711
+ @vid = args[:vid] if args.key?(:vid)
2712
+ end
2713
+ end
2714
+
2520
2715
  # The `Status` type defines a logical error model that is suitable for different
2521
2716
  # programming environments, including REST APIs and RPC APIs. It is used by [
2522
2717
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221126"
25
+ REVISION = "20230127"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class GoogleChromeManagementV1ListTelemetryUsersResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class GoogleChromeManagementV1MemoryInfo
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class GoogleChromeManagementV1PeripheralsReport
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class GoogleChromeManagementV1StorageInfo
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -322,7 +334,19 @@ module Google
322
334
  include Google::Apis::Core::JsonObjectSupport
323
335
  end
324
336
 
325
- class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
337
+ class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleChromeManagementV1TelemetryUser
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleChromeManagementV1TelemetryUserDevice
326
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
351
 
328
352
  include Google::Apis::Core::JsonObjectSupport
@@ -346,6 +370,12 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class GoogleChromeManagementV1UsbPeripheralReport
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
349
379
  class GoogleRpcStatus
350
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
381
 
@@ -492,6 +522,7 @@ module Google
492
522
  collection :site_access, as: 'siteAccess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ChromeAppSiteAccess::Representation
493
523
 
494
524
  property :support_enabled, as: 'supportEnabled'
525
+ property :type, as: 'type'
495
526
  end
496
527
  end
497
528
 
@@ -753,6 +784,15 @@ module Google
753
784
  end
754
785
  end
755
786
 
787
+ class GoogleChromeManagementV1ListTelemetryUsersResponse
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :next_page_token, as: 'nextPageToken'
791
+ collection :telemetry_users, as: 'telemetryUsers', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser::Representation
792
+
793
+ end
794
+ end
795
+
756
796
  class GoogleChromeManagementV1MemoryInfo
757
797
  # @private
758
798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -834,6 +874,15 @@ module Google
834
874
  end
835
875
  end
836
876
 
877
+ class GoogleChromeManagementV1PeripheralsReport
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :report_time, as: 'reportTime'
881
+ collection :usb_peripheral_report, as: 'usbPeripheralReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport::Representation
882
+
883
+ end
884
+ end
885
+
837
886
  class GoogleChromeManagementV1StorageInfo
838
887
  # @private
839
888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -932,9 +981,9 @@ module Google
932
981
  property :https_latency_change_event, as: 'httpsLatencyChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent::Representation
933
982
 
934
983
  property :name, as: 'name'
935
- property :network_connection_state_change_event, as: 'networkConnectionStateChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent::Representation
936
-
937
984
  property :report_time, as: 'reportTime'
985
+ property :usb_peripherals_event, as: 'usbPeripheralsEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent::Representation
986
+
938
987
  property :user, as: 'user', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo::Representation
939
988
 
940
989
  end
@@ -949,11 +998,35 @@ module Google
949
998
  end
950
999
  end
951
1000
 
952
- class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
1001
+ class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
953
1002
  # @private
954
1003
  class Representation < Google::Apis::Core::JsonRepresentation
955
- property :connection_state, as: 'connectionState'
956
- property :guid, as: 'guid'
1004
+ collection :usb_peripheral_report, as: 'usbPeripheralReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UsbPeripheralReport::Representation
1005
+
1006
+ end
1007
+ end
1008
+
1009
+ class GoogleChromeManagementV1TelemetryUser
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ property :customer, as: 'customer'
1013
+ property :name, as: 'name'
1014
+ property :org_unit_id, as: 'orgUnitId'
1015
+ collection :user_device, as: 'userDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserDevice::Representation
1016
+
1017
+ property :user_email, as: 'userEmail'
1018
+ property :user_id, as: 'userId'
1019
+ end
1020
+ end
1021
+
1022
+ class GoogleChromeManagementV1TelemetryUserDevice
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ collection :audio_status_report, as: 'audioStatusReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1AudioStatusReport::Representation
1026
+
1027
+ property :device_id, as: 'deviceId'
1028
+ collection :peripherals_report, as: 'peripheralsReport', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PeripheralsReport::Representation
1029
+
957
1030
  end
958
1031
  end
959
1032
 
@@ -982,6 +1055,20 @@ module Google
982
1055
  end
983
1056
  end
984
1057
 
1058
+ class GoogleChromeManagementV1UsbPeripheralReport
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ collection :categories, as: 'categories'
1062
+ property :class_id, as: 'classId'
1063
+ property :firmware_version, as: 'firmwareVersion'
1064
+ property :name, as: 'name'
1065
+ property :pid, as: 'pid'
1066
+ property :subclass_id, as: 'subclassId'
1067
+ property :vendor, as: 'vendor'
1068
+ property :vid, as: 'vid'
1069
+ end
1070
+ end
1071
+
985
1072
  class GoogleRpcStatus
986
1073
  # @private
987
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -559,8 +559,9 @@ module Google
559
559
  # account making the request.
560
560
  # @param [String] filter
561
561
  # Optional. Only include resources that match the filter. Supported filter
562
- # fields: * device_id * user_id * device_org_unit_id * user_org_unit_id *
563
- # timestamp * event_type
562
+ # fields: - device_id - user_id - device_org_unit_id - user_org_unit_id -
563
+ # timestamp - event_type The "timestamp" filter accepts either Epoch
564
+ # milliseconds or RFC 3339 formatted time surrounded by simple double quotes.
564
565
  # @param [Fixnum] page_size
565
566
  # Optional. Maximum number of results to return. Default value is 100. Maximum
566
567
  # value is 1000.
@@ -598,6 +599,84 @@ module Google
598
599
  command.query['quotaUser'] = quota_user unless quota_user.nil?
599
600
  execute_or_queue_command(command, &block)
600
601
  end
602
+
603
+ # Get telemetry user.
604
+ # @param [String] name
605
+ # Required. Name of the `TelemetryUser` to return.
606
+ # @param [String] read_mask
607
+ # Read mask to specify which fields to return.
608
+ # @param [String] fields
609
+ # Selector specifying which fields to include in a partial response.
610
+ # @param [String] quota_user
611
+ # Available to use for quota purposes for server-side applications. Can be any
612
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
613
+ # @param [Google::Apis::RequestOptions] options
614
+ # Request-specific options
615
+ #
616
+ # @yield [result, err] Result & error if block supplied
617
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser] parsed result object
618
+ # @yieldparam err [StandardError] error object if request failed
619
+ #
620
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser]
621
+ #
622
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
623
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
624
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
625
+ def get_customer_telemetry_user(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
626
+ command = make_simple_command(:get, 'v1/{+name}', options)
627
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser::Representation
628
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUser
629
+ command.params['name'] = name unless name.nil?
630
+ command.query['readMask'] = read_mask unless read_mask.nil?
631
+ command.query['fields'] = fields unless fields.nil?
632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
633
+ execute_or_queue_command(command, &block)
634
+ end
635
+
636
+ # List all telemetry users.
637
+ # @param [String] parent
638
+ # Required. Customer id or "my_customer" to use the customer associated to the
639
+ # account making the request.
640
+ # @param [String] filter
641
+ # Only include resources that match the filter. Supported filter fields: -
642
+ # user_id - user_org_unit_id
643
+ # @param [Fixnum] page_size
644
+ # Maximum number of results to return. Default value is 100. Maximum value is
645
+ # 1000.
646
+ # @param [String] page_token
647
+ # Token to specify next page in the list.
648
+ # @param [String] read_mask
649
+ # Read mask to specify which fields to return.
650
+ # @param [String] fields
651
+ # Selector specifying which fields to include in a partial response.
652
+ # @param [String] quota_user
653
+ # Available to use for quota purposes for server-side applications. Can be any
654
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
655
+ # @param [Google::Apis::RequestOptions] options
656
+ # Request-specific options
657
+ #
658
+ # @yield [result, err] Result & error if block supplied
659
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse] parsed result object
660
+ # @yieldparam err [StandardError] error object if request failed
661
+ #
662
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse]
663
+ #
664
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
665
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
666
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
667
+ def list_customer_telemetry_users(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
668
+ command = make_simple_command(:get, 'v1/{+parent}/telemetry/users', options)
669
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse::Representation
670
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryUsersResponse
671
+ command.params['parent'] = parent unless parent.nil?
672
+ command.query['filter'] = filter unless filter.nil?
673
+ command.query['pageSize'] = page_size unless page_size.nil?
674
+ command.query['pageToken'] = page_token unless page_token.nil?
675
+ command.query['readMask'] = read_mask unless read_mask.nil?
676
+ command.query['fields'] = fields unless fields.nil?
677
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
678
+ execute_or_queue_command(command, &block)
679
+ end
601
680
 
602
681
  protected
603
682
 
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.31.0
4
+ version: 0.33.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-29 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.33.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Management API V1