google-apis-chromemanagement_v1 0.43.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ff9cc1cdcd85a722e5c48d7bf5f686fe2690a88598d1ad05e8395a480b4f2ec
4
- data.tar.gz: 9c98aa890a05e1aebee506161eb3f089cb8daadc7bfe35e9cb31e60543b1d0e7
3
+ metadata.gz: 6cb756b1a2bdfe10f9210f92254f4ab43da8d2fbdb01b158ab49a52f0d051e2b
4
+ data.tar.gz: ec74085e1f37e8e007663b93964d3d198ce6d9b8e6c1917cf853a61bebabe619
5
5
  SHA512:
6
- metadata.gz: a665f44ad3e2ae2603b2d8160b40a33978956190051f83b744676855bfffe8862b9771326b4c72defa892932a3ad47ec367b7cfd092c35affc52ac0ecc47f45c
7
- data.tar.gz: fa082c4099714230c3151c6a51a34597b204a1409f26f8e4c8621b2bff651e3b2b9a9077486d74f75675a2535f223705490bd93c3417ec45d802b57389dbdb8f
6
+ metadata.gz: d48c2d467c9327351f00ee59a857738b0a3c58487768dcd7d26d887cd14ff277fe631c83a7871c5f8ae52071b58b2ee5af69058fb591afd945a443c2060877ca
7
+ data.tar.gz: 8105fa5878910d582719bc070f11224ce4aca515b429814f10ece930a98b34818aacd113dec99099d7ba31060aae900342a87c40e5d0b7161e22e91740905d5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.45.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230913
6
+
7
+ ### v0.44.0 (2023-09-10)
8
+
9
+ * Regenerated from discovery document revision 20230905
10
+
3
11
  ### v0.43.0 (2023-09-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20230830
@@ -989,6 +989,71 @@ module Google
989
989
  end
990
990
  end
991
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
+
992
1057
  # CPU specifications for the device * This field provides device information,
993
1058
  # which is static and will not change over time. * Data for this field is
994
1059
  # controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/
@@ -1452,6 +1517,38 @@ module Google
1452
1517
  end
1453
1518
  end
1454
1519
 
1520
+ # Response containing a list of print jobs.
1521
+ class GoogleChromeManagementV1EnumeratePrintJobsResponse
1522
+ include Google::Apis::Core::Hashable
1523
+
1524
+ # A token, which can be used in a subsequent request to retrieve the next page.
1525
+ # If this field is omitted, there are no subsequent pages.
1526
+ # Corresponds to the JSON property `nextPageToken`
1527
+ # @return [String]
1528
+ attr_accessor :next_page_token
1529
+
1530
+ # List of requested print jobs.
1531
+ # Corresponds to the JSON property `printJobs`
1532
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob>]
1533
+ attr_accessor :print_jobs
1534
+
1535
+ # Total number of print jobs matching request.
1536
+ # Corresponds to the JSON property `totalSize`
1537
+ # @return [Fixnum]
1538
+ attr_accessor :total_size
1539
+
1540
+ def initialize(**args)
1541
+ update!(**args)
1542
+ end
1543
+
1544
+ # Update properties of this object
1545
+ def update!(**args)
1546
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1547
+ @print_jobs = args[:print_jobs] if args.key?(:print_jobs)
1548
+ @total_size = args[:total_size] if args.key?(:total_size)
1549
+ end
1550
+ end
1551
+
1455
1552
  # Response containing a list of devices with queried app installed.
1456
1553
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
1457
1554
  include Google::Apis::Core::Hashable
@@ -2282,6 +2379,150 @@ module Google
2282
2379
  end
2283
2380
  end
2284
2381
 
2382
+ # Represents a request to print a document that has been submitted to a printer.
2383
+ class GoogleChromeManagementV1PrintJob
2384
+ include Google::Apis::Core::Hashable
2385
+
2386
+ # Color mode.
2387
+ # Corresponds to the JSON property `colorMode`
2388
+ # @return [String]
2389
+ attr_accessor :color_mode
2390
+
2391
+ # Print job completion timestamp.
2392
+ # Corresponds to the JSON property `completeTime`
2393
+ # @return [String]
2394
+ attr_accessor :complete_time
2395
+
2396
+ # Number of copies.
2397
+ # Corresponds to the JSON property `copyCount`
2398
+ # @return [Fixnum]
2399
+ attr_accessor :copy_count
2400
+
2401
+ # Print job creation timestamp.
2402
+ # Corresponds to the JSON property `createTime`
2403
+ # @return [String]
2404
+ attr_accessor :create_time
2405
+
2406
+ # Number of pages in the document.
2407
+ # Corresponds to the JSON property `documentPageCount`
2408
+ # @return [Fixnum]
2409
+ attr_accessor :document_page_count
2410
+
2411
+ # Duplex mode.
2412
+ # Corresponds to the JSON property `duplexMode`
2413
+ # @return [String]
2414
+ attr_accessor :duplex_mode
2415
+
2416
+ # Unique ID of the print job.
2417
+ # Corresponds to the JSON property `id`
2418
+ # @return [String]
2419
+ attr_accessor :id
2420
+
2421
+ # Name of the printer used for printing.
2422
+ # Corresponds to the JSON property `printer`
2423
+ # @return [String]
2424
+ attr_accessor :printer
2425
+
2426
+ # API ID of the printer used for printing.
2427
+ # Corresponds to the JSON property `printerId`
2428
+ # @return [String]
2429
+ attr_accessor :printer_id
2430
+
2431
+ # The final state of the job.
2432
+ # Corresponds to the JSON property `state`
2433
+ # @return [String]
2434
+ attr_accessor :state
2435
+
2436
+ # The title of the document.
2437
+ # Corresponds to the JSON property `title`
2438
+ # @return [String]
2439
+ attr_accessor :title
2440
+
2441
+ # The primary e-mail address of the user who submitted the print job.
2442
+ # Corresponds to the JSON property `userEmail`
2443
+ # @return [String]
2444
+ attr_accessor :user_email
2445
+
2446
+ # The unique Directory API ID of the user who submitted the print job.
2447
+ # Corresponds to the JSON property `userId`
2448
+ # @return [String]
2449
+ attr_accessor :user_id
2450
+
2451
+ def initialize(**args)
2452
+ update!(**args)
2453
+ end
2454
+
2455
+ # Update properties of this object
2456
+ def update!(**args)
2457
+ @color_mode = args[:color_mode] if args.key?(:color_mode)
2458
+ @complete_time = args[:complete_time] if args.key?(:complete_time)
2459
+ @copy_count = args[:copy_count] if args.key?(:copy_count)
2460
+ @create_time = args[:create_time] if args.key?(:create_time)
2461
+ @document_page_count = args[:document_page_count] if args.key?(:document_page_count)
2462
+ @duplex_mode = args[:duplex_mode] if args.key?(:duplex_mode)
2463
+ @id = args[:id] if args.key?(:id)
2464
+ @printer = args[:printer] if args.key?(:printer)
2465
+ @printer_id = args[:printer_id] if args.key?(:printer_id)
2466
+ @state = args[:state] if args.key?(:state)
2467
+ @title = args[:title] if args.key?(:title)
2468
+ @user_email = args[:user_email] if args.key?(:user_email)
2469
+ @user_id = args[:user_id] if args.key?(:user_id)
2470
+ end
2471
+ end
2472
+
2473
+ # Report for CountPrintJobsByPrinter, contains statistics on printer usage.
2474
+ # Contains the total number of print jobs initiated with this printer, the
2475
+ # number of users and the number of devices that have initiated at least one
2476
+ # print job with this printer.
2477
+ class GoogleChromeManagementV1PrinterReport
2478
+ include Google::Apis::Core::Hashable
2479
+
2480
+ # Number of chrome devices that have been used to send print jobs to the
2481
+ # specified printer.
2482
+ # Corresponds to the JSON property `deviceCount`
2483
+ # @return [Fixnum]
2484
+ attr_accessor :device_count
2485
+
2486
+ # Number of print jobs sent to the printer.
2487
+ # Corresponds to the JSON property `jobCount`
2488
+ # @return [Fixnum]
2489
+ attr_accessor :job_count
2490
+
2491
+ # Printer name.
2492
+ # Corresponds to the JSON property `printer`
2493
+ # @return [String]
2494
+ attr_accessor :printer
2495
+
2496
+ # Printer API ID.
2497
+ # Corresponds to the JSON property `printerId`
2498
+ # @return [String]
2499
+ attr_accessor :printer_id
2500
+
2501
+ # Printer model.
2502
+ # Corresponds to the JSON property `printerModel`
2503
+ # @return [String]
2504
+ attr_accessor :printer_model
2505
+
2506
+ # Number of users that have sent print jobs to the printer.
2507
+ # Corresponds to the JSON property `userCount`
2508
+ # @return [Fixnum]
2509
+ attr_accessor :user_count
2510
+
2511
+ def initialize(**args)
2512
+ update!(**args)
2513
+ end
2514
+
2515
+ # Update properties of this object
2516
+ def update!(**args)
2517
+ @device_count = args[:device_count] if args.key?(:device_count)
2518
+ @job_count = args[:job_count] if args.key?(:job_count)
2519
+ @printer = args[:printer] if args.key?(:printer)
2520
+ @printer_id = args[:printer_id] if args.key?(:printer_id)
2521
+ @printer_model = args[:printer_model] if args.key?(:printer_model)
2522
+ @user_count = args[:user_count] if args.key?(:user_count)
2523
+ end
2524
+ end
2525
+
2285
2526
  # Status data for storage. * This field is telemetry information and this will
2286
2527
  # change over time as the device is utilized. * Data for this field is
2287
2528
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -2666,6 +2907,13 @@ module Google
2666
2907
  # @return [String]
2667
2908
  attr_accessor :name
2668
2909
 
2910
+ # `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2911
+ # connection state changes. * Granular permission needed:
2912
+ # TELEMETRY_API_NETWORK_REPORT
2913
+ # Corresponds to the JSON property `networkStateChangeEvent`
2914
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent]
2915
+ attr_accessor :network_state_change_event
2916
+
2669
2917
  # Timestamp that represents when the event was reported.
2670
2918
  # Corresponds to the JSON property `reportTime`
2671
2919
  # @return [String]
@@ -2683,6 +2931,19 @@ module Google
2683
2931
  # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo]
2684
2932
  attr_accessor :user
2685
2933
 
2934
+ # `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
2935
+ # connection state changes. * Granular permission needed:
2936
+ # TELEMETRY_API_NETWORK_REPORT
2937
+ # Corresponds to the JSON property `vpnConnectionStateChangeEvent`
2938
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent]
2939
+ attr_accessor :vpn_connection_state_change_event
2940
+
2941
+ # `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength
2942
+ # events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
2943
+ # Corresponds to the JSON property `wifiSignalStrengthEvent`
2944
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent]
2945
+ attr_accessor :wifi_signal_strength_event
2946
+
2686
2947
  def initialize(**args)
2687
2948
  update!(**args)
2688
2949
  end
@@ -2694,9 +2955,12 @@ module Google
2694
2955
  @event_type = args[:event_type] if args.key?(:event_type)
2695
2956
  @https_latency_change_event = args[:https_latency_change_event] if args.key?(:https_latency_change_event)
2696
2957
  @name = args[:name] if args.key?(:name)
2958
+ @network_state_change_event = args[:network_state_change_event] if args.key?(:network_state_change_event)
2697
2959
  @report_time = args[:report_time] if args.key?(:report_time)
2698
2960
  @usb_peripherals_event = args[:usb_peripherals_event] if args.key?(:usb_peripherals_event)
2699
2961
  @user = args[:user] if args.key?(:user)
2962
+ @vpn_connection_state_change_event = args[:vpn_connection_state_change_event] if args.key?(:vpn_connection_state_change_event)
2963
+ @wifi_signal_strength_event = args[:wifi_signal_strength_event] if args.key?(:wifi_signal_strength_event)
2700
2964
  end
2701
2965
  end
2702
2966
 
@@ -2748,6 +3012,59 @@ module Google
2748
3012
  end
2749
3013
  end
2750
3014
 
3015
+ # `TelemetryNetworkConnectionStateChangeEvent` is triggered on network
3016
+ # connection state changes. * Granular permission needed:
3017
+ # TELEMETRY_API_NETWORK_REPORT
3018
+ class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
3019
+ include Google::Apis::Core::Hashable
3020
+
3021
+ # Current connection state of the network.
3022
+ # Corresponds to the JSON property `connectionState`
3023
+ # @return [String]
3024
+ attr_accessor :connection_state
3025
+
3026
+ # Unique identifier of the network.
3027
+ # Corresponds to the JSON property `guid`
3028
+ # @return [String]
3029
+ attr_accessor :guid
3030
+
3031
+ def initialize(**args)
3032
+ update!(**args)
3033
+ end
3034
+
3035
+ # Update properties of this object
3036
+ def update!(**args)
3037
+ @connection_state = args[:connection_state] if args.key?(:connection_state)
3038
+ @guid = args[:guid] if args.key?(:guid)
3039
+ end
3040
+ end
3041
+
3042
+ # `TelemetryNetworkSignalStrengthEvent` is triggered on WiFi signal strength
3043
+ # events. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT
3044
+ class GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent
3045
+ include Google::Apis::Core::Hashable
3046
+
3047
+ # Unique identifier of the network.
3048
+ # Corresponds to the JSON property `guid`
3049
+ # @return [String]
3050
+ attr_accessor :guid
3051
+
3052
+ # Signal strength RSSI value.
3053
+ # Corresponds to the JSON property `signalStrengthDbm`
3054
+ # @return [Fixnum]
3055
+ attr_accessor :signal_strength_dbm
3056
+
3057
+ def initialize(**args)
3058
+ update!(**args)
3059
+ end
3060
+
3061
+ # Update properties of this object
3062
+ def update!(**args)
3063
+ @guid = args[:guid] if args.key?(:guid)
3064
+ @signal_strength_dbm = args[:signal_strength_dbm] if args.key?(:signal_strength_dbm)
3065
+ end
3066
+ end
3067
+
2751
3068
  # Configuration to receive notifications of telemetry data.
2752
3069
  class GoogleChromeManagementV1TelemetryNotificationConfig
2753
3070
  include Google::Apis::Core::Hashable
@@ -3158,6 +3475,52 @@ module Google
3158
3475
  end
3159
3476
  end
3160
3477
 
3478
+ # Report for CountPrintJobsByUser, contains printing statistics for a user.
3479
+ # Contains the number of printers, the number of devices used to initiate print
3480
+ # jobs, and the number of print jobs initiated.
3481
+ class GoogleChromeManagementV1UserPrintReport
3482
+ include Google::Apis::Core::Hashable
3483
+
3484
+ # Number of chrome devices that have been used to initiate print jobs by the
3485
+ # user.
3486
+ # Corresponds to the JSON property `deviceCount`
3487
+ # @return [Fixnum]
3488
+ attr_accessor :device_count
3489
+
3490
+ # Number of print jobs initiated by the user.
3491
+ # Corresponds to the JSON property `jobCount`
3492
+ # @return [Fixnum]
3493
+ attr_accessor :job_count
3494
+
3495
+ # Number of printers used by the user.
3496
+ # Corresponds to the JSON property `printerCount`
3497
+ # @return [Fixnum]
3498
+ attr_accessor :printer_count
3499
+
3500
+ # The primary e-mail address of the user.
3501
+ # Corresponds to the JSON property `userEmail`
3502
+ # @return [String]
3503
+ attr_accessor :user_email
3504
+
3505
+ # The unique Directory API ID of the user.
3506
+ # Corresponds to the JSON property `userId`
3507
+ # @return [String]
3508
+ attr_accessor :user_id
3509
+
3510
+ def initialize(**args)
3511
+ update!(**args)
3512
+ end
3513
+
3514
+ # Update properties of this object
3515
+ def update!(**args)
3516
+ @device_count = args[:device_count] if args.key?(:device_count)
3517
+ @job_count = args[:job_count] if args.key?(:job_count)
3518
+ @printer_count = args[:printer_count] if args.key?(:printer_count)
3519
+ @user_email = args[:user_email] if args.key?(:user_email)
3520
+ @user_id = args[:user_id] if args.key?(:user_id)
3521
+ end
3522
+ end
3523
+
3161
3524
  # A generic empty message that you can re-use to avoid defining duplicated empty
3162
3525
  # messages in your APIs. A typical example is to use it as the request or the
3163
3526
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230830"
25
+ REVISION = "20230913"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
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
+
145
157
  class GoogleChromeManagementV1CpuInfo
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -202,6 +214,12 @@ module Google
202
214
  include Google::Apis::Core::JsonObjectSupport
203
215
  end
204
216
 
217
+ class GoogleChromeManagementV1EnumeratePrintJobsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
205
223
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
@@ -322,6 +340,18 @@ module Google
322
340
  include Google::Apis::Core::JsonObjectSupport
323
341
  end
324
342
 
343
+ class GoogleChromeManagementV1PrintJob
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleChromeManagementV1PrinterReport
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
325
355
  class GoogleChromeManagementV1StorageInfo
326
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
357
 
@@ -376,6 +406,18 @@ module Google
376
406
  include Google::Apis::Core::JsonObjectSupport
377
407
  end
378
408
 
409
+ class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
379
421
  class GoogleChromeManagementV1TelemetryNotificationConfig
380
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
423
 
@@ -442,6 +484,12 @@ module Google
442
484
  include Google::Apis::Core::JsonObjectSupport
443
485
  end
444
486
 
487
+ class GoogleChromeManagementV1UserPrintReport
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
445
493
  class GoogleProtobufEmpty
446
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
495
 
@@ -699,6 +747,26 @@ module Google
699
747
  end
700
748
  end
701
749
 
750
+ class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ property :next_page_token, as: 'nextPageToken'
754
+ collection :printer_reports, as: 'printerReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport::Representation
755
+
756
+ property :total_size, :numeric_string => true, as: 'totalSize'
757
+ end
758
+ end
759
+
760
+ class GoogleChromeManagementV1CountPrintJobsByUserResponse
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :next_page_token, as: 'nextPageToken'
764
+ property :total_size, :numeric_string => true, as: 'totalSize'
765
+ collection :user_print_reports, as: 'userPrintReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport::Representation
766
+
767
+ end
768
+ end
769
+
702
770
  class GoogleChromeManagementV1CpuInfo
703
771
  # @private
704
772
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -808,6 +876,16 @@ module Google
808
876
  end
809
877
  end
810
878
 
879
+ class GoogleChromeManagementV1EnumeratePrintJobsResponse
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :next_page_token, as: 'nextPageToken'
883
+ collection :print_jobs, as: 'printJobs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob::Representation
884
+
885
+ property :total_size, :numeric_string => true, as: 'totalSize'
886
+ end
887
+ end
888
+
811
889
  class GoogleChromeManagementV1FindInstalledAppDevicesResponse
812
890
  # @private
813
891
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1017,6 +1095,37 @@ module Google
1017
1095
  end
1018
1096
  end
1019
1097
 
1098
+ class GoogleChromeManagementV1PrintJob
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :color_mode, as: 'colorMode'
1102
+ property :complete_time, as: 'completeTime'
1103
+ property :copy_count, as: 'copyCount'
1104
+ property :create_time, as: 'createTime'
1105
+ property :document_page_count, as: 'documentPageCount'
1106
+ property :duplex_mode, as: 'duplexMode'
1107
+ property :id, as: 'id'
1108
+ property :printer, as: 'printer'
1109
+ property :printer_id, as: 'printerId'
1110
+ property :state, as: 'state'
1111
+ property :title, as: 'title'
1112
+ property :user_email, as: 'userEmail'
1113
+ property :user_id, as: 'userId'
1114
+ end
1115
+ end
1116
+
1117
+ class GoogleChromeManagementV1PrinterReport
1118
+ # @private
1119
+ class Representation < Google::Apis::Core::JsonRepresentation
1120
+ property :device_count, :numeric_string => true, as: 'deviceCount'
1121
+ property :job_count, :numeric_string => true, as: 'jobCount'
1122
+ property :printer, as: 'printer'
1123
+ property :printer_id, as: 'printerId'
1124
+ property :printer_model, as: 'printerModel'
1125
+ property :user_count, :numeric_string => true, as: 'userCount'
1126
+ end
1127
+ end
1128
+
1020
1129
  class GoogleChromeManagementV1StorageInfo
1021
1130
  # @private
1022
1131
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1121,11 +1230,17 @@ module Google
1121
1230
  property :https_latency_change_event, as: 'httpsLatencyChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent::Representation
1122
1231
 
1123
1232
  property :name, as: 'name'
1233
+ property :network_state_change_event, as: 'networkStateChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent::Representation
1234
+
1124
1235
  property :report_time, as: 'reportTime'
1125
1236
  property :usb_peripherals_event, as: 'usbPeripheralsEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUsbPeripheralsEvent::Representation
1126
1237
 
1127
1238
  property :user, as: 'user', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryUserInfo::Representation
1128
1239
 
1240
+ property :vpn_connection_state_change_event, as: 'vpnConnectionStateChangeEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent::Representation
1241
+
1242
+ property :wifi_signal_strength_event, as: 'wifiSignalStrengthEvent', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent::Representation
1243
+
1129
1244
  end
1130
1245
  end
1131
1246
 
@@ -1145,6 +1260,22 @@ module Google
1145
1260
  end
1146
1261
  end
1147
1262
 
1263
+ class GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent
1264
+ # @private
1265
+ class Representation < Google::Apis::Core::JsonRepresentation
1266
+ property :connection_state, as: 'connectionState'
1267
+ property :guid, as: 'guid'
1268
+ end
1269
+ end
1270
+
1271
+ class GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ property :guid, as: 'guid'
1275
+ property :signal_strength_dbm, as: 'signalStrengthDbm'
1276
+ end
1277
+ end
1278
+
1148
1279
  class GoogleChromeManagementV1TelemetryNotificationConfig
1149
1280
  # @private
1150
1281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1259,6 +1390,17 @@ module Google
1259
1390
  end
1260
1391
  end
1261
1392
 
1393
+ class GoogleChromeManagementV1UserPrintReport
1394
+ # @private
1395
+ class Representation < Google::Apis::Core::JsonRepresentation
1396
+ property :device_count, :numeric_string => true, as: 'deviceCount'
1397
+ property :job_count, :numeric_string => true, as: 'jobCount'
1398
+ property :printer_count, :numeric_string => true, as: 'printerCount'
1399
+ property :user_email, as: 'userEmail'
1400
+ property :user_id, as: 'userId'
1401
+ end
1402
+ end
1403
+
1262
1404
  class GoogleProtobufEmpty
1263
1405
  # @private
1264
1406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -454,6 +454,168 @@ module Google
454
454
  execute_or_queue_command(command, &block)
455
455
  end
456
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: * complete_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: * complete_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
+
561
+ # Get a list of print jobs.
562
+ # @param [String] customer
563
+ # Required. Customer ID prefixed with "customers/" or "customers/my_customer" to
564
+ # use the customer associated to the account making the request.
565
+ # @param [String] filter
566
+ # Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
567
+ # operations are not supported in this filter. Note: Only >= and <= comparators
568
+ # are supported for `complete_time`. Note: Only = comparator supported for `
569
+ # user_id` and `printer_id`. Supported filter fields: * complete_time *
570
+ # printer_id * user_id
571
+ # @param [String] order_by
572
+ # Field used to order results. If not specified, results will be ordered in
573
+ # descending order of the `complete_time` field. Supported order by fields: *
574
+ # title * state * create_time * complete_time * document_page_count * color_mode
575
+ # * duplex_mode * printer * user_email
576
+ # @param [Fixnum] page_size
577
+ # The number of print jobs in the page from 0 to 100 inclusive, if page_size is
578
+ # not specified or zero, the size will be 50.
579
+ # @param [String] page_token
580
+ # A page token received from a previous `EnumeratePrintJobs` call. Provide this
581
+ # to retrieve the subsequent page. If omitted, the first page of results will be
582
+ # returned. When paginating, all other parameters provided to `
583
+ # EnumeratePrintJobs` must match the call that provided the page token.
584
+ # @param [String] printer_org_unit_id
585
+ # The ID of the organizational unit for printers. If specified, only print jobs
586
+ # submitted to printers from the specified organizational unit will be returned.
587
+ # @param [String] fields
588
+ # Selector specifying which fields to include in a partial response.
589
+ # @param [String] quota_user
590
+ # Available to use for quota purposes for server-side applications. Can be any
591
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
592
+ # @param [Google::Apis::RequestOptions] options
593
+ # Request-specific options
594
+ #
595
+ # @yield [result, err] Result & error if block supplied
596
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1EnumeratePrintJobsResponse] parsed result object
597
+ # @yieldparam err [StandardError] error object if request failed
598
+ #
599
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1EnumeratePrintJobsResponse]
600
+ #
601
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
602
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
603
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
604
+ def enumerate_customer_report_print_jobs(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)
605
+ command = make_simple_command(:get, 'v1/{+customer}/reports:enumeratePrintJobs', options)
606
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1EnumeratePrintJobsResponse::Representation
607
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1EnumeratePrintJobsResponse
608
+ command.params['customer'] = customer unless customer.nil?
609
+ command.query['filter'] = filter unless filter.nil?
610
+ command.query['orderBy'] = order_by unless order_by.nil?
611
+ command.query['pageSize'] = page_size unless page_size.nil?
612
+ command.query['pageToken'] = page_token unless page_token.nil?
613
+ command.query['printerOrgUnitId'] = printer_org_unit_id unless printer_org_unit_id.nil?
614
+ command.query['fields'] = fields unless fields.nil?
615
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
616
+ execute_or_queue_command(command, &block)
617
+ end
618
+
457
619
  # Generate report of managed Chrome browser devices that have a specified app
458
620
  # installed.
459
621
  # @param [String] customer
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.43.0
4
+ version: 0.45.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-09-03 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.45.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: []