google-apis-chromemanagement_v1 0.35.0 → 0.36.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 +5 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +302 -0
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/chromemanagement_v1/representations.rb +122 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +104 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e828c1a6bd7db364a507197e1901e5ece63f5eee4630faf567e9b8658324cd6
|
4
|
+
data.tar.gz: 862f751d8980f56d02b066b8c51305228d81e5cbe3e14237f7e6b45e0a2b4651
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a622b050fefedfc63e09d26b4662de41563bacb965584bbf26b8e469c1e4e083b8717d06b2cf6b00b62e55125bdafd6c038ce8f0d49062a3cf8f4ee040f4292e
|
7
|
+
data.tar.gz: b5c4b5580220f4cdd6140f356af48c36ca62dceb42f21a2e743b18973d7d61d77316211acd3c3bee09ff9138a44732f4305b0ec4f27bc2de4eb89c5779d5b59f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-chromemanagement_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2023-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230223
|
6
|
+
* Regenerated using generator version 0.12.0
|
7
|
+
|
3
8
|
### v0.35.0 (2023-02-12)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20230209
|
@@ -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/
|
@@ -1319,6 +1384,62 @@ module Google
|
|
1319
1384
|
end
|
1320
1385
|
end
|
1321
1386
|
|
1387
|
+
# Information of a display device.
|
1388
|
+
class GoogleChromeManagementV1DisplayDevice
|
1389
|
+
include Google::Apis::Core::Hashable
|
1390
|
+
|
1391
|
+
# Output only. Display height in millimeters.
|
1392
|
+
# Corresponds to the JSON property `displayHeightMm`
|
1393
|
+
# @return [Fixnum]
|
1394
|
+
attr_accessor :display_height_mm
|
1395
|
+
|
1396
|
+
# Output only. Display device name.
|
1397
|
+
# Corresponds to the JSON property `displayName`
|
1398
|
+
# @return [String]
|
1399
|
+
attr_accessor :display_name
|
1400
|
+
|
1401
|
+
# Output only. Display width in millimeters.
|
1402
|
+
# Corresponds to the JSON property `displayWidthMm`
|
1403
|
+
# @return [Fixnum]
|
1404
|
+
attr_accessor :display_width_mm
|
1405
|
+
|
1406
|
+
# Output only. Is display internal or not.
|
1407
|
+
# Corresponds to the JSON property `internal`
|
1408
|
+
# @return [Boolean]
|
1409
|
+
attr_accessor :internal
|
1410
|
+
alias_method :internal?, :internal
|
1411
|
+
|
1412
|
+
# Output only. Year of manufacture.
|
1413
|
+
# Corresponds to the JSON property `manufactureYear`
|
1414
|
+
# @return [Fixnum]
|
1415
|
+
attr_accessor :manufacture_year
|
1416
|
+
|
1417
|
+
# Output only. Three letter manufacturer ID.
|
1418
|
+
# Corresponds to the JSON property `manufacturerId`
|
1419
|
+
# @return [String]
|
1420
|
+
attr_accessor :manufacturer_id
|
1421
|
+
|
1422
|
+
# Output only. Manufacturer product code.
|
1423
|
+
# Corresponds to the JSON property `modelId`
|
1424
|
+
# @return [Fixnum]
|
1425
|
+
attr_accessor :model_id
|
1426
|
+
|
1427
|
+
def initialize(**args)
|
1428
|
+
update!(**args)
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
# Update properties of this object
|
1432
|
+
def update!(**args)
|
1433
|
+
@display_height_mm = args[:display_height_mm] if args.key?(:display_height_mm)
|
1434
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1435
|
+
@display_width_mm = args[:display_width_mm] if args.key?(:display_width_mm)
|
1436
|
+
@internal = args[:internal] if args.key?(:internal)
|
1437
|
+
@manufacture_year = args[:manufacture_year] if args.key?(:manufacture_year)
|
1438
|
+
@manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
|
1439
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
|
1322
1443
|
# Information for a display.
|
1323
1444
|
class GoogleChromeManagementV1DisplayInfo
|
1324
1445
|
include Google::Apis::Core::Hashable
|
@@ -1328,6 +1449,11 @@ module Google
|
|
1328
1449
|
# @return [Fixnum]
|
1329
1450
|
attr_accessor :device_id
|
1330
1451
|
|
1452
|
+
# Output only. Display device name.
|
1453
|
+
# Corresponds to the JSON property `displayName`
|
1454
|
+
# @return [String]
|
1455
|
+
attr_accessor :display_name
|
1456
|
+
|
1331
1457
|
# Output only. Indicates if display is internal or not.
|
1332
1458
|
# Corresponds to the JSON property `isInternal`
|
1333
1459
|
# @return [Boolean]
|
@@ -1356,6 +1482,7 @@ module Google
|
|
1356
1482
|
# Update properties of this object
|
1357
1483
|
def update!(**args)
|
1358
1484
|
@device_id = args[:device_id] if args.key?(:device_id)
|
1485
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1359
1486
|
@is_internal = args[:is_internal] if args.key?(:is_internal)
|
1360
1487
|
@refresh_rate = args[:refresh_rate] if args.key?(:refresh_rate)
|
1361
1488
|
@resolution_height = args[:resolution_height] if args.key?(:resolution_height)
|
@@ -1443,6 +1570,22 @@ module Google
|
|
1443
1570
|
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo]
|
1444
1571
|
attr_accessor :adapter_info
|
1445
1572
|
|
1573
|
+
# Output only. Information about the display(s) of the device.
|
1574
|
+
# Corresponds to the JSON property `displayDevices`
|
1575
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice>]
|
1576
|
+
attr_accessor :display_devices
|
1577
|
+
|
1578
|
+
# Output only. Is ePrivacy screen supported or not.
|
1579
|
+
# Corresponds to the JSON property `eprivacySupported`
|
1580
|
+
# @return [Boolean]
|
1581
|
+
attr_accessor :eprivacy_supported
|
1582
|
+
alias_method :eprivacy_supported?, :eprivacy_supported
|
1583
|
+
|
1584
|
+
# Information on the device touch screen.
|
1585
|
+
# Corresponds to the JSON property `touchScreenInfo`
|
1586
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo]
|
1587
|
+
attr_accessor :touch_screen_info
|
1588
|
+
|
1446
1589
|
def initialize(**args)
|
1447
1590
|
update!(**args)
|
1448
1591
|
end
|
@@ -1450,6 +1593,9 @@ module Google
|
|
1450
1593
|
# Update properties of this object
|
1451
1594
|
def update!(**args)
|
1452
1595
|
@adapter_info = args[:adapter_info] if args.key?(:adapter_info)
|
1596
|
+
@display_devices = args[:display_devices] if args.key?(:display_devices)
|
1597
|
+
@eprivacy_supported = args[:eprivacy_supported] if args.key?(:eprivacy_supported)
|
1598
|
+
@touch_screen_info = args[:touch_screen_info] if args.key?(:touch_screen_info)
|
1453
1599
|
end
|
1454
1600
|
end
|
1455
1601
|
|
@@ -2067,6 +2213,59 @@ module Google
|
|
2067
2213
|
end
|
2068
2214
|
end
|
2069
2215
|
|
2216
|
+
# Report for CountPrintJobsByPrinter, contains statistics on printer usage.
|
2217
|
+
# Contains the total number of print jobs initiated with this printer, the
|
2218
|
+
# number of users and the number of devices that have initiated at least one
|
2219
|
+
# print job with this printer.
|
2220
|
+
class GoogleChromeManagementV1PrinterReport
|
2221
|
+
include Google::Apis::Core::Hashable
|
2222
|
+
|
2223
|
+
# Number of chrome devices that have been used to send print jobs to the
|
2224
|
+
# specified printer.
|
2225
|
+
# Corresponds to the JSON property `deviceCount`
|
2226
|
+
# @return [Fixnum]
|
2227
|
+
attr_accessor :device_count
|
2228
|
+
|
2229
|
+
# Number of print jobs sent to the printer.
|
2230
|
+
# Corresponds to the JSON property `jobCount`
|
2231
|
+
# @return [Fixnum]
|
2232
|
+
attr_accessor :job_count
|
2233
|
+
|
2234
|
+
# Printer name.
|
2235
|
+
# Corresponds to the JSON property `printer`
|
2236
|
+
# @return [String]
|
2237
|
+
attr_accessor :printer
|
2238
|
+
|
2239
|
+
# Printer API ID.
|
2240
|
+
# Corresponds to the JSON property `printerId`
|
2241
|
+
# @return [String]
|
2242
|
+
attr_accessor :printer_id
|
2243
|
+
|
2244
|
+
# Printer model.
|
2245
|
+
# Corresponds to the JSON property `printerModel`
|
2246
|
+
# @return [String]
|
2247
|
+
attr_accessor :printer_model
|
2248
|
+
|
2249
|
+
# Number of users that have sent print jobs to the printer.
|
2250
|
+
# Corresponds to the JSON property `userCount`
|
2251
|
+
# @return [Fixnum]
|
2252
|
+
attr_accessor :user_count
|
2253
|
+
|
2254
|
+
def initialize(**args)
|
2255
|
+
update!(**args)
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# Update properties of this object
|
2259
|
+
def update!(**args)
|
2260
|
+
@device_count = args[:device_count] if args.key?(:device_count)
|
2261
|
+
@job_count = args[:job_count] if args.key?(:job_count)
|
2262
|
+
@printer = args[:printer] if args.key?(:printer)
|
2263
|
+
@printer_id = args[:printer_id] if args.key?(:printer_id)
|
2264
|
+
@printer_model = args[:printer_model] if args.key?(:printer_model)
|
2265
|
+
@user_count = args[:user_count] if args.key?(:user_count)
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2070
2269
|
# Status data for storage. * This field is telemetry information and this will
|
2071
2270
|
# change over time as the device is utilized. * Data for this field is
|
2072
2271
|
# controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
|
@@ -2688,6 +2887,63 @@ module Google
|
|
2688
2887
|
end
|
2689
2888
|
end
|
2690
2889
|
|
2890
|
+
# Information of an internal touch screen device.
|
2891
|
+
class GoogleChromeManagementV1TouchScreenDevice
|
2892
|
+
include Google::Apis::Core::Hashable
|
2893
|
+
|
2894
|
+
# Output only. Touch screen device display name.
|
2895
|
+
# Corresponds to the JSON property `displayName`
|
2896
|
+
# @return [String]
|
2897
|
+
attr_accessor :display_name
|
2898
|
+
|
2899
|
+
# Output only. Touch screen device is stylus capable or not.
|
2900
|
+
# Corresponds to the JSON property `stylusCapable`
|
2901
|
+
# @return [Boolean]
|
2902
|
+
attr_accessor :stylus_capable
|
2903
|
+
alias_method :stylus_capable?, :stylus_capable
|
2904
|
+
|
2905
|
+
# Output only. Number of touch points supported on the device.
|
2906
|
+
# Corresponds to the JSON property `touchPointCount`
|
2907
|
+
# @return [Fixnum]
|
2908
|
+
attr_accessor :touch_point_count
|
2909
|
+
|
2910
|
+
def initialize(**args)
|
2911
|
+
update!(**args)
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
# Update properties of this object
|
2915
|
+
def update!(**args)
|
2916
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2917
|
+
@stylus_capable = args[:stylus_capable] if args.key?(:stylus_capable)
|
2918
|
+
@touch_point_count = args[:touch_point_count] if args.key?(:touch_point_count)
|
2919
|
+
end
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
# Information on the device touch screen.
|
2923
|
+
class GoogleChromeManagementV1TouchScreenInfo
|
2924
|
+
include Google::Apis::Core::Hashable
|
2925
|
+
|
2926
|
+
# Output only. List of the internal touch screen devices.
|
2927
|
+
# Corresponds to the JSON property `devices`
|
2928
|
+
# @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice>]
|
2929
|
+
attr_accessor :devices
|
2930
|
+
|
2931
|
+
# Output only. Touchpad library name used by the input stack.
|
2932
|
+
# Corresponds to the JSON property `touchpadLibrary`
|
2933
|
+
# @return [String]
|
2934
|
+
attr_accessor :touchpad_library
|
2935
|
+
|
2936
|
+
def initialize(**args)
|
2937
|
+
update!(**args)
|
2938
|
+
end
|
2939
|
+
|
2940
|
+
# Update properties of this object
|
2941
|
+
def update!(**args)
|
2942
|
+
@devices = args[:devices] if args.key?(:devices)
|
2943
|
+
@touchpad_library = args[:touchpad_library] if args.key?(:touchpad_library)
|
2944
|
+
end
|
2945
|
+
end
|
2946
|
+
|
2691
2947
|
# USB connected peripheral report.
|
2692
2948
|
class GoogleChromeManagementV1UsbPeripheralReport
|
2693
2949
|
include Google::Apis::Core::Hashable
|
@@ -2750,6 +3006,52 @@ module Google
|
|
2750
3006
|
end
|
2751
3007
|
end
|
2752
3008
|
|
3009
|
+
# Report for CountPrintJobsByUser, contains printing statistics for a user.
|
3010
|
+
# Contains the number of printers, the number of devices used to initiate print
|
3011
|
+
# jobs, and the number of print jobs initiated.
|
3012
|
+
class GoogleChromeManagementV1UserPrintReport
|
3013
|
+
include Google::Apis::Core::Hashable
|
3014
|
+
|
3015
|
+
# Number of chrome devices that have been used to initiate print jobs by the
|
3016
|
+
# user.
|
3017
|
+
# Corresponds to the JSON property `deviceCount`
|
3018
|
+
# @return [Fixnum]
|
3019
|
+
attr_accessor :device_count
|
3020
|
+
|
3021
|
+
# Number of print jobs initiated by the user.
|
3022
|
+
# Corresponds to the JSON property `jobCount`
|
3023
|
+
# @return [Fixnum]
|
3024
|
+
attr_accessor :job_count
|
3025
|
+
|
3026
|
+
# Number of printers used by the user.
|
3027
|
+
# Corresponds to the JSON property `printerCount`
|
3028
|
+
# @return [Fixnum]
|
3029
|
+
attr_accessor :printer_count
|
3030
|
+
|
3031
|
+
# The primary e-mail address of the user.
|
3032
|
+
# Corresponds to the JSON property `userEmail`
|
3033
|
+
# @return [String]
|
3034
|
+
attr_accessor :user_email
|
3035
|
+
|
3036
|
+
# The unique Directory API ID of the user.
|
3037
|
+
# Corresponds to the JSON property `userId`
|
3038
|
+
# @return [String]
|
3039
|
+
attr_accessor :user_id
|
3040
|
+
|
3041
|
+
def initialize(**args)
|
3042
|
+
update!(**args)
|
3043
|
+
end
|
3044
|
+
|
3045
|
+
# Update properties of this object
|
3046
|
+
def update!(**args)
|
3047
|
+
@device_count = args[:device_count] if args.key?(:device_count)
|
3048
|
+
@job_count = args[:job_count] if args.key?(:job_count)
|
3049
|
+
@printer_count = args[:printer_count] if args.key?(:printer_count)
|
3050
|
+
@user_email = args[:user_email] if args.key?(:user_email)
|
3051
|
+
@user_id = args[:user_id] if args.key?(:user_id)
|
3052
|
+
end
|
3053
|
+
end
|
3054
|
+
|
2753
3055
|
# The `Status` type defines a logical error model that is suitable for different
|
2754
3056
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2755
3057
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChromemanagementV1
|
18
18
|
# Version of the google-apis-chromemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230223"
|
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
|
|
@@ -184,6 +196,12 @@ module Google
|
|
184
196
|
include Google::Apis::Core::JsonObjectSupport
|
185
197
|
end
|
186
198
|
|
199
|
+
class GoogleChromeManagementV1DisplayDevice
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
187
205
|
class GoogleChromeManagementV1DisplayInfo
|
188
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
207
|
|
@@ -292,6 +310,12 @@ module Google
|
|
292
310
|
include Google::Apis::Core::JsonObjectSupport
|
293
311
|
end
|
294
312
|
|
313
|
+
class GoogleChromeManagementV1PrinterReport
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
295
319
|
class GoogleChromeManagementV1StorageInfo
|
296
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
321
|
|
@@ -376,12 +400,30 @@ module Google
|
|
376
400
|
include Google::Apis::Core::JsonObjectSupport
|
377
401
|
end
|
378
402
|
|
403
|
+
class GoogleChromeManagementV1TouchScreenDevice
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class GoogleChromeManagementV1TouchScreenInfo
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
379
415
|
class GoogleChromeManagementV1UsbPeripheralReport
|
380
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
417
|
|
382
418
|
include Google::Apis::Core::JsonObjectSupport
|
383
419
|
end
|
384
420
|
|
421
|
+
class GoogleChromeManagementV1UserPrintReport
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
385
427
|
class GoogleRpcStatus
|
386
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
429
|
|
@@ -633,6 +675,26 @@ module Google
|
|
633
675
|
end
|
634
676
|
end
|
635
677
|
|
678
|
+
class GoogleChromeManagementV1CountPrintJobsByPrinterResponse
|
679
|
+
# @private
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
681
|
+
property :next_page_token, as: 'nextPageToken'
|
682
|
+
collection :printer_reports, as: 'printerReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrinterReport::Representation
|
683
|
+
|
684
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
class GoogleChromeManagementV1CountPrintJobsByUserResponse
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
property :next_page_token, as: 'nextPageToken'
|
692
|
+
property :total_size, :numeric_string => true, as: 'totalSize'
|
693
|
+
collection :user_print_reports, as: 'userPrintReports', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1UserPrintReport::Representation
|
694
|
+
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
636
698
|
class GoogleChromeManagementV1CpuInfo
|
637
699
|
# @private
|
638
700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -709,10 +771,24 @@ module Google
|
|
709
771
|
end
|
710
772
|
end
|
711
773
|
|
774
|
+
class GoogleChromeManagementV1DisplayDevice
|
775
|
+
# @private
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
777
|
+
property :display_height_mm, as: 'displayHeightMm'
|
778
|
+
property :display_name, as: 'displayName'
|
779
|
+
property :display_width_mm, as: 'displayWidthMm'
|
780
|
+
property :internal, as: 'internal'
|
781
|
+
property :manufacture_year, as: 'manufactureYear'
|
782
|
+
property :manufacturer_id, as: 'manufacturerId'
|
783
|
+
property :model_id, as: 'modelId'
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
712
787
|
class GoogleChromeManagementV1DisplayInfo
|
713
788
|
# @private
|
714
789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
715
790
|
property :device_id, :numeric_string => true, as: 'deviceId'
|
791
|
+
property :display_name, as: 'displayName'
|
716
792
|
property :is_internal, as: 'isInternal'
|
717
793
|
property :refresh_rate, as: 'refreshRate'
|
718
794
|
property :resolution_height, as: 'resolutionHeight'
|
@@ -744,6 +820,11 @@ module Google
|
|
744
820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
745
821
|
property :adapter_info, as: 'adapterInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1GraphicsAdapterInfo::Representation
|
746
822
|
|
823
|
+
collection :display_devices, as: 'displayDevices', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1DisplayDevice::Representation
|
824
|
+
|
825
|
+
property :eprivacy_supported, as: 'eprivacySupported'
|
826
|
+
property :touch_screen_info, as: 'touchScreenInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenInfo::Representation
|
827
|
+
|
747
828
|
end
|
748
829
|
end
|
749
830
|
|
@@ -898,6 +979,18 @@ module Google
|
|
898
979
|
end
|
899
980
|
end
|
900
981
|
|
982
|
+
class GoogleChromeManagementV1PrinterReport
|
983
|
+
# @private
|
984
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
985
|
+
property :device_count, :numeric_string => true, as: 'deviceCount'
|
986
|
+
property :job_count, :numeric_string => true, as: 'jobCount'
|
987
|
+
property :printer, as: 'printer'
|
988
|
+
property :printer_id, as: 'printerId'
|
989
|
+
property :printer_model, as: 'printerModel'
|
990
|
+
property :user_count, :numeric_string => true, as: 'userCount'
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
901
994
|
class GoogleChromeManagementV1StorageInfo
|
902
995
|
# @private
|
903
996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1072,6 +1165,24 @@ module Google
|
|
1072
1165
|
end
|
1073
1166
|
end
|
1074
1167
|
|
1168
|
+
class GoogleChromeManagementV1TouchScreenDevice
|
1169
|
+
# @private
|
1170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1171
|
+
property :display_name, as: 'displayName'
|
1172
|
+
property :stylus_capable, as: 'stylusCapable'
|
1173
|
+
property :touch_point_count, as: 'touchPointCount'
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class GoogleChromeManagementV1TouchScreenInfo
|
1178
|
+
# @private
|
1179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1180
|
+
collection :devices, as: 'devices', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1TouchScreenDevice::Representation
|
1181
|
+
|
1182
|
+
property :touchpad_library, as: 'touchpadLibrary'
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1075
1186
|
class GoogleChromeManagementV1UsbPeripheralReport
|
1076
1187
|
# @private
|
1077
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1086,6 +1197,17 @@ module Google
|
|
1086
1197
|
end
|
1087
1198
|
end
|
1088
1199
|
|
1200
|
+
class GoogleChromeManagementV1UserPrintReport
|
1201
|
+
# @private
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1203
|
+
property :device_count, :numeric_string => true, as: 'deviceCount'
|
1204
|
+
property :job_count, :numeric_string => true, as: 'jobCount'
|
1205
|
+
property :printer_count, :numeric_string => true, as: 'printerCount'
|
1206
|
+
property :user_email, as: 'userEmail'
|
1207
|
+
property :user_id, as: 'userId'
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1089
1211
|
class GoogleRpcStatus
|
1090
1212
|
# @private
|
1091
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,6 +454,110 @@ 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: * completion_time
|
465
|
+
# @param [String] order_by
|
466
|
+
# Field used to order results. If omitted, results will be ordered in ascending
|
467
|
+
# order of the 'printer' field. Supported order_by fields: * printer * job_count
|
468
|
+
# * device_count * user_count
|
469
|
+
# @param [Fixnum] page_size
|
470
|
+
# Maximum number of results to return. Maximum and default are 100.
|
471
|
+
# @param [String] page_token
|
472
|
+
# Token to specify the page of the response to be returned.
|
473
|
+
# @param [String] printer_org_unit_id
|
474
|
+
# The ID of the organizational unit for printers. If specified, only data for
|
475
|
+
# printers from the specified organizational unit will be returned. If omitted,
|
476
|
+
# data for printers from all organizational units will be returned.
|
477
|
+
# @param [String] fields
|
478
|
+
# Selector specifying which fields to include in a partial response.
|
479
|
+
# @param [String] quota_user
|
480
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
481
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
482
|
+
# @param [Google::Apis::RequestOptions] options
|
483
|
+
# Request-specific options
|
484
|
+
#
|
485
|
+
# @yield [result, err] Result & error if block supplied
|
486
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse] parsed result object
|
487
|
+
# @yieldparam err [StandardError] error object if request failed
|
488
|
+
#
|
489
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse]
|
490
|
+
#
|
491
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
492
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
493
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
494
|
+
def count_customer_report_print_jobs_by_printer(customer, filter: nil, order_by: nil, page_size: nil, page_token: nil, printer_org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
495
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countPrintJobsByPrinter', options)
|
496
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse::Representation
|
497
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByPrinterResponse
|
498
|
+
command.params['customer'] = customer unless customer.nil?
|
499
|
+
command.query['filter'] = filter unless filter.nil?
|
500
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
501
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
502
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
503
|
+
command.query['printerOrgUnitId'] = printer_org_unit_id unless printer_org_unit_id.nil?
|
504
|
+
command.query['fields'] = fields unless fields.nil?
|
505
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
506
|
+
execute_or_queue_command(command, &block)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Get a summary of printing done by each user.
|
510
|
+
# @param [String] customer
|
511
|
+
# Required. Customer ID prefixed with "customers/" or "customers/my_customer" to
|
512
|
+
# use the customer associated to the account making the request.
|
513
|
+
# @param [String] filter
|
514
|
+
# Query string to filter results, AND-separated fields in EBNF syntax. Note: OR
|
515
|
+
# operations are not supported in this filter. Note: Only >= and <= comparators
|
516
|
+
# are supported in this filter. Supported filter fields: * completion_time
|
517
|
+
# @param [String] order_by
|
518
|
+
# Field used to order results. If omitted, results will be ordered in ascending
|
519
|
+
# order of the 'user_email' field. Supported order_by fields: * user_email *
|
520
|
+
# job_count * printer_count * device_count
|
521
|
+
# @param [Fixnum] page_size
|
522
|
+
# Maximum number of results to return. Maximum and default are 100.
|
523
|
+
# @param [String] page_token
|
524
|
+
# Token to specify the page of the response to be returned.
|
525
|
+
# @param [String] printer_org_unit_id
|
526
|
+
# The ID of the organizational unit for printers. If specified, only print jobs
|
527
|
+
# initiated with printers from the specified organizational unit will be counted.
|
528
|
+
# If omitted, all print jobs will be counted.
|
529
|
+
# @param [String] fields
|
530
|
+
# Selector specifying which fields to include in a partial response.
|
531
|
+
# @param [String] quota_user
|
532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
534
|
+
# @param [Google::Apis::RequestOptions] options
|
535
|
+
# Request-specific options
|
536
|
+
#
|
537
|
+
# @yield [result, err] Result & error if block supplied
|
538
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse] parsed result object
|
539
|
+
# @yieldparam err [StandardError] error object if request failed
|
540
|
+
#
|
541
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse]
|
542
|
+
#
|
543
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
544
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
|
+
def count_customer_report_print_jobs_by_user(customer, filter: nil, order_by: nil, page_size: nil, page_token: nil, printer_org_unit_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countPrintJobsByUser', options)
|
548
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse::Representation
|
549
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountPrintJobsByUserResponse
|
550
|
+
command.params['customer'] = customer unless customer.nil?
|
551
|
+
command.query['filter'] = filter unless filter.nil?
|
552
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
553
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
554
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
555
|
+
command.query['printerOrgUnitId'] = printer_org_unit_id unless printer_org_unit_id.nil?
|
556
|
+
command.query['fields'] = fields unless fields.nil?
|
557
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
558
|
+
execute_or_queue_command(command, &block)
|
559
|
+
end
|
560
|
+
|
457
561
|
# Generate report of devices that have a specified app installed.
|
458
562
|
# @param [String] customer
|
459
563
|
# Required. Customer id or "my_customer" to use the customer associated to the
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chromemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.11.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.11.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|