google-apis-chromemanagement_v1 0.43.0 → 0.44.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +287 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +108 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +162 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d77cf9b7c8a10133315105c3bc4b81bcf2d1ba17048264d8b7097a716b833e8
|
4
|
+
data.tar.gz: e600c0f3ebb939411b80b3beba13287a6f14d8cbe3a312fb19f115e16469e487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c781c3afb854c5c381965a146b74590766fe17aae7b20fe10ec5f37ad0a147c60f68b7d9c87e77560b7f670a52c8a130105662d552d54dd980ca3db8b35a08b
|
7
|
+
data.tar.gz: 77adca8ee72ed4d42061ace70d7ee4be0da37a917645bac2130ba77a3255e6f6b7a62a2f29b6c79434d0c9fc51c29b22604b4c019c3a9ae93e4e05113e4d660c
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
@@ -3158,6 +3399,52 @@ module Google
|
|
3158
3399
|
end
|
3159
3400
|
end
|
3160
3401
|
|
3402
|
+
# Report for CountPrintJobsByUser, contains printing statistics for a user.
|
3403
|
+
# Contains the number of printers, the number of devices used to initiate print
|
3404
|
+
# jobs, and the number of print jobs initiated.
|
3405
|
+
class GoogleChromeManagementV1UserPrintReport
|
3406
|
+
include Google::Apis::Core::Hashable
|
3407
|
+
|
3408
|
+
# Number of chrome devices that have been used to initiate print jobs by the
|
3409
|
+
# user.
|
3410
|
+
# Corresponds to the JSON property `deviceCount`
|
3411
|
+
# @return [Fixnum]
|
3412
|
+
attr_accessor :device_count
|
3413
|
+
|
3414
|
+
# Number of print jobs initiated by the user.
|
3415
|
+
# Corresponds to the JSON property `jobCount`
|
3416
|
+
# @return [Fixnum]
|
3417
|
+
attr_accessor :job_count
|
3418
|
+
|
3419
|
+
# Number of printers used by the user.
|
3420
|
+
# Corresponds to the JSON property `printerCount`
|
3421
|
+
# @return [Fixnum]
|
3422
|
+
attr_accessor :printer_count
|
3423
|
+
|
3424
|
+
# The primary e-mail address of the user.
|
3425
|
+
# Corresponds to the JSON property `userEmail`
|
3426
|
+
# @return [String]
|
3427
|
+
attr_accessor :user_email
|
3428
|
+
|
3429
|
+
# The unique Directory API ID of the user.
|
3430
|
+
# Corresponds to the JSON property `userId`
|
3431
|
+
# @return [String]
|
3432
|
+
attr_accessor :user_id
|
3433
|
+
|
3434
|
+
def initialize(**args)
|
3435
|
+
update!(**args)
|
3436
|
+
end
|
3437
|
+
|
3438
|
+
# Update properties of this object
|
3439
|
+
def update!(**args)
|
3440
|
+
@device_count = args[:device_count] if args.key?(:device_count)
|
3441
|
+
@job_count = args[:job_count] if args.key?(:job_count)
|
3442
|
+
@printer_count = args[:printer_count] if args.key?(:printer_count)
|
3443
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
3444
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
3445
|
+
end
|
3446
|
+
end
|
3447
|
+
|
3161
3448
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
3162
3449
|
# messages in your APIs. A typical example is to use it as the request or the
|
3163
3450
|
# 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.
|
19
|
+
GEM_VERSION = "0.44.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 = "
|
25
|
+
REVISION = "20230905"
|
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
|
|
@@ -442,6 +472,12 @@ module Google
|
|
442
472
|
include Google::Apis::Core::JsonObjectSupport
|
443
473
|
end
|
444
474
|
|
475
|
+
class GoogleChromeManagementV1UserPrintReport
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
445
481
|
class GoogleProtobufEmpty
|
446
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
483
|
|
@@ -699,6 +735,26 @@ module Google
|
|
699
735
|
end
|
700
736
|
end
|
701
737
|
|
738
|
+
class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
property :next_page_token, as: 'nextPageToken'
|
742
|
+
collection :printer_reports, as: 'printerReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport::Representation
|
743
|
+
|
744
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
class GoogleChromeManagementV1CountPrintJobsByUserResponse
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :next_page_token, as: 'nextPageToken'
|
752
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
753
|
+
collection :user_print_reports, as: 'userPrintReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport::Representation
|
754
|
+
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
702
758
|
class GoogleChromeManagementV1CpuInfo
|
703
759
|
# @private
|
704
760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -808,6 +864,16 @@ module Google
|
|
808
864
|
end
|
809
865
|
end
|
810
866
|
|
867
|
+
class GoogleChromeManagementV1EnumeratePrintJobsResponse
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :next_page_token, as: 'nextPageToken'
|
871
|
+
collection :print_jobs, as: 'printJobs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob::Representation
|
872
|
+
|
873
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
811
877
|
class GoogleChromeManagementV1FindInstalledAppDevicesResponse
|
812
878
|
# @private
|
813
879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1017,6 +1083,37 @@ module Google
|
|
1017
1083
|
end
|
1018
1084
|
end
|
1019
1085
|
|
1086
|
+
class GoogleChromeManagementV1PrintJob
|
1087
|
+
# @private
|
1088
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1089
|
+
property :color_mode, as: 'colorMode'
|
1090
|
+
property :complete_time, as: 'completeTime'
|
1091
|
+
property :copy_count, as: 'copyCount'
|
1092
|
+
property :create_time, as: 'createTime'
|
1093
|
+
property :document_page_count, as: 'documentPageCount'
|
1094
|
+
property :duplex_mode, as: 'duplexMode'
|
1095
|
+
property :id, as: 'id'
|
1096
|
+
property :printer, as: 'printer'
|
1097
|
+
property :printer_id, as: 'printerId'
|
1098
|
+
property :state, as: 'state'
|
1099
|
+
property :title, as: 'title'
|
1100
|
+
property :user_email, as: 'userEmail'
|
1101
|
+
property :user_id, as: 'userId'
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
class GoogleChromeManagementV1PrinterReport
|
1106
|
+
# @private
|
1107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1108
|
+
property :device_count, :numeric_string => true, as: 'deviceCount'
|
1109
|
+
property :job_count, :numeric_string => true, as: 'jobCount'
|
1110
|
+
property :printer, as: 'printer'
|
1111
|
+
property :printer_id, as: 'printerId'
|
1112
|
+
property :printer_model, as: 'printerModel'
|
1113
|
+
property :user_count, :numeric_string => true, as: 'userCount'
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1020
1117
|
class GoogleChromeManagementV1StorageInfo
|
1021
1118
|
# @private
|
1022
1119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1259,6 +1356,17 @@ module Google
|
|
1259
1356
|
end
|
1260
1357
|
end
|
1261
1358
|
|
1359
|
+
class GoogleChromeManagementV1UserPrintReport
|
1360
|
+
# @private
|
1361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1362
|
+
property :device_count, :numeric_string => true, as: 'deviceCount'
|
1363
|
+
property :job_count, :numeric_string => true, as: 'jobCount'
|
1364
|
+
property :printer_count, :numeric_string => true, as: 'printerCount'
|
1365
|
+
property :user_email, as: 'userEmail'
|
1366
|
+
property :user_id, as: 'userId'
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1262
1370
|
class GoogleProtobufEmpty
|
1263
1371
|
# @private
|
1264
1372
|
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.
|
4
|
+
version: 0.44.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-
|
11
|
+
date: 2023-09-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.44.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: []
|