google-apis-chromemanagement_v1 0.42.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +431 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +183 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +268 -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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.44.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230905
|
6
|
+
|
7
|
+
### v0.43.0 (2023-09-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230830
|
10
|
+
|
3
11
|
### v0.42.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230822
|
@@ -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
|
@@ -1828,6 +1925,32 @@ module Google
|
|
1828
1925
|
end
|
1829
1926
|
end
|
1830
1927
|
|
1928
|
+
# Response message for listing notification configs for a customer.
|
1929
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
1930
|
+
include Google::Apis::Core::Hashable
|
1931
|
+
|
1932
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1933
|
+
# field is omitted, there are no subsequent pages.
|
1934
|
+
# Corresponds to the JSON property `nextPageToken`
|
1935
|
+
# @return [String]
|
1936
|
+
attr_accessor :next_page_token
|
1937
|
+
|
1938
|
+
# The telemetry notification configs from the specified customer.
|
1939
|
+
# Corresponds to the JSON property `telemetryNotificationConfigs`
|
1940
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig>]
|
1941
|
+
attr_accessor :telemetry_notification_configs
|
1942
|
+
|
1943
|
+
def initialize(**args)
|
1944
|
+
update!(**args)
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# Update properties of this object
|
1948
|
+
def update!(**args)
|
1949
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1950
|
+
@telemetry_notification_configs = args[:telemetry_notification_configs] if args.key?(:telemetry_notification_configs)
|
1951
|
+
end
|
1952
|
+
end
|
1953
|
+
|
1831
1954
|
# Response message for listing telemetry users for a customer.
|
1832
1955
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
1833
1956
|
include Google::Apis::Core::Hashable
|
@@ -2256,6 +2379,150 @@ module Google
|
|
2256
2379
|
end
|
2257
2380
|
end
|
2258
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
|
+
|
2259
2526
|
# Status data for storage. * This field is telemetry information and this will
|
2260
2527
|
# change over time as the device is utilized. * Data for this field is
|
2261
2528
|
# controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
|
@@ -2674,6 +2941,25 @@ module Google
|
|
2674
2941
|
end
|
2675
2942
|
end
|
2676
2943
|
|
2944
|
+
# Configures how the telemetry events should be filtered.
|
2945
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
2946
|
+
include Google::Apis::Core::Hashable
|
2947
|
+
|
2948
|
+
# Only sends the notifications for events of these types. Must not be empty.
|
2949
|
+
# Corresponds to the JSON property `eventTypes`
|
2950
|
+
# @return [Array<String>]
|
2951
|
+
attr_accessor :event_types
|
2952
|
+
|
2953
|
+
def initialize(**args)
|
2954
|
+
update!(**args)
|
2955
|
+
end
|
2956
|
+
|
2957
|
+
# Update properties of this object
|
2958
|
+
def update!(**args)
|
2959
|
+
@event_types = args[:event_types] if args.key?(:event_types)
|
2960
|
+
end
|
2961
|
+
end
|
2962
|
+
|
2677
2963
|
# Https latency routine is run periodically and `
|
2678
2964
|
# TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was
|
2679
2965
|
# detected or if the device has recovered from a latency problem. * Granular
|
@@ -2703,6 +2989,89 @@ module Google
|
|
2703
2989
|
end
|
2704
2990
|
end
|
2705
2991
|
|
2992
|
+
# Configuration to receive notifications of telemetry data.
|
2993
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
2994
|
+
include Google::Apis::Core::Hashable
|
2995
|
+
|
2996
|
+
# Output only. Google Workspace customer that owns the resource.
|
2997
|
+
# Corresponds to the JSON property `customer`
|
2998
|
+
# @return [String]
|
2999
|
+
attr_accessor :customer
|
3000
|
+
|
3001
|
+
# Configures how the telemetry data should be filtered.
|
3002
|
+
# Corresponds to the JSON property `filter`
|
3003
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter]
|
3004
|
+
attr_accessor :filter
|
3005
|
+
|
3006
|
+
# The pubsub topic to which notifications are published to.
|
3007
|
+
# Corresponds to the JSON property `googleCloudPubsubTopic`
|
3008
|
+
# @return [String]
|
3009
|
+
attr_accessor :google_cloud_pubsub_topic
|
3010
|
+
|
3011
|
+
# Output only. Resource name of the notification configuration.
|
3012
|
+
# Corresponds to the JSON property `name`
|
3013
|
+
# @return [String]
|
3014
|
+
attr_accessor :name
|
3015
|
+
|
3016
|
+
def initialize(**args)
|
3017
|
+
update!(**args)
|
3018
|
+
end
|
3019
|
+
|
3020
|
+
# Update properties of this object
|
3021
|
+
def update!(**args)
|
3022
|
+
@customer = args[:customer] if args.key?(:customer)
|
3023
|
+
@filter = args[:filter] if args.key?(:filter)
|
3024
|
+
@google_cloud_pubsub_topic = args[:google_cloud_pubsub_topic] if args.key?(:google_cloud_pubsub_topic)
|
3025
|
+
@name = args[:name] if args.key?(:name)
|
3026
|
+
end
|
3027
|
+
end
|
3028
|
+
|
3029
|
+
# Configures how the telemetry data should be filtered.
|
3030
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
3031
|
+
include Google::Apis::Core::Hashable
|
3032
|
+
|
3033
|
+
# If set, only sends notifications for telemetry data coming from this device.
|
3034
|
+
# Corresponds to the JSON property `deviceId`
|
3035
|
+
# @return [String]
|
3036
|
+
attr_accessor :device_id
|
3037
|
+
|
3038
|
+
# If set, only sends notifications for telemetry data coming from devices in
|
3039
|
+
# this org unit.
|
3040
|
+
# Corresponds to the JSON property `deviceOrgUnitId`
|
3041
|
+
# @return [String]
|
3042
|
+
attr_accessor :device_org_unit_id
|
3043
|
+
|
3044
|
+
# Configures how the telemetry events should be filtered.
|
3045
|
+
# Corresponds to the JSON property `telemetryEventNotificationFilter`
|
3046
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter]
|
3047
|
+
attr_accessor :telemetry_event_notification_filter
|
3048
|
+
|
3049
|
+
# If set, only sends notifications for telemetry data coming from devices owned
|
3050
|
+
# by this user.
|
3051
|
+
# Corresponds to the JSON property `userEmail`
|
3052
|
+
# @return [String]
|
3053
|
+
attr_accessor :user_email
|
3054
|
+
|
3055
|
+
# If set, only sends notifications for telemetry data coming from devices owned
|
3056
|
+
# by users in this org unit.
|
3057
|
+
# Corresponds to the JSON property `userOrgUnitId`
|
3058
|
+
# @return [String]
|
3059
|
+
attr_accessor :user_org_unit_id
|
3060
|
+
|
3061
|
+
def initialize(**args)
|
3062
|
+
update!(**args)
|
3063
|
+
end
|
3064
|
+
|
3065
|
+
# Update properties of this object
|
3066
|
+
def update!(**args)
|
3067
|
+
@device_id = args[:device_id] if args.key?(:device_id)
|
3068
|
+
@device_org_unit_id = args[:device_org_unit_id] if args.key?(:device_org_unit_id)
|
3069
|
+
@telemetry_event_notification_filter = args[:telemetry_event_notification_filter] if args.key?(:telemetry_event_notification_filter)
|
3070
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
3071
|
+
@user_org_unit_id = args[:user_org_unit_id] if args.key?(:user_org_unit_id)
|
3072
|
+
end
|
3073
|
+
end
|
3074
|
+
|
2706
3075
|
# `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or
|
2707
3076
|
# removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT
|
2708
3077
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
@@ -3030,6 +3399,68 @@ module Google
|
|
3030
3399
|
end
|
3031
3400
|
end
|
3032
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
|
+
|
3448
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
3449
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
3450
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
3451
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
3452
|
+
class GoogleProtobufEmpty
|
3453
|
+
include Google::Apis::Core::Hashable
|
3454
|
+
|
3455
|
+
def initialize(**args)
|
3456
|
+
update!(**args)
|
3457
|
+
end
|
3458
|
+
|
3459
|
+
# Update properties of this object
|
3460
|
+
def update!(**args)
|
3461
|
+
end
|
3462
|
+
end
|
3463
|
+
|
3033
3464
|
# The `Status` type defines a logical error model that is suitable for different
|
3034
3465
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3035
3466
|
# 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.
|
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
|
|
@@ -262,6 +280,12 @@ module Google
|
|
262
280
|
include Google::Apis::Core::JsonObjectSupport
|
263
281
|
end
|
264
282
|
|
283
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
265
289
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
266
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
291
|
|
@@ -316,6 +340,18 @@ module Google
|
|
316
340
|
include Google::Apis::Core::JsonObjectSupport
|
317
341
|
end
|
318
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
|
+
|
319
355
|
class GoogleChromeManagementV1StorageInfo
|
320
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
357
|
|
@@ -358,12 +394,30 @@ module Google
|
|
358
394
|
include Google::Apis::Core::JsonObjectSupport
|
359
395
|
end
|
360
396
|
|
397
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
361
403
|
class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
|
362
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
405
|
|
364
406
|
include Google::Apis::Core::JsonObjectSupport
|
365
407
|
end
|
366
408
|
|
409
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
367
421
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
368
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
423
|
|
@@ -418,6 +472,18 @@ module Google
|
|
418
472
|
include Google::Apis::Core::JsonObjectSupport
|
419
473
|
end
|
420
474
|
|
475
|
+
class GoogleChromeManagementV1UserPrintReport
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class GoogleProtobufEmpty
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
421
487
|
class GoogleRpcStatus
|
422
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
489
|
|
@@ -669,6 +735,26 @@ module Google
|
|
669
735
|
end
|
670
736
|
end
|
671
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
|
+
|
672
758
|
class GoogleChromeManagementV1CpuInfo
|
673
759
|
# @private
|
674
760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -778,6 +864,16 @@ module Google
|
|
778
864
|
end
|
779
865
|
end
|
780
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
|
+
|
781
877
|
class GoogleChromeManagementV1FindInstalledAppDevicesResponse
|
782
878
|
# @private
|
783
879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -879,6 +975,15 @@ module Google
|
|
879
975
|
end
|
880
976
|
end
|
881
977
|
|
978
|
+
class GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
979
|
+
# @private
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
981
|
+
property :next_page_token, as: 'nextPageToken'
|
982
|
+
collection :telemetry_notification_configs, as: 'telemetryNotificationConfigs', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
983
|
+
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
882
987
|
class GoogleChromeManagementV1ListTelemetryUsersResponse
|
883
988
|
# @private
|
884
989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -978,6 +1083,37 @@ module Google
|
|
978
1083
|
end
|
979
1084
|
end
|
980
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
|
+
|
981
1117
|
class GoogleChromeManagementV1StorageInfo
|
982
1118
|
# @private
|
983
1119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1090,6 +1226,13 @@ module Google
|
|
1090
1226
|
end
|
1091
1227
|
end
|
1092
1228
|
|
1229
|
+
class GoogleChromeManagementV1TelemetryEventNotificationFilter
|
1230
|
+
# @private
|
1231
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1232
|
+
collection :event_types, as: 'eventTypes'
|
1233
|
+
end
|
1234
|
+
end
|
1235
|
+
|
1093
1236
|
class GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent
|
1094
1237
|
# @private
|
1095
1238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1099,6 +1242,29 @@ module Google
|
|
1099
1242
|
end
|
1100
1243
|
end
|
1101
1244
|
|
1245
|
+
class GoogleChromeManagementV1TelemetryNotificationConfig
|
1246
|
+
# @private
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1248
|
+
property :customer, as: 'customer'
|
1249
|
+
property :filter, as: 'filter', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationFilter::Representation
|
1250
|
+
|
1251
|
+
property :google_cloud_pubsub_topic, as: 'googleCloudPubsubTopic'
|
1252
|
+
property :name, as: 'name'
|
1253
|
+
end
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
class GoogleChromeManagementV1TelemetryNotificationFilter
|
1257
|
+
# @private
|
1258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1259
|
+
property :device_id, as: 'deviceId'
|
1260
|
+
property :device_org_unit_id, as: 'deviceOrgUnitId'
|
1261
|
+
property :telemetry_event_notification_filter, as: 'telemetryEventNotificationFilter', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryEventNotificationFilter::Representation
|
1262
|
+
|
1263
|
+
property :user_email, as: 'userEmail'
|
1264
|
+
property :user_org_unit_id, as: 'userOrgUnitId'
|
1265
|
+
end
|
1266
|
+
end
|
1267
|
+
|
1102
1268
|
class GoogleChromeManagementV1TelemetryUsbPeripheralsEvent
|
1103
1269
|
# @private
|
1104
1270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1190,6 +1356,23 @@ module Google
|
|
1190
1356
|
end
|
1191
1357
|
end
|
1192
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
|
+
|
1370
|
+
class GoogleProtobufEmpty
|
1371
|
+
# @private
|
1372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1373
|
+
end
|
1374
|
+
end
|
1375
|
+
|
1193
1376
|
class GoogleRpcStatus
|
1194
1377
|
# @private
|
1195
1378
|
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
|
@@ -647,6 +809,112 @@ module Google
|
|
647
809
|
execute_or_queue_command(command, &block)
|
648
810
|
end
|
649
811
|
|
812
|
+
# Create a telemetry notification config.
|
813
|
+
# @param [String] parent
|
814
|
+
# Required. The parent resource where this notification config will be created.
|
815
|
+
# Format: `customers/`customer``
|
816
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig] google_chrome_management_v1_telemetry_notification_config_object
|
817
|
+
# @param [String] fields
|
818
|
+
# Selector specifying which fields to include in a partial response.
|
819
|
+
# @param [String] quota_user
|
820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
822
|
+
# @param [Google::Apis::RequestOptions] options
|
823
|
+
# Request-specific options
|
824
|
+
#
|
825
|
+
# @yield [result, err] Result & error if block supplied
|
826
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig] parsed result object
|
827
|
+
# @yieldparam err [StandardError] error object if request failed
|
828
|
+
#
|
829
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig]
|
830
|
+
#
|
831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
834
|
+
def create_customer_telemetry_notification_config(parent, google_chrome_management_v1_telemetry_notification_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
835
|
+
command = make_simple_command(:post, 'v1/{+parent}/telemetry/notificationConfigs', options)
|
836
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
837
|
+
command.request_object = google_chrome_management_v1_telemetry_notification_config_object
|
838
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig::Representation
|
839
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TelemetryNotificationConfig
|
840
|
+
command.params['parent'] = parent unless parent.nil?
|
841
|
+
command.query['fields'] = fields unless fields.nil?
|
842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
843
|
+
execute_or_queue_command(command, &block)
|
844
|
+
end
|
845
|
+
|
846
|
+
# Delete a telemetry notification config.
|
847
|
+
# @param [String] name
|
848
|
+
# Required. The name of the notification config to delete. Format: `customers/`
|
849
|
+
# customer`/telemetry/notificationConfigs/`notification_config``
|
850
|
+
# @param [String] fields
|
851
|
+
# Selector specifying which fields to include in a partial response.
|
852
|
+
# @param [String] quota_user
|
853
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
854
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
855
|
+
# @param [Google::Apis::RequestOptions] options
|
856
|
+
# Request-specific options
|
857
|
+
#
|
858
|
+
# @yield [result, err] Result & error if block supplied
|
859
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
|
860
|
+
# @yieldparam err [StandardError] error object if request failed
|
861
|
+
#
|
862
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
|
863
|
+
#
|
864
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
865
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
866
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
867
|
+
def delete_customer_telemetry_notification_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
868
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
869
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
|
870
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
|
871
|
+
command.params['name'] = name unless name.nil?
|
872
|
+
command.query['fields'] = fields unless fields.nil?
|
873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
874
|
+
execute_or_queue_command(command, &block)
|
875
|
+
end
|
876
|
+
|
877
|
+
# List all telemetry notification configs.
|
878
|
+
# @param [String] parent
|
879
|
+
# Required. The parent which owns the notification configs.
|
880
|
+
# @param [Fixnum] page_size
|
881
|
+
# The maximum number of notification configs to return. The service may return
|
882
|
+
# fewer than this value. If unspecified, at most 100 notification configs will
|
883
|
+
# be returned. The maximum value is 100; values above 100 will be coerced to 100.
|
884
|
+
# @param [String] page_token
|
885
|
+
# A page token, received from a previous `ListTelemetryNotificationConfigs` call.
|
886
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
887
|
+
# parameters provided to `ListTelemetryNotificationConfigs` must match the call
|
888
|
+
# that provided the page token.
|
889
|
+
# @param [String] fields
|
890
|
+
# Selector specifying which fields to include in a partial response.
|
891
|
+
# @param [String] quota_user
|
892
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
893
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
894
|
+
# @param [Google::Apis::RequestOptions] options
|
895
|
+
# Request-specific options
|
896
|
+
#
|
897
|
+
# @yield [result, err] Result & error if block supplied
|
898
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse] parsed result object
|
899
|
+
# @yieldparam err [StandardError] error object if request failed
|
900
|
+
#
|
901
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse]
|
902
|
+
#
|
903
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
904
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
905
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
906
|
+
def list_customer_telemetry_notification_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
907
|
+
command = make_simple_command(:get, 'v1/{+parent}/telemetry/notificationConfigs', options)
|
908
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse::Representation
|
909
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse
|
910
|
+
command.params['parent'] = parent unless parent.nil?
|
911
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
912
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
913
|
+
command.query['fields'] = fields unless fields.nil?
|
914
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
915
|
+
execute_or_queue_command(command, &block)
|
916
|
+
end
|
917
|
+
|
650
918
|
# Get telemetry user.
|
651
919
|
# @param [String] name
|
652
920
|
# Required. Name of the `TelemetryUser` to return.
|
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-
|
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: []
|