google-apis-chromemanagement_v1 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f5a7079120e7249e99daad6ee34b7ca7d18f06895fd570015e732b2db93d8b0
4
- data.tar.gz: 98bdcef1607c3a05671ecdecdd82e1c443ea14ebd346f4e41f332b19810ec5e1
3
+ metadata.gz: 6a48e0d77067ca46cfd2347b944ed0736cde1bec2bc7643421fb855e40f816c5
4
+ data.tar.gz: b4565878daac3a6b19300558e926dbb9a813ee076126be5fb9a8ca84bca8964e
5
5
  SHA512:
6
- metadata.gz: 8d39758069b8f801c79c964d8ed7bb416cb401207257ff209feae51b3c856bc994b861011cbecae15e1ba3c1649a84802760937a766e469635ec28afedc10eef
7
- data.tar.gz: 4ab7ed47b83eca48e529afc6710df33f5bed4676926fd6608433aaad94bdf670b1312d586196a5d7dad85dd06680ccc686c2281c8ac1e8fded82af75aa15ff7f
6
+ metadata.gz: b1a6ea4f8ba7f64989ca3984c7a2f54f040663c0f621da0fef7c8907e4374fe3147497ee1a518473b374211a9627bbcdf1510494d8e4783fcb8d0f2d70c10f9e
7
+ data.tar.gz: d886997badf8b560a645abb694ab1fe3d2a37c5353f1fd780ad1480320f748e4680deaf9187e321ec922a953ea3e686cf20a287ede5826191664565b98180696
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.38.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230413
6
+
3
7
  ### v0.37.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230323
@@ -989,71 +989,6 @@ 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
-
1057
992
  # CPU specifications for the device * This field provides device information,
1058
993
  # which is static and will not change over time. * Data for this field is
1059
994
  # controlled via policy: [ReportDeviceCpuInfo](https://chromeenterprise.google/
@@ -2213,59 +2148,6 @@ module Google
2213
2148
  end
2214
2149
  end
2215
2150
 
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
-
2269
2151
  # Status data for storage. * This field is telemetry information and this will
2270
2152
  # change over time as the device is utilized. * Data for this field is
2271
2153
  # controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.
@@ -3006,52 +2888,6 @@ module Google
3006
2888
  end
3007
2889
  end
3008
2890
 
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
-
3055
2891
  # The `Status` type defines a logical error model that is suitable for different
3056
2892
  # programming environments, including REST APIs and RPC APIs. It is used by [
3057
2893
  # 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.37.0"
19
+ GEM_VERSION = "0.38.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 = "20230323"
25
+ REVISION = "20230413"
26
26
  end
27
27
  end
28
28
  end
@@ -142,18 +142,6 @@ 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
-
157
145
  class GoogleChromeManagementV1CpuInfo
158
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
147
 
@@ -310,12 +298,6 @@ module Google
310
298
  include Google::Apis::Core::JsonObjectSupport
311
299
  end
312
300
 
313
- class GoogleChromeManagementV1PrinterReport
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
301
  class GoogleChromeManagementV1StorageInfo
320
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
303
 
@@ -418,12 +400,6 @@ module Google
418
400
  include Google::Apis::Core::JsonObjectSupport
419
401
  end
420
402
 
421
- class GoogleChromeManagementV1UserPrintReport
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
403
  class GoogleRpcStatus
428
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
405
 
@@ -675,26 +651,6 @@ module Google
675
651
  end
676
652
  end
677
653
 
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
-
698
654
  class GoogleChromeManagementV1CpuInfo
699
655
  # @private
700
656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,18 +935,6 @@ module Google
979
935
  end
980
936
  end
981
937
 
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
-
994
938
  class GoogleChromeManagementV1StorageInfo
995
939
  # @private
996
940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1197,17 +1141,6 @@ module Google
1197
1141
  end
1198
1142
  end
1199
1143
 
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
-
1211
1144
  class GoogleRpcStatus
1212
1145
  # @private
1213
1146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -454,110 +454,6 @@ 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
457
  # Generate report of managed Chrome browser devices that have a specified app
562
458
  # installed.
563
459
  # @param [String] customer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.38.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: []