google-apis-chromemanagement_v1 0.70.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/chromemanagement_v1/classes.rb +473 -11
- data/lib/google/apis/chromemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/chromemanagement_v1/representations.rb +223 -0
- data/lib/google/apis/chromemanagement_v1/service.rb +472 -0
- metadata +2 -2
|
@@ -292,6 +292,228 @@ module Google
|
|
|
292
292
|
execute_or_queue_command(command, &block)
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
+
# Claims a certificate provisioning process. For each certificate provisioning
|
|
296
|
+
# process, this operation can succeed only for one `caller_instance_id`.
|
|
297
|
+
# @param [String] name
|
|
298
|
+
# Required. Resource name of the `CertificateProvisioningProcess` to claim. The
|
|
299
|
+
# name pattern is given as `customers/`customer`/
|
|
300
|
+
# certificateProvisioningProcesses/`certificate_provisioning_process`` with ``
|
|
301
|
+
# customer`` being the obfuscated customer id and ``
|
|
302
|
+
# certificate_provisioning_process`` being the certificate provisioning process
|
|
303
|
+
# id.
|
|
304
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest] google_chrome_management_versions_v1_claim_certificate_provisioning_process_request_object
|
|
305
|
+
# @param [String] fields
|
|
306
|
+
# Selector specifying which fields to include in a partial response.
|
|
307
|
+
# @param [String] quota_user
|
|
308
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
309
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
310
|
+
# @param [Google::Apis::RequestOptions] options
|
|
311
|
+
# Request-specific options
|
|
312
|
+
#
|
|
313
|
+
# @yield [result, err] Result & error if block supplied
|
|
314
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse] parsed result object
|
|
315
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
316
|
+
#
|
|
317
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse]
|
|
318
|
+
#
|
|
319
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
320
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
321
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
322
|
+
def claim_customer_certificate_provisioning_process(name, google_chrome_management_versions_v1_claim_certificate_provisioning_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
323
|
+
command = make_simple_command(:post, 'v1/{+name}:claim', options)
|
|
324
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessRequest::Representation
|
|
325
|
+
command.request_object = google_chrome_management_versions_v1_claim_certificate_provisioning_process_request_object
|
|
326
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse::Representation
|
|
327
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse
|
|
328
|
+
command.params['name'] = name unless name.nil?
|
|
329
|
+
command.query['fields'] = fields unless fields.nil?
|
|
330
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
331
|
+
execute_or_queue_command(command, &block)
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Retrieves a certificate provisioning process.
|
|
335
|
+
# @param [String] name
|
|
336
|
+
# Required. Resource name of the `CertificateProvisioningProcess` to return. The
|
|
337
|
+
# name pattern is given as `customers/`customer`/
|
|
338
|
+
# certificateProvisioningProcesses/`certificate_provisioning_process`` with ``
|
|
339
|
+
# customer`` being the obfuscated customer id and ``
|
|
340
|
+
# certificate_provisioning_process`` being the certificate provisioning process
|
|
341
|
+
# id.
|
|
342
|
+
# @param [String] fields
|
|
343
|
+
# Selector specifying which fields to include in a partial response.
|
|
344
|
+
# @param [String] quota_user
|
|
345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
347
|
+
# @param [Google::Apis::RequestOptions] options
|
|
348
|
+
# Request-specific options
|
|
349
|
+
#
|
|
350
|
+
# @yield [result, err] Result & error if block supplied
|
|
351
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess] parsed result object
|
|
352
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
353
|
+
#
|
|
354
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess]
|
|
355
|
+
#
|
|
356
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
357
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
358
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
359
|
+
def get_customer_certificate_provisioning_process(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
360
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
361
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess::Representation
|
|
362
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess
|
|
363
|
+
command.params['name'] = name unless name.nil?
|
|
364
|
+
command.query['fields'] = fields unless fields.nil?
|
|
365
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
366
|
+
execute_or_queue_command(command, &block)
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
# Marks a certificate provisioning process as failed.
|
|
370
|
+
# @param [String] name
|
|
371
|
+
# Required. Resource name of the `CertificateProvisioningProcess` to return. The
|
|
372
|
+
# name pattern is given as `customers/`customer`/
|
|
373
|
+
# certificateProvisioningProcesses/`certificate_provisioning_process`` with ``
|
|
374
|
+
# customer`` being the obfuscated customer id and ``
|
|
375
|
+
# certificate_provisioning_process`` being the certificate provisioning process
|
|
376
|
+
# id.
|
|
377
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureRequest] google_chrome_management_versions_v1_set_failure_request_object
|
|
378
|
+
# @param [String] fields
|
|
379
|
+
# Selector specifying which fields to include in a partial response.
|
|
380
|
+
# @param [String] quota_user
|
|
381
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
382
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
383
|
+
# @param [Google::Apis::RequestOptions] options
|
|
384
|
+
# Request-specific options
|
|
385
|
+
#
|
|
386
|
+
# @yield [result, err] Result & error if block supplied
|
|
387
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureResponse] parsed result object
|
|
388
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
389
|
+
#
|
|
390
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureResponse]
|
|
391
|
+
#
|
|
392
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
393
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
394
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
395
|
+
def set_customer_certificate_provisioning_process_failure(name, google_chrome_management_versions_v1_set_failure_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
396
|
+
command = make_simple_command(:post, 'v1/{+name}:setFailure', options)
|
|
397
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureRequest::Representation
|
|
398
|
+
command.request_object = google_chrome_management_versions_v1_set_failure_request_object
|
|
399
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureResponse::Representation
|
|
400
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SetFailureResponse
|
|
401
|
+
command.params['name'] = name unless name.nil?
|
|
402
|
+
command.query['fields'] = fields unless fields.nil?
|
|
403
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
404
|
+
execute_or_queue_command(command, &block)
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# Requests the client that initiated a certificate provisioning process to sign
|
|
408
|
+
# data. This should only be called after `ClaimCertificateProvisioningProcess`
|
|
409
|
+
# has been successfully executed.
|
|
410
|
+
# @param [String] name
|
|
411
|
+
# Required. Resource name of the `CertificateProvisioningProcess` to return. The
|
|
412
|
+
# name pattern is given as `customers/`customer`/
|
|
413
|
+
# certificateProvisioningProcesses/`certificate_provisioning_process`` with ``
|
|
414
|
+
# customer`` being the obfuscated customer id and ``
|
|
415
|
+
# certificate_provisioning_process`` being the certificate provisioning process
|
|
416
|
+
# id.
|
|
417
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SignDataRequest] google_chrome_management_versions_v1_sign_data_request_object
|
|
418
|
+
# @param [String] fields
|
|
419
|
+
# Selector specifying which fields to include in a partial response.
|
|
420
|
+
# @param [String] quota_user
|
|
421
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
422
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
423
|
+
# @param [Google::Apis::RequestOptions] options
|
|
424
|
+
# Request-specific options
|
|
425
|
+
#
|
|
426
|
+
# @yield [result, err] Result & error if block supplied
|
|
427
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleLongrunningOperation] parsed result object
|
|
428
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
429
|
+
#
|
|
430
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleLongrunningOperation]
|
|
431
|
+
#
|
|
432
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
433
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
434
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
435
|
+
def sign_customer_certificate_provisioning_process_data(name, google_chrome_management_versions_v1_sign_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
436
|
+
command = make_simple_command(:post, 'v1/{+name}:signData', options)
|
|
437
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SignDataRequest::Representation
|
|
438
|
+
command.request_object = google_chrome_management_versions_v1_sign_data_request_object
|
|
439
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleLongrunningOperation::Representation
|
|
440
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleLongrunningOperation
|
|
441
|
+
command.params['name'] = name unless name.nil?
|
|
442
|
+
command.query['fields'] = fields unless fields.nil?
|
|
443
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
444
|
+
execute_or_queue_command(command, &block)
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Uploads a successfully issued certificate for a certificate provisioning
|
|
448
|
+
# process.
|
|
449
|
+
# @param [String] name
|
|
450
|
+
# Required. Resource name of the `CertificateProvisioningProcess` to return. The
|
|
451
|
+
# name pattern is given as `customers/`customer`/
|
|
452
|
+
# certificateProvisioningProcesses/`certificate_provisioning_process`` with ``
|
|
453
|
+
# customer`` being the obfuscated customer id and ``
|
|
454
|
+
# certificate_provisioning_process`` being the certificate provisioning process
|
|
455
|
+
# id.
|
|
456
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateRequest] google_chrome_management_versions_v1_upload_certificate_request_object
|
|
457
|
+
# @param [String] fields
|
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
|
459
|
+
# @param [String] quota_user
|
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
462
|
+
# @param [Google::Apis::RequestOptions] options
|
|
463
|
+
# Request-specific options
|
|
464
|
+
#
|
|
465
|
+
# @yield [result, err] Result & error if block supplied
|
|
466
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateResponse] parsed result object
|
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
468
|
+
#
|
|
469
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateResponse]
|
|
470
|
+
#
|
|
471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
474
|
+
def upload_customer_certificate_provisioning_process_certificate(name, google_chrome_management_versions_v1_upload_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
475
|
+
command = make_simple_command(:post, 'v1/{+name}:uploadCertificate', options)
|
|
476
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateRequest::Representation
|
|
477
|
+
command.request_object = google_chrome_management_versions_v1_upload_certificate_request_object
|
|
478
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateResponse::Representation
|
|
479
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1UploadCertificateResponse
|
|
480
|
+
command.params['name'] = name unless name.nil?
|
|
481
|
+
command.query['fields'] = fields unless fields.nil?
|
|
482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
483
|
+
execute_or_queue_command(command, &block)
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
487
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
488
|
+
# @param [String] name
|
|
489
|
+
# The name of the operation resource.
|
|
490
|
+
# @param [String] fields
|
|
491
|
+
# Selector specifying which fields to include in a partial response.
|
|
492
|
+
# @param [String] quota_user
|
|
493
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
494
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
495
|
+
# @param [Google::Apis::RequestOptions] options
|
|
496
|
+
# Request-specific options
|
|
497
|
+
#
|
|
498
|
+
# @yield [result, err] Result & error if block supplied
|
|
499
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleLongrunningOperation] parsed result object
|
|
500
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
501
|
+
#
|
|
502
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleLongrunningOperation]
|
|
503
|
+
#
|
|
504
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
505
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
506
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
507
|
+
def get_customer_certificate_provisioning_process_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
508
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
509
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleLongrunningOperation::Representation
|
|
510
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleLongrunningOperation
|
|
511
|
+
command.params['name'] = name unless name.nil?
|
|
512
|
+
command.query['fields'] = fields unless fields.nil?
|
|
513
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
514
|
+
execute_or_queue_command(command, &block)
|
|
515
|
+
end
|
|
516
|
+
|
|
295
517
|
# Deletes the data collected from a Chrome browser profile.
|
|
296
518
|
# @param [String] name
|
|
297
519
|
# Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
|
|
@@ -522,6 +744,49 @@ module Google
|
|
|
522
744
|
execute_or_queue_command(command, &block)
|
|
523
745
|
end
|
|
524
746
|
|
|
747
|
+
# Get a count of active devices per set time frames.
|
|
748
|
+
# @param [String] customer
|
|
749
|
+
# Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
|
|
750
|
+
# my_customer".
|
|
751
|
+
# @param [Fixnum] date_day
|
|
752
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
|
753
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
|
754
|
+
# @param [Fixnum] date_month
|
|
755
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
|
756
|
+
# and day.
|
|
757
|
+
# @param [Fixnum] date_year
|
|
758
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
|
759
|
+
# year.
|
|
760
|
+
# @param [String] fields
|
|
761
|
+
# Selector specifying which fields to include in a partial response.
|
|
762
|
+
# @param [String] quota_user
|
|
763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
765
|
+
# @param [Google::Apis::RequestOptions] options
|
|
766
|
+
# Request-specific options
|
|
767
|
+
#
|
|
768
|
+
# @yield [result, err] Result & error if block supplied
|
|
769
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse] parsed result object
|
|
770
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
771
|
+
#
|
|
772
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse]
|
|
773
|
+
#
|
|
774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
777
|
+
def count_customer_report_active_devices(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
778
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countActiveDevices', options)
|
|
779
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse::Representation
|
|
780
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountActiveDevicesResponse
|
|
781
|
+
command.params['customer'] = customer unless customer.nil?
|
|
782
|
+
command.query['date.day'] = date_day unless date_day.nil?
|
|
783
|
+
command.query['date.month'] = date_month unless date_month.nil?
|
|
784
|
+
command.query['date.year'] = date_year unless date_year.nil?
|
|
785
|
+
command.query['fields'] = fields unless fields.nil?
|
|
786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
787
|
+
execute_or_queue_command(command, &block)
|
|
788
|
+
end
|
|
789
|
+
|
|
525
790
|
# Count of Chrome Browsers that have been recently enrolled, have new policy to
|
|
526
791
|
# be synced, or have no recent activity.
|
|
527
792
|
# @param [String] customer
|
|
@@ -772,6 +1037,92 @@ module Google
|
|
|
772
1037
|
execute_or_queue_command(command, &block)
|
|
773
1038
|
end
|
|
774
1039
|
|
|
1040
|
+
# Get a count of devices per boot type.
|
|
1041
|
+
# @param [String] customer
|
|
1042
|
+
# Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
|
|
1043
|
+
# my_customer".
|
|
1044
|
+
# @param [Fixnum] date_day
|
|
1045
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
|
1046
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
|
1047
|
+
# @param [Fixnum] date_month
|
|
1048
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
|
1049
|
+
# and day.
|
|
1050
|
+
# @param [Fixnum] date_year
|
|
1051
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
|
1052
|
+
# year.
|
|
1053
|
+
# @param [String] fields
|
|
1054
|
+
# Selector specifying which fields to include in a partial response.
|
|
1055
|
+
# @param [String] quota_user
|
|
1056
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1057
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1058
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1059
|
+
# Request-specific options
|
|
1060
|
+
#
|
|
1061
|
+
# @yield [result, err] Result & error if block supplied
|
|
1062
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse] parsed result object
|
|
1063
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1064
|
+
#
|
|
1065
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse]
|
|
1066
|
+
#
|
|
1067
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1068
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1069
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1070
|
+
def count_customer_report_devices_per_boot_type(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1071
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countDevicesPerBootType', options)
|
|
1072
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse::Representation
|
|
1073
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerBootTypeResponse
|
|
1074
|
+
command.params['customer'] = customer unless customer.nil?
|
|
1075
|
+
command.query['date.day'] = date_day unless date_day.nil?
|
|
1076
|
+
command.query['date.month'] = date_month unless date_month.nil?
|
|
1077
|
+
command.query['date.year'] = date_year unless date_year.nil?
|
|
1078
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1079
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1080
|
+
execute_or_queue_command(command, &block)
|
|
1081
|
+
end
|
|
1082
|
+
|
|
1083
|
+
# Get a count of devices per channel.
|
|
1084
|
+
# @param [String] customer
|
|
1085
|
+
# Required. Obfuscated customer ID prefixed with "customers/C" or "customers/
|
|
1086
|
+
# my_customer".
|
|
1087
|
+
# @param [Fixnum] date_day
|
|
1088
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
|
1089
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
|
1090
|
+
# @param [Fixnum] date_month
|
|
1091
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
|
1092
|
+
# and day.
|
|
1093
|
+
# @param [Fixnum] date_year
|
|
1094
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
|
1095
|
+
# year.
|
|
1096
|
+
# @param [String] fields
|
|
1097
|
+
# Selector specifying which fields to include in a partial response.
|
|
1098
|
+
# @param [String] quota_user
|
|
1099
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1100
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1101
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1102
|
+
# Request-specific options
|
|
1103
|
+
#
|
|
1104
|
+
# @yield [result, err] Result & error if block supplied
|
|
1105
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse] parsed result object
|
|
1106
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1107
|
+
#
|
|
1108
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse]
|
|
1109
|
+
#
|
|
1110
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1111
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1112
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1113
|
+
def count_customer_report_devices_per_release_channel(customer, date_day: nil, date_month: nil, date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1114
|
+
command = make_simple_command(:get, 'v1/{+customer}/reports:countDevicesPerReleaseChannel', options)
|
|
1115
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse::Representation
|
|
1116
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse
|
|
1117
|
+
command.params['customer'] = customer unless customer.nil?
|
|
1118
|
+
command.query['date.day'] = date_day unless date_day.nil?
|
|
1119
|
+
command.query['date.month'] = date_month unless date_month.nil?
|
|
1120
|
+
command.query['date.year'] = date_year unless date_year.nil?
|
|
1121
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1123
|
+
execute_or_queue_command(command, &block)
|
|
1124
|
+
end
|
|
1125
|
+
|
|
775
1126
|
# Generate report of app installations.
|
|
776
1127
|
# @param [String] customer
|
|
777
1128
|
# Required. Customer id or "my_customer" to use the customer associated to the
|
|
@@ -1429,6 +1780,127 @@ module Google
|
|
|
1429
1780
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1430
1781
|
execute_or_queue_command(command, &block)
|
|
1431
1782
|
end
|
|
1783
|
+
|
|
1784
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
1785
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
1786
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1787
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
1788
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
1789
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
1790
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
1791
|
+
# , corresponding to `Code.CANCELLED`.
|
|
1792
|
+
# @param [String] name
|
|
1793
|
+
# The name of the operation resource to be cancelled.
|
|
1794
|
+
# @param [Google::Apis::ChromemanagementV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
|
1795
|
+
# @param [String] fields
|
|
1796
|
+
# Selector specifying which fields to include in a partial response.
|
|
1797
|
+
# @param [String] quota_user
|
|
1798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1800
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1801
|
+
# Request-specific options
|
|
1802
|
+
#
|
|
1803
|
+
# @yield [result, err] Result & error if block supplied
|
|
1804
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
|
|
1805
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1806
|
+
#
|
|
1807
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
|
|
1808
|
+
#
|
|
1809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1812
|
+
def cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1813
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
1814
|
+
command.request_representation = Google::Apis::ChromemanagementV1::GoogleLongrunningCancelOperationRequest::Representation
|
|
1815
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
|
1816
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
|
|
1817
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
|
|
1818
|
+
command.params['name'] = name unless name.nil?
|
|
1819
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1820
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1821
|
+
execute_or_queue_command(command, &block)
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1824
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
1825
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
1826
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
1827
|
+
# UNIMPLEMENTED`.
|
|
1828
|
+
# @param [String] name
|
|
1829
|
+
# The name of the operation resource to be deleted.
|
|
1830
|
+
# @param [String] fields
|
|
1831
|
+
# Selector specifying which fields to include in a partial response.
|
|
1832
|
+
# @param [String] quota_user
|
|
1833
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1834
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1835
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1836
|
+
# Request-specific options
|
|
1837
|
+
#
|
|
1838
|
+
# @yield [result, err] Result & error if block supplied
|
|
1839
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
|
|
1840
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1841
|
+
#
|
|
1842
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
|
|
1843
|
+
#
|
|
1844
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1845
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1846
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1847
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1848
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1849
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
|
|
1850
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
|
|
1851
|
+
command.params['name'] = name unless name.nil?
|
|
1852
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1853
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1854
|
+
execute_or_queue_command(command, &block)
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
1858
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
1859
|
+
# @param [String] name
|
|
1860
|
+
# The name of the operation's parent resource.
|
|
1861
|
+
# @param [String] filter
|
|
1862
|
+
# The standard list filter.
|
|
1863
|
+
# @param [Fixnum] page_size
|
|
1864
|
+
# The standard list page size.
|
|
1865
|
+
# @param [String] page_token
|
|
1866
|
+
# The standard list page token.
|
|
1867
|
+
# @param [Boolean] return_partial_success
|
|
1868
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1869
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
1870
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
1871
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
1872
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
1873
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
1874
|
+
# @param [String] fields
|
|
1875
|
+
# Selector specifying which fields to include in a partial response.
|
|
1876
|
+
# @param [String] quota_user
|
|
1877
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1878
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1879
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1880
|
+
# Request-specific options
|
|
1881
|
+
#
|
|
1882
|
+
# @yield [result, err] Result & error if block supplied
|
|
1883
|
+
# @yieldparam result [Google::Apis::ChromemanagementV1::GoogleLongrunningListOperationsResponse] parsed result object
|
|
1884
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1885
|
+
#
|
|
1886
|
+
# @return [Google::Apis::ChromemanagementV1::GoogleLongrunningListOperationsResponse]
|
|
1887
|
+
#
|
|
1888
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1889
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1890
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1891
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1892
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1893
|
+
command.response_representation = Google::Apis::ChromemanagementV1::GoogleLongrunningListOperationsResponse::Representation
|
|
1894
|
+
command.response_class = Google::Apis::ChromemanagementV1::GoogleLongrunningListOperationsResponse
|
|
1895
|
+
command.params['name'] = name unless name.nil?
|
|
1896
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1897
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1898
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1899
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
1900
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1902
|
+
execute_or_queue_command(command, &block)
|
|
1903
|
+
end
|
|
1432
1904
|
|
|
1433
1905
|
protected
|
|
1434
1906
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.72.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.72.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|