google-apis-chromemanagement_v1 0.34.0 → 0.36.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: 788b8fdaf0d18717ca10b2692a8337803e5612e9971814cf2c940fe621d75169
4
- data.tar.gz: 3e5b3df62b34ca326cedb325bbf2afdfa2ad157dd07e46caef9ec6c3c309c1d3
3
+ metadata.gz: 7e828c1a6bd7db364a507197e1901e5ece63f5eee4630faf567e9b8658324cd6
4
+ data.tar.gz: 862f751d8980f56d02b066b8c51305228d81e5cbe3e14237f7e6b45e0a2b4651
5
5
  SHA512:
6
- metadata.gz: 7bae60187dbc15fe3d293588c38d60e3dae30cf9e2bb202f789335aed9932e54fe4633865afa63d31075f28aee1873d978697410f798d0965512ee937d994bca
7
- data.tar.gz: 2faf65e578d0562ca3a7c3b9079ec99eaf55534ce1c96be2668e5c8048a7eb37560c99115ae687038f49b6fdaf0d3f3106f9345fe84e26da1d5e5999caea38e0
6
+ metadata.gz: a622b050fefedfc63e09d26b4662de41563bacb965584bbf26b8e469c1e4e083b8717d06b2cf6b00b62e55125bdafd6c038ce8f0d49062a3cf8f4ee040f4292e
7
+ data.tar.gz: b5c4b5580220f4cdd6140f356af48c36ca62dceb42f21a2e743b18973d7d61d77316211acd3c3bee09ff9138a44732f4305b0ec4f27bc2de4eb89c5779d5b59f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.36.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230223
6
+ * Regenerated using generator version 0.12.0
7
+
8
+ ### v0.35.0 (2023-02-12)
9
+
10
+ * Regenerated from discovery document revision 20230209
11
+
3
12
  ### v0.34.0 (2023-02-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20230202
@@ -789,6 +789,37 @@ module Google
789
789
  end
790
790
  end
791
791
 
792
+ # Response containing counts for browsers that need attention.
793
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
794
+ include Google::Apis::Core::Hashable
795
+
796
+ # Number of browsers that haven’t had any recent activity
797
+ # Corresponds to the JSON property `noRecentActivityCount`
798
+ # @return [Fixnum]
799
+ attr_accessor :no_recent_activity_count
800
+
801
+ # Number of browsers that are pending an OS update
802
+ # Corresponds to the JSON property `pendingBrowserUpdateCount`
803
+ # @return [Fixnum]
804
+ attr_accessor :pending_browser_update_count
805
+
806
+ # Number of browsers that have been recently enrolled
807
+ # Corresponds to the JSON property `recentlyEnrolledCount`
808
+ # @return [Fixnum]
809
+ attr_accessor :recently_enrolled_count
810
+
811
+ def initialize(**args)
812
+ update!(**args)
813
+ end
814
+
815
+ # Update properties of this object
816
+ def update!(**args)
817
+ @no_recent_activity_count = args[:no_recent_activity_count] if args.key?(:no_recent_activity_count)
818
+ @pending_browser_update_count = args[:pending_browser_update_count] if args.key?(:pending_browser_update_count)
819
+ @recently_enrolled_count = args[:recently_enrolled_count] if args.key?(:recently_enrolled_count)
820
+ end
821
+ end
822
+
792
823
  # Response containing a list of devices expiring in each month of a selected
793
824
  # time frame. Counts are grouped by model and Auto Update Expiration date.
794
825
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
@@ -958,6 +989,71 @@ module Google
958
989
  end
959
990
  end
960
991
 
992
+ # Response containing a summary printing report for each printer from the
993
+ # specified organizational unit for the requested time interval.
994
+ class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
995
+ include Google::Apis::Core::Hashable
996
+
997
+ # Pagination token for requesting the next page.
998
+ # Corresponds to the JSON property `nextPageToken`
999
+ # @return [String]
1000
+ attr_accessor :next_page_token
1001
+
1002
+ # List of PrinterReports matching request.
1003
+ # Corresponds to the JSON property `printerReports`
1004
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport>]
1005
+ attr_accessor :printer_reports
1006
+
1007
+ # Total number of printers matching request.
1008
+ # Corresponds to the JSON property `totalSize`
1009
+ # @return [Fixnum]
1010
+ attr_accessor :total_size
1011
+
1012
+ def initialize(**args)
1013
+ update!(**args)
1014
+ end
1015
+
1016
+ # Update properties of this object
1017
+ def update!(**args)
1018
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1019
+ @printer_reports = args[:printer_reports] if args.key?(:printer_reports)
1020
+ @total_size = args[:total_size] if args.key?(:total_size)
1021
+ end
1022
+ end
1023
+
1024
+ # Response containing a summary printing report for each user that has initiated
1025
+ # a print job with a printer from the specified organizational unit during the
1026
+ # requested time interval.
1027
+ class GoogleChromeManagementV1CountPrintJobsByUserResponse
1028
+ include Google::Apis::Core::Hashable
1029
+
1030
+ # Pagination token for requesting the next page.
1031
+ # Corresponds to the JSON property `nextPageToken`
1032
+ # @return [String]
1033
+ attr_accessor :next_page_token
1034
+
1035
+ # Total number of users matching request.
1036
+ # Corresponds to the JSON property `totalSize`
1037
+ # @return [Fixnum]
1038
+ attr_accessor :total_size
1039
+
1040
+ # List of UserPrintReports matching request.
1041
+ # Corresponds to the JSON property `userPrintReports`
1042
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport>]
1043
+ attr_accessor :user_print_reports
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1052
+ @total_size = args[:total_size] if args.key?(:total_size)
1053
+ @user_print_reports = args[:user_print_reports] if args.key?(:user_print_reports)
1054
+ end
1055
+ end
1056
+
961
1057
  # CPU specifications for the device * This field provides device information,
962
1058
  # which is static and will not change over time. * Data for this field is
963
1059
  # controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/
@@ -1288,6 +1384,62 @@ module Google
1288
1384
  end
1289
1385
  end
1290
1386
 
1387
+ # Information of a display device.
1388
+ class GoogleChromeManagementV1DisplayDevice
1389
+ include Google::Apis::Core::Hashable
1390
+
1391
+ # Output only. Display height in millimeters.
1392
+ # Corresponds to the JSON property `displayHeightMm`
1393
+ # @return [Fixnum]
1394
+ attr_accessor :display_height_mm
1395
+
1396
+ # Output only. Display device name.
1397
+ # Corresponds to the JSON property `displayName`
1398
+ # @return [String]
1399
+ attr_accessor :display_name
1400
+
1401
+ # Output only. Display width in millimeters.
1402
+ # Corresponds to the JSON property `displayWidthMm`
1403
+ # @return [Fixnum]
1404
+ attr_accessor :display_width_mm
1405
+
1406
+ # Output only. Is display internal or not.
1407
+ # Corresponds to the JSON property `internal`
1408
+ # @return [Boolean]
1409
+ attr_accessor :internal
1410
+ alias_method :internal?, :internal
1411
+
1412
+ # Output only. Year of manufacture.
1413
+ # Corresponds to the JSON property `manufactureYear`
1414
+ # @return [Fixnum]
1415
+ attr_accessor :manufacture_year
1416
+
1417
+ # Output only. Three letter manufacturer ID.
1418
+ # Corresponds to the JSON property `manufacturerId`
1419
+ # @return [String]
1420
+ attr_accessor :manufacturer_id
1421
+
1422
+ # Output only. Manufacturer product code.
1423
+ # Corresponds to the JSON property `modelId`
1424
+ # @return [Fixnum]
1425
+ attr_accessor :model_id
1426
+
1427
+ def initialize(**args)
1428
+ update!(**args)
1429
+ end
1430
+
1431
+ # Update properties of this object
1432
+ def update!(**args)
1433
+ @display_height_mm = args[:display_height_mm] if args.key?(:display_height_mm)
1434
+ @display_name = args[:display_name] if args.key?(:display_name)
1435
+ @display_width_mm = args[:display_width_mm] if args.key?(:display_width_mm)
1436
+ @internal = args[:internal] if args.key?(:internal)
1437
+ @manufacture_year = args[:manufacture_year] if args.key?(:manufacture_year)
1438
+ @manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
1439
+ @model_id = args[:model_id] if args.key?(:model_id)
1440
+ end
1441
+ end
1442
+
1291
1443
  # Information for a display.
1292
1444
  class GoogleChromeManagementV1DisplayInfo
1293
1445
  include Google::Apis::Core::Hashable
@@ -1297,6 +1449,11 @@ module Google
1297
1449
  # @return [Fixnum]
1298
1450
  attr_accessor :device_id
1299
1451
 
1452
+ # Output only. Display device name.
1453
+ # Corresponds to the JSON property `displayName`
1454
+ # @return [String]
1455
+ attr_accessor :display_name
1456
+
1300
1457
  # Output only. Indicates if display is internal or not.
1301
1458
  # Corresponds to the JSON property `isInternal`
1302
1459
  # @return [Boolean]
@@ -1325,6 +1482,7 @@ module Google
1325
1482
  # Update properties of this object
1326
1483
  def update!(**args)
1327
1484
  @device_id = args[:device_id] if args.key?(:device_id)
1485
+ @display_name = args[:display_name] if args.key?(:display_name)
1328
1486
  @is_internal = args[:is_internal] if args.key?(:is_internal)
1329
1487
  @refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
1330
1488
  @resolution_height = args[:resolution_height] if args.key?(:resolution_height)
@@ -1412,6 +1570,22 @@ module Google
1412
1570
  # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo]
1413
1571
  attr_accessor :adapter_info
1414
1572
 
1573
+ # Output only. Information about the display(s) of the device.
1574
+ # Corresponds to the JSON property `displayDevices`
1575
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice>]
1576
+ attr_accessor :display_devices
1577
+
1578
+ # Output only. Is ePrivacy screen supported or not.
1579
+ # Corresponds to the JSON property `eprivacySupported`
1580
+ # @return [Boolean]
1581
+ attr_accessor :eprivacy_supported
1582
+ alias_method :eprivacy_supported?, :eprivacy_supported
1583
+
1584
+ # Information on the device touch screen.
1585
+ # Corresponds to the JSON property `touchScreenInfo`
1586
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo]
1587
+ attr_accessor :touch_screen_info
1588
+
1415
1589
  def initialize(**args)
1416
1590
  update!(**args)
1417
1591
  end
@@ -1419,6 +1593,9 @@ module Google
1419
1593
  # Update properties of this object
1420
1594
  def update!(**args)
1421
1595
  @adapter_info = args[:adapter_info] if args.key?(:adapter_info)
1596
+ @display_devices = args[:display_devices] if args.key?(:display_devices)
1597
+ @eprivacy_supported = args[:eprivacy_supported] if args.key?(:eprivacy_supported)
1598
+ @touch_screen_info = args[:touch_screen_info] if args.key?(:touch_screen_info)
1422
1599
  end
1423
1600
  end
1424
1601
 
@@ -2036,6 +2213,59 @@ module Google
2036
2213
  end
2037
2214
  end
2038
2215
 
2216
+ # Report for CountPrintJobsByPrinter, contains statistics on printer usage.
2217
+ # Contains the total number of print jobs initiated with this printer, the
2218
+ # number of users and the number of devices that have initiated at least one
2219
+ # print job with this printer.
2220
+ class GoogleChromeManagementV1PrinterReport
2221
+ include Google::Apis::Core::Hashable
2222
+
2223
+ # Number of chrome devices that have been used to send print jobs to the
2224
+ # specified printer.
2225
+ # Corresponds to the JSON property `deviceCount`
2226
+ # @return [Fixnum]
2227
+ attr_accessor :device_count
2228
+
2229
+ # Number of print jobs sent to the printer.
2230
+ # Corresponds to the JSON property `jobCount`
2231
+ # @return [Fixnum]
2232
+ attr_accessor :job_count
2233
+
2234
+ # Printer name.
2235
+ # Corresponds to the JSON property `printer`
2236
+ # @return [String]
2237
+ attr_accessor :printer
2238
+
2239
+ # Printer API ID.
2240
+ # Corresponds to the JSON property `printerId`
2241
+ # @return [String]
2242
+ attr_accessor :printer_id
2243
+
2244
+ # Printer model.
2245
+ # Corresponds to the JSON property `printerModel`
2246
+ # @return [String]
2247
+ attr_accessor :printer_model
2248
+
2249
+ # Number of users that have sent print jobs to the printer.
2250
+ # Corresponds to the JSON property `userCount`
2251
+ # @return [Fixnum]
2252
+ attr_accessor :user_count
2253
+
2254
+ def initialize(**args)
2255
+ update!(**args)
2256
+ end
2257
+
2258
+ # Update properties of this object
2259
+ def update!(**args)
2260
+ @device_count = args[:device_count] if args.key?(:device_count)
2261
+ @job_count = args[:job_count] if args.key?(:job_count)
2262
+ @printer = args[:printer] if args.key?(:printer)
2263
+ @printer_id = args[:printer_id] if args.key?(:printer_id)
2264
+ @printer_model = args[:printer_model] if args.key?(:printer_model)
2265
+ @user_count = args[:user_count] if args.key?(:user_count)
2266
+ end
2267
+ end
2268
+
2039
2269
  # Status data for storage. * This field is telemetry information and this will
2040
2270
  # change over time as the device is utilized. * Data for this field is
2041
2271
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -2657,6 +2887,63 @@ module Google
2657
2887
  end
2658
2888
  end
2659
2889
 
2890
+ # Information of an internal touch screen device.
2891
+ class GoogleChromeManagementV1TouchScreenDevice
2892
+ include Google::Apis::Core::Hashable
2893
+
2894
+ # Output only. Touch screen device display name.
2895
+ # Corresponds to the JSON property `displayName`
2896
+ # @return [String]
2897
+ attr_accessor :display_name
2898
+
2899
+ # Output only. Touch screen device is stylus capable or not.
2900
+ # Corresponds to the JSON property `stylusCapable`
2901
+ # @return [Boolean]
2902
+ attr_accessor :stylus_capable
2903
+ alias_method :stylus_capable?, :stylus_capable
2904
+
2905
+ # Output only. Number of touch points supported on the device.
2906
+ # Corresponds to the JSON property `touchPointCount`
2907
+ # @return [Fixnum]
2908
+ attr_accessor :touch_point_count
2909
+
2910
+ def initialize(**args)
2911
+ update!(**args)
2912
+ end
2913
+
2914
+ # Update properties of this object
2915
+ def update!(**args)
2916
+ @display_name = args[:display_name] if args.key?(:display_name)
2917
+ @stylus_capable = args[:stylus_capable] if args.key?(:stylus_capable)
2918
+ @touch_point_count = args[:touch_point_count] if args.key?(:touch_point_count)
2919
+ end
2920
+ end
2921
+
2922
+ # Information on the device touch screen.
2923
+ class GoogleChromeManagementV1TouchScreenInfo
2924
+ include Google::Apis::Core::Hashable
2925
+
2926
+ # Output only. List of the internal touch screen devices.
2927
+ # Corresponds to the JSON property `devices`
2928
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice>]
2929
+ attr_accessor :devices
2930
+
2931
+ # Output only. Touchpad library name used by the input stack.
2932
+ # Corresponds to the JSON property `touchpadLibrary`
2933
+ # @return [String]
2934
+ attr_accessor :touchpad_library
2935
+
2936
+ def initialize(**args)
2937
+ update!(**args)
2938
+ end
2939
+
2940
+ # Update properties of this object
2941
+ def update!(**args)
2942
+ @devices = args[:devices] if args.key?(:devices)
2943
+ @touchpad_library = args[:touchpad_library] if args.key?(:touchpad_library)
2944
+ end
2945
+ end
2946
+
2660
2947
  # USB connected peripheral report.
2661
2948
  class GoogleChromeManagementV1UsbPeripheralReport
2662
2949
  include Google::Apis::Core::Hashable
@@ -2719,6 +3006,52 @@ module Google
2719
3006
  end
2720
3007
  end
2721
3008
 
3009
+ # Report for CountPrintJobsByUser, contains printing statistics for a user.
3010
+ # Contains the number of printers, the number of devices used to initiate print
3011
+ # jobs, and the number of print jobs initiated.
3012
+ class GoogleChromeManagementV1UserPrintReport
3013
+ include Google::Apis::Core::Hashable
3014
+
3015
+ # Number of chrome devices that have been used to initiate print jobs by the
3016
+ # user.
3017
+ # Corresponds to the JSON property `deviceCount`
3018
+ # @return [Fixnum]
3019
+ attr_accessor :device_count
3020
+
3021
+ # Number of print jobs initiated by the user.
3022
+ # Corresponds to the JSON property `jobCount`
3023
+ # @return [Fixnum]
3024
+ attr_accessor :job_count
3025
+
3026
+ # Number of printers used by the user.
3027
+ # Corresponds to the JSON property `printerCount`
3028
+ # @return [Fixnum]
3029
+ attr_accessor :printer_count
3030
+
3031
+ # The primary e-mail address of the user.
3032
+ # Corresponds to the JSON property `userEmail`
3033
+ # @return [String]
3034
+ attr_accessor :user_email
3035
+
3036
+ # The unique Directory API ID of the user.
3037
+ # Corresponds to the JSON property `userId`
3038
+ # @return [String]
3039
+ attr_accessor :user_id
3040
+
3041
+ def initialize(**args)
3042
+ update!(**args)
3043
+ end
3044
+
3045
+ # Update properties of this object
3046
+ def update!(**args)
3047
+ @device_count = args[:device_count] if args.key?(:device_count)
3048
+ @job_count = args[:job_count] if args.key?(:job_count)
3049
+ @printer_count = args[:printer_count] if args.key?(:printer_count)
3050
+ @user_email = args[:user_email] if args.key?(:user_email)
3051
+ @user_id = args[:user_id] if args.key?(:user_id)
3052
+ end
3053
+ end
3054
+
2722
3055
  # The `Status` type defines a logical error model that is suitable for different
2723
3056
  # programming environments, including REST APIs and RPC APIs. It is used by [
2724
3057
  # 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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230202"
25
+ REVISION = "20230223"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -136,6 +142,18 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleChromeManagementV1CountPrintJobsByUserResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class GoogleChromeManagementV1CpuInfo
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -178,6 +196,12 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class GoogleChromeManagementV1DisplayDevice
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class GoogleChromeManagementV1DisplayInfo
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
@@ -286,6 +310,12 @@ module Google
286
310
  include Google::Apis::Core::JsonObjectSupport
287
311
  end
288
312
 
313
+ class GoogleChromeManagementV1PrinterReport
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
289
319
  class GoogleChromeManagementV1StorageInfo
290
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
321
 
@@ -370,12 +400,30 @@ module Google
370
400
  include Google::Apis::Core::JsonObjectSupport
371
401
  end
372
402
 
403
+ class GoogleChromeManagementV1TouchScreenDevice
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class GoogleChromeManagementV1TouchScreenInfo
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
373
415
  class GoogleChromeManagementV1UsbPeripheralReport
374
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
417
 
376
418
  include Google::Apis::Core::JsonObjectSupport
377
419
  end
378
420
 
421
+ class GoogleChromeManagementV1UserPrintReport
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
379
427
  class GoogleRpcStatus
380
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
429
 
@@ -565,6 +613,15 @@ module Google
565
613
  end
566
614
  end
567
615
 
616
+ class GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :no_recent_activity_count, :numeric_string => true, as: 'noRecentActivityCount'
620
+ property :pending_browser_update_count, :numeric_string => true, as: 'pendingBrowserUpdateCount'
621
+ property :recently_enrolled_count, :numeric_string => true, as: 'recentlyEnrolledCount'
622
+ end
623
+ end
624
+
568
625
  class GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse
569
626
  # @private
570
627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -618,6 +675,26 @@ module Google
618
675
  end
619
676
  end
620
677
 
678
+ class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :next_page_token, as: 'nextPageToken'
682
+ collection :printer_reports, as: 'printerReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport::Representation
683
+
684
+ property :total_size, :numeric_string => true, as: 'totalSize'
685
+ end
686
+ end
687
+
688
+ class GoogleChromeManagementV1CountPrintJobsByUserResponse
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :next_page_token, as: 'nextPageToken'
692
+ property :total_size, :numeric_string => true, as: 'totalSize'
693
+ collection :user_print_reports, as: 'userPrintReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport::Representation
694
+
695
+ end
696
+ end
697
+
621
698
  class GoogleChromeManagementV1CpuInfo
622
699
  # @private
623
700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -694,10 +771,24 @@ module Google
694
771
  end
695
772
  end
696
773
 
774
+ class GoogleChromeManagementV1DisplayDevice
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :display_height_mm, as: 'displayHeightMm'
778
+ property :display_name, as: 'displayName'
779
+ property :display_width_mm, as: 'displayWidthMm'
780
+ property :internal, as: 'internal'
781
+ property :manufacture_year, as: 'manufactureYear'
782
+ property :manufacturer_id, as: 'manufacturerId'
783
+ property :model_id, as: 'modelId'
784
+ end
785
+ end
786
+
697
787
  class GoogleChromeManagementV1DisplayInfo
698
788
  # @private
699
789
  class Representation < Google::Apis::Core::JsonRepresentation
700
790
  property :device_id, :numeric_string => true, as: 'deviceId'
791
+ property :display_name, as: 'displayName'
701
792
  property :is_internal, as: 'isInternal'
702
793
  property :refresh_rate, as: 'refreshRate'
703
794
  property :resolution_height, as: 'resolutionHeight'
@@ -729,6 +820,11 @@ module Google
729
820
  class Representation < Google::Apis::Core::JsonRepresentation
730
821
  property :adapter_info, as: 'adapterInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo::Representation
731
822
 
823
+ collection :display_devices, as: 'displayDevices', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice::Representation
824
+
825
+ property :eprivacy_supported, as: 'eprivacySupported'
826
+ property :touch_screen_info, as: 'touchScreenInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo::Representation
827
+
732
828
  end
733
829
  end
734
830
 
@@ -883,6 +979,18 @@ module Google
883
979
  end
884
980
  end
885
981
 
982
+ class GoogleChromeManagementV1PrinterReport
983
+ # @private
984
+ class Representation < Google::Apis::Core::JsonRepresentation
985
+ property :device_count, :numeric_string => true, as: 'deviceCount'
986
+ property :job_count, :numeric_string => true, as: 'jobCount'
987
+ property :printer, as: 'printer'
988
+ property :printer_id, as: 'printerId'
989
+ property :printer_model, as: 'printerModel'
990
+ property :user_count, :numeric_string => true, as: 'userCount'
991
+ end
992
+ end
993
+
886
994
  class GoogleChromeManagementV1StorageInfo
887
995
  # @private
888
996
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1057,6 +1165,24 @@ module Google
1057
1165
  end
1058
1166
  end
1059
1167
 
1168
+ class GoogleChromeManagementV1TouchScreenDevice
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :display_name, as: 'displayName'
1172
+ property :stylus_capable, as: 'stylusCapable'
1173
+ property :touch_point_count, as: 'touchPointCount'
1174
+ end
1175
+ end
1176
+
1177
+ class GoogleChromeManagementV1TouchScreenInfo
1178
+ # @private
1179
+ class Representation < Google::Apis::Core::JsonRepresentation
1180
+ collection :devices, as: 'devices', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice::Representation
1181
+
1182
+ property :touchpad_library, as: 'touchpadLibrary'
1183
+ end
1184
+ end
1185
+
1060
1186
  class GoogleChromeManagementV1UsbPeripheralReport
1061
1187
  # @private
1062
1188
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1071,6 +1197,17 @@ module Google
1071
1197
  end
1072
1198
  end
1073
1199
 
1200
+ class GoogleChromeManagementV1UserPrintReport
1201
+ # @private
1202
+ class Representation < Google::Apis::Core::JsonRepresentation
1203
+ property :device_count, :numeric_string => true, as: 'deviceCount'
1204
+ property :job_count, :numeric_string => true, as: 'jobCount'
1205
+ property :printer_count, :numeric_string => true, as: 'printerCount'
1206
+ property :user_email, as: 'userEmail'
1207
+ property :user_id, as: 'userId'
1208
+ end
1209
+ end
1210
+
1074
1211
  class GoogleRpcStatus
1075
1212
  # @private
1076
1213
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -198,6 +198,41 @@ module Google
198
198
  execute_or_queue_command(command, &block)
199
199
  end
200
200
 
201
+ # Count of Chrome Browsers that have been recently enrolled, have new policy to
202
+ # be synced, or have no recent activity.
203
+ # @param [String] customer
204
+ # Required. The customer ID or "my_customer" prefixed with "customers/".
205
+ # @param [String] org_unit_id
206
+ # Optional. The ID of the organizational unit. If omitted, all data will be
207
+ # returned.
208
+ # @param [String] fields
209
+ # Selector specifying which fields to include in a partial response.
210
+ # @param [String] quota_user
211
+ # Available to use for quota purposes for server-side applications. Can be any
212
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
213
+ # @param [Google::Apis::RequestOptions] options
214
+ # Request-specific options
215
+ #
216
+ # @yield [result, err] Result & error if block supplied
217
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse] parsed result object
218
+ # @yieldparam err [StandardError] error object if request failed
219
+ #
220
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse]
221
+ #
222
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
223
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
224
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
225
+ def count_customer_report_chrome_browsers_needing_attention(customer, org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
226
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countChromeBrowsersNeedingAttention', options)
227
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse::Representation
228
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse
229
+ command.params['customer'] = customer unless customer.nil?
230
+ command.query['orgUnitId'] = org_unit_id unless org_unit_id.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
201
236
  # Generate report of the number of devices expiring in each month of the
202
237
  # selected time frame. Devices are grouped by auto update expiration date and
203
238
  # model. Further information can be found [here](https://support.google.com/
@@ -419,6 +454,110 @@ module Google
419
454
  execute_or_queue_command(command, &block)
420
455
  end
421
456
 
457
+ # Get a summary of printing done by each printer.
458
+ # @param [String] customer
459
+ # Required. Customer ID prefixed with "customers/" or "customers/my_customer" to
460
+ # use the customer associated to the account making the request.
461
+ # @param [String] filter
462
+ # Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
463
+ # operations are not supported in this filter. Note: Only >= and <= comparators
464
+ # are supported in this filter. Supported filter fields: * completion_time
465
+ # @param [String] order_by
466
+ # Field used to order results. If omitted, results will be ordered in ascending
467
+ # order of the 'printer' field. Supported order_by fields: * printer * job_count
468
+ # * device_count * user_count
469
+ # @param [Fixnum] page_size
470
+ # Maximum number of results to return. Maximum and default are 100.
471
+ # @param [String] page_token
472
+ # Token to specify the page of the response to be returned.
473
+ # @param [String] printer_org_unit_id
474
+ # The ID of the organizational unit for printers. If specified, only data for
475
+ # printers from the specified organizational unit will be returned. If omitted,
476
+ # data for printers from all organizational units will be returned.
477
+ # @param [String] fields
478
+ # Selector specifying which fields to include in a partial response.
479
+ # @param [String] quota_user
480
+ # Available to use for quota purposes for server-side applications. Can be any
481
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
482
+ # @param [Google::Apis::RequestOptions] options
483
+ # Request-specific options
484
+ #
485
+ # @yield [result, err] Result & error if block supplied
486
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse] parsed result object
487
+ # @yieldparam err [StandardError] error object if request failed
488
+ #
489
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse]
490
+ #
491
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
492
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
493
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
494
+ def count_customer_report_print_jobs_by_printer(customer, filter: nil, order_by: nil, page_size: nil, page_token: nil, printer_org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
495
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countPrintJobsByPrinter', options)
496
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse::Representation
497
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse
498
+ command.params['customer'] = customer unless customer.nil?
499
+ command.query['filter'] = filter unless filter.nil?
500
+ command.query['orderBy'] = order_by unless order_by.nil?
501
+ command.query['pageSize'] = page_size unless page_size.nil?
502
+ command.query['pageToken'] = page_token unless page_token.nil?
503
+ command.query['printerOrgUnitId'] = printer_org_unit_id unless printer_org_unit_id.nil?
504
+ command.query['fields'] = fields unless fields.nil?
505
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
506
+ execute_or_queue_command(command, &block)
507
+ end
508
+
509
+ # Get a summary of printing done by each user.
510
+ # @param [String] customer
511
+ # Required. Customer ID prefixed with "customers/" or "customers/my_customer" to
512
+ # use the customer associated to the account making the request.
513
+ # @param [String] filter
514
+ # Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
515
+ # operations are not supported in this filter. Note: Only >= and <= comparators
516
+ # are supported in this filter. Supported filter fields: * completion_time
517
+ # @param [String] order_by
518
+ # Field used to order results. If omitted, results will be ordered in ascending
519
+ # order of the 'user_email' field. Supported order_by fields: * user_email *
520
+ # job_count * printer_count * device_count
521
+ # @param [Fixnum] page_size
522
+ # Maximum number of results to return. Maximum and default are 100.
523
+ # @param [String] page_token
524
+ # Token to specify the page of the response to be returned.
525
+ # @param [String] printer_org_unit_id
526
+ # The ID of the organizational unit for printers. If specified, only print jobs
527
+ # initiated with printers from the specified organizational unit will be counted.
528
+ # If omitted, all print jobs will be counted.
529
+ # @param [String] fields
530
+ # Selector specifying which fields to include in a partial response.
531
+ # @param [String] quota_user
532
+ # Available to use for quota purposes for server-side applications. Can be any
533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
534
+ # @param [Google::Apis::RequestOptions] options
535
+ # Request-specific options
536
+ #
537
+ # @yield [result, err] Result & error if block supplied
538
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse] parsed result object
539
+ # @yieldparam err [StandardError] error object if request failed
540
+ #
541
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse]
542
+ #
543
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
544
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
545
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
546
+ def count_customer_report_print_jobs_by_user(customer, filter: nil, order_by: nil, page_size: nil, page_token: nil, printer_org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
547
+ command = make_simple_command(:get, 'v1/{+customer}/reports:countPrintJobsByUser', options)
548
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse::Representation
549
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse
550
+ command.params['customer'] = customer unless customer.nil?
551
+ command.query['filter'] = filter unless filter.nil?
552
+ command.query['orderBy'] = order_by unless order_by.nil?
553
+ command.query['pageSize'] = page_size unless page_size.nil?
554
+ command.query['pageToken'] = page_token unless page_token.nil?
555
+ command.query['printerOrgUnitId'] = printer_org_unit_id unless printer_org_unit_id.nil?
556
+ command.query['fields'] = fields unless fields.nil?
557
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
558
+ execute_or_queue_command(command, &block)
559
+ end
560
+
422
561
  # Generate report of devices that have a specified app installed.
423
562
  # @param [String] customer
424
563
  # 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.34.0
4
+ version: 0.36.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-02-05 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.36.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: []