google-apis-chromemanagement_v1 0.32.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: 6dff5e26ddf04251774fae8b5715030c2177cbb91b3dc3c0649e8c0c05096012
4
- data.tar.gz: 864625d3084baee0f257f7ea6b3b4b197bd0e7f3d1084b03ffd2ef7911ccde85
3
+ metadata.gz: '09725515d79389becd788197fb63fc2578389f25ac90f87c53aca58a45b4e7dd'
4
+ data.tar.gz: 50d7095392335a01649de975038d139727b4e52a803b334f43b5be387028ad30
5
5
  SHA512:
6
- metadata.gz: 83245d9fa99a41480a58e0f15d1b78df18e112503c372f73ef2a7a1d295f027c7f30ec31c82723319c6b5f9cdb47e1c98acd41cc632b7c2d76f10398652ab4d5
7
- data.tar.gz: b77a5a0dca38ad4ed20e645cd1c3c9fc56be4855993b02d9561bdce49b2eef92cc0ad341ad98a113cfc3557fa0be4adbbebbe58dab5e715bb4026ee944a7e385
6
+ metadata.gz: 97f036ceca15d87893a3f6143423d83df6b5766a8dd68d6e2ad7559ae2676f1a95b4b8dff49aa14e459dafcd02cc750ce7a8b35c618b6bcbfcdd69fcb6426e2c
7
+ data.tar.gz: dc8d7d1da1b772c784bd597fd69cd0a210e5303b2b9db4d15677a3010ba204c8725651abe56399da6d43b2dc18a814120cb5b2c0ffe912202247604e71a0268e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.32.0 (2023-01-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20230102
@@ -1426,7 +1426,7 @@ module Google
1426
1426
  # and this will change over time as the device is utilized. * Data for this
1427
1427
  # field is controlled via policy: [ReportDeviceGraphicsInfo](https://
1428
1428
  # chromeenterprise.google/policies/#ReportDeviceGraphicsInfo) * Data Collection
1429
- # Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy
1429
+ # Frequency: 3 hours. * Default Data Reporting Frequency: 3 hours - Policy
1430
1430
  # Controlled: Yes * Cache: If the device is offline, the collected data is
1431
1431
  # stored locally, and will be reported when the device is next online: No *
1432
1432
  # Reported for affiliated users only: N/A
@@ -1613,6 +1613,31 @@ module Google
1613
1613
  end
1614
1614
  end
1615
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
+
1616
1641
  # Memory information of a device. * This field has both telemetry and device
1617
1642
  # information: - `totalRamBytes` - Device information - `availableRamBytes` -
1618
1643
  # Telemetry information - `totalMemoryEncryption` - Device information * Data
@@ -1986,6 +2011,31 @@ module Google
1986
2011
  end
1987
2012
  end
1988
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
+
1989
2039
  # Status data for storage. * This field is telemetry information and this will
1990
2040
  # change over time as the device is utilized. * Data for this field is
1991
2041
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -2422,6 +2472,89 @@ module Google
2422
2472
  end
2423
2473
  end
2424
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`
2481
+ # @return [String]
2482
+ attr_accessor :customer
2483
+
2484
+ # Resource name of the user.
2485
+ # Corresponds to the JSON property `name`
2486
+ # @return [String]
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
2508
+
2509
+ def initialize(**args)
2510
+ update!(**args)
2511
+ end
2512
+
2513
+ # Update properties of this object
2514
+ def update!(**args)
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)
2555
+ end
2556
+ end
2557
+
2425
2558
  # Information about a user associated with telemetry data.
2426
2559
  class GoogleChromeManagementV1TelemetryUserInfo
2427
2560
  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.32.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 = "20230102"
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
 
@@ -328,6 +340,18 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
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
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
331
355
  class GoogleChromeManagementV1TelemetryUserInfo
332
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
357
 
@@ -760,6 +784,15 @@ module Google
760
784
  end
761
785
  end
762
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
+
763
796
  class GoogleChromeManagementV1MemoryInfo
764
797
  # @private
765
798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -841,6 +874,15 @@ module Google
841
874
  end
842
875
  end
843
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
+
844
886
  class GoogleChromeManagementV1StorageInfo
845
887
  # @private
846
888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -964,6 +1006,30 @@ module Google
964
1006
  end
965
1007
  end
966
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
+
1030
+ end
1031
+ end
1032
+
967
1033
  class GoogleChromeManagementV1TelemetryUserInfo
968
1034
  # @private
969
1035
  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.32.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: 2023-01-04 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.32.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