google-cloud-chronicle-v1 0.6.0 → 0.8.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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/chronicle/v1/big_query_export_service/client.rb +2 -0
  4. data/lib/google/cloud/chronicle/v1/big_query_export_service/rest/client.rb +2 -0
  5. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/client.rb +2 -0
  6. data/lib/google/cloud/chronicle/v1/dashboard_chart_service/rest/client.rb +2 -0
  7. data/lib/google/cloud/chronicle/v1/dashboard_query_service/client.rb +2 -0
  8. data/lib/google/cloud/chronicle/v1/dashboard_query_service/rest/client.rb +2 -0
  9. data/lib/google/cloud/chronicle/v1/data_access_control_service/client.rb +2 -0
  10. data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/client.rb +2 -0
  11. data/lib/google/cloud/chronicle/v1/data_table_service/client.rb +2 -0
  12. data/lib/google/cloud/chronicle/v1/data_table_service/rest/client.rb +2 -0
  13. data/lib/google/cloud/chronicle/v1/entity_service/client.rb +2 -0
  14. data/lib/google/cloud/chronicle/v1/entity_service/rest/client.rb +2 -0
  15. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/client.rb +2 -0
  16. data/lib/google/cloud/chronicle/v1/featured_content_native_dashboard_service/rest/client.rb +2 -0
  17. data/lib/google/cloud/chronicle/v1/instance_service/client.rb +2 -0
  18. data/lib/google/cloud/chronicle/v1/instance_service/rest/client.rb +2 -0
  19. data/lib/google/cloud/chronicle/v1/native_dashboard_service/client.rb +2 -0
  20. data/lib/google/cloud/chronicle/v1/native_dashboard_service/rest/client.rb +2 -0
  21. data/lib/google/cloud/chronicle/v1/reference_list_pb.rb +4 -1
  22. data/lib/google/cloud/chronicle/v1/reference_list_service/client.rb +106 -0
  23. data/lib/google/cloud/chronicle/v1/reference_list_service/credentials.rb +2 -0
  24. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/client.rb +99 -0
  25. data/lib/google/cloud/chronicle/v1/reference_list_service/rest/service_stub.rb +62 -0
  26. data/lib/google/cloud/chronicle/v1/reference_list_services_pb.rb +2 -0
  27. data/lib/google/cloud/chronicle/v1/rest.rb +1 -0
  28. data/lib/google/cloud/chronicle/v1/rule_execution_error_pb.rb +30 -0
  29. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/client.rb +522 -0
  30. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/credentials.rb +49 -0
  31. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/paths.rb +52 -0
  32. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/client.rb +472 -0
  33. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/service_stub.rb +142 -0
  34. data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest.rb +53 -0
  35. data/lib/google/cloud/chronicle/v1/rule_execution_error_service.rb +56 -0
  36. data/lib/google/cloud/chronicle/v1/rule_execution_error_services_pb.rb +46 -0
  37. data/lib/google/cloud/chronicle/v1/rule_pb.rb +3 -1
  38. data/lib/google/cloud/chronicle/v1/rule_service/client.rb +103 -0
  39. data/lib/google/cloud/chronicle/v1/rule_service/credentials.rb +2 -0
  40. data/lib/google/cloud/chronicle/v1/rule_service/operations.rb +2 -0
  41. data/lib/google/cloud/chronicle/v1/rule_service/rest/client.rb +96 -0
  42. data/lib/google/cloud/chronicle/v1/rule_service/rest/operations.rb +2 -0
  43. data/lib/google/cloud/chronicle/v1/rule_service/rest/service_stub.rb +62 -0
  44. data/lib/google/cloud/chronicle/v1/rule_services_pb.rb +2 -0
  45. data/lib/google/cloud/chronicle/v1/version.rb +1 -1
  46. data/lib/google/cloud/chronicle/v1.rb +1 -0
  47. data/proto_docs/google/cloud/chronicle/v1/reference_list.rb +43 -0
  48. data/proto_docs/google/cloud/chronicle/v1/rule.rb +27 -0
  49. data/proto_docs/google/cloud/chronicle/v1/rule_execution_error.rb +116 -0
  50. metadata +13 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 922bfd1f79f8d6ef191b1e14af87a41027ca94f7ff5f99c57ea61a3b28c4a690
4
- data.tar.gz: 666b4f160968c5063606f9fab6d9280d00e83d167d84e9be701afaf8d382e82e
3
+ metadata.gz: 83dad30f14a0a67773af2f5f721474ace0344c33db50c7f6981bf5e66351c75d
4
+ data.tar.gz: 30246e0851ccb399a314aa5c6be8dae6e2903db480feef062d38b4535aace304
5
5
  SHA512:
6
- metadata.gz: 59664accd0da9628892e9285bea2abeaad62c559f2587505c8b81a1a9833b40eb67538606622372072b6dda135c9676c9145256e8b789774dca3d73d5ab9969b
7
- data.tar.gz: 9f5fcfbf7223ba1ea8cba95f4f6ad115d6c3426224b38bf5ec64ba9a812ea39b31f0fb8392e25ca41f846b4c8efc98e522d32e5b41a127472de1bf2e23d1c6a3
6
+ metadata.gz: 769d0cefef1a597de7cf364f6a5a529d44050318b3e3b965b27020986e0dc1b1e17fde953783ab6f170fe18d7e0cb7c34f6be28fdc6452e851b890fa1498763a
7
+ data.tar.gz: b68341754191110ea148d3050828095c9389d4cd0e9a0fbcabb2d2d1b055941910ba2756dc5a6148da1b833a10d8dbb8567c8abb8a9f055917985663af3f396d
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 3.0+.
89
+ This library is supported on Ruby 3.2+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -558,6 +558,7 @@ module Google
558
558
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
559
559
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
560
560
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
561
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
561
562
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
562
563
  # trigger a retry.
563
564
  # @return [::Hash]
@@ -641,6 +642,7 @@ module Google
641
642
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
642
643
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
643
644
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
645
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
644
646
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
645
647
  # trigger a retry.
646
648
  #
@@ -504,6 +504,7 @@ module Google
504
504
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
505
505
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
506
506
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
507
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
507
508
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
508
509
  # trigger a retry.
509
510
  # @return [::Hash]
@@ -576,6 +577,7 @@ module Google
576
577
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
577
578
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
578
579
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
580
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
579
581
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
580
582
  # trigger a retry.
581
583
  #
@@ -467,6 +467,7 @@ module Google
467
467
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
468
468
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
469
469
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
470
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
470
471
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
471
472
  # trigger a retry.
472
473
  # @return [::Hash]
@@ -550,6 +551,7 @@ module Google
550
551
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
551
552
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
552
553
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
554
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
553
555
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
554
556
  # trigger a retry.
555
557
  #
@@ -420,6 +420,7 @@ module Google
420
420
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
421
421
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
422
422
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
423
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
423
424
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
424
425
  # trigger a retry.
425
426
  # @return [::Hash]
@@ -492,6 +493,7 @@ module Google
492
493
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
493
494
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
494
495
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
496
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
495
497
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
496
498
  # trigger a retry.
497
499
  #
@@ -472,6 +472,7 @@ module Google
472
472
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
473
473
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
474
474
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
475
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
475
476
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
476
477
  # trigger a retry.
477
478
  # @return [::Hash]
@@ -555,6 +556,7 @@ module Google
555
556
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
556
557
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
557
558
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
559
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
558
560
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
559
561
  # trigger a retry.
560
562
  #
@@ -425,6 +425,7 @@ module Google
425
425
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
426
426
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
427
427
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
428
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
428
429
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
429
430
  # trigger a retry.
430
431
  # @return [::Hash]
@@ -497,6 +498,7 @@ module Google
497
498
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
498
499
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
499
500
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
501
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
500
502
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
501
503
  # trigger a retry.
502
504
  #
@@ -1258,6 +1258,7 @@ module Google
1258
1258
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1259
1259
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1260
1260
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1261
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1261
1262
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1262
1263
  # trigger a retry.
1263
1264
  # @return [::Hash]
@@ -1341,6 +1342,7 @@ module Google
1341
1342
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1342
1343
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1343
1344
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1345
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1344
1346
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1345
1347
  # trigger a retry.
1346
1348
  #
@@ -1155,6 +1155,7 @@ module Google
1155
1155
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1156
1156
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1157
1157
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1158
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1158
1159
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1159
1160
  # trigger a retry.
1160
1161
  # @return [::Hash]
@@ -1227,6 +1228,7 @@ module Google
1227
1228
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1228
1229
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1229
1230
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1231
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1230
1232
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1231
1233
  # trigger a retry.
1232
1234
  #
@@ -1707,6 +1707,7 @@ module Google
1707
1707
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1708
1708
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1709
1709
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1710
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1710
1711
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1711
1712
  # trigger a retry.
1712
1713
  # @return [::Hash]
@@ -1790,6 +1791,7 @@ module Google
1790
1791
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1791
1792
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1792
1793
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1794
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1793
1795
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1794
1796
  # trigger a retry.
1795
1797
  #
@@ -1569,6 +1569,7 @@ module Google
1569
1569
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1570
1570
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1571
1571
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1572
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1572
1573
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1573
1574
  # trigger a retry.
1574
1575
  # @return [::Hash]
@@ -1641,6 +1642,7 @@ module Google
1641
1642
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1642
1643
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1643
1644
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1645
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1644
1646
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1645
1647
  # trigger a retry.
1646
1648
  #
@@ -770,6 +770,7 @@ module Google
770
770
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
771
771
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
772
772
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
773
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
773
774
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
774
775
  # trigger a retry.
775
776
  # @return [::Hash]
@@ -853,6 +854,7 @@ module Google
853
854
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
854
855
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
855
856
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
857
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
856
858
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
857
859
  # trigger a retry.
858
860
  #
@@ -702,6 +702,7 @@ module Google
702
702
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
703
703
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
704
704
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
705
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
705
706
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
706
707
  # trigger a retry.
707
708
  # @return [::Hash]
@@ -774,6 +775,7 @@ module Google
774
775
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
775
776
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
776
777
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
778
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
777
779
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
778
780
  # trigger a retry.
779
781
  #
@@ -593,6 +593,7 @@ module Google
593
593
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
594
594
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
595
595
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
596
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
596
597
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
597
598
  # trigger a retry.
598
599
  # @return [::Hash]
@@ -676,6 +677,7 @@ module Google
676
677
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
677
678
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
678
679
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
680
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
679
681
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
680
682
  # trigger a retry.
681
683
  #
@@ -539,6 +539,7 @@ module Google
539
539
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
540
540
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
541
541
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
542
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
542
543
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
543
544
  # trigger a retry.
544
545
  # @return [::Hash]
@@ -611,6 +612,7 @@ module Google
611
612
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
612
613
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
613
614
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
615
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
614
616
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
615
617
  # trigger a retry.
616
618
  #
@@ -371,6 +371,7 @@ module Google
371
371
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
372
372
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
373
373
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
374
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
374
375
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
375
376
  # trigger a retry.
376
377
  # @return [::Hash]
@@ -454,6 +455,7 @@ module Google
454
455
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
455
456
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
456
457
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
458
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
457
459
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
458
460
  # trigger a retry.
459
461
  #
@@ -331,6 +331,7 @@ module Google
331
331
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
332
332
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
333
333
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
334
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
334
335
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
335
336
  # trigger a retry.
336
337
  # @return [::Hash]
@@ -403,6 +404,7 @@ module Google
403
404
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
404
405
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
405
406
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
407
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
406
408
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
407
409
  # trigger a retry.
408
410
  #
@@ -1424,6 +1424,7 @@ module Google
1424
1424
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1425
1425
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1426
1426
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1427
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1427
1428
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1428
1429
  # trigger a retry.
1429
1430
  # @return [::Hash]
@@ -1507,6 +1508,7 @@ module Google
1507
1508
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1508
1509
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1509
1510
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1511
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1510
1512
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1511
1513
  # trigger a retry.
1512
1514
  #
@@ -1307,6 +1307,7 @@ module Google
1307
1307
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1308
1308
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1309
1309
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1310
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1310
1311
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1311
1312
  # trigger a retry.
1312
1313
  # @return [::Hash]
@@ -1379,6 +1380,7 @@ module Google
1379
1380
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
1380
1381
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
1381
1382
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
1383
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
1382
1384
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
1383
1385
  # trigger a retry.
1384
1386
  #
@@ -12,7 +12,7 @@ require 'google/protobuf/field_mask_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n.google/cloud/chronicle/v1/reference_list.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"]\n\tScopeInfo\x12P\n\x14reference_list_scope\x18\x02 \x01(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListScopeB\x03\xe0\x41\x02\".\n\x12ReferenceListScope\x12\x18\n\x0bscope_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x93\x01\n\x17GetReferenceListRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&chronicle.googleapis.com/ReferenceList\x12:\n\x04view\x18\x02 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"\xbe\x01\n\x19ListReferenceListsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12:\n\x04view\x18\x04 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"x\n\x1aListReferenceListsResponse\x12\x41\n\x0freference_lists\x18\x01 \x03(\x0b\x32(.google.cloud.chronicle.v1.ReferenceList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1a\x43reateReferenceListRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x45\n\x0ereference_list\x18\x02 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12\x1e\n\x11reference_list_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x1aUpdateReferenceListRequest\x12\x45\n\x0ereference_list\x18\x01 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xaa\x04\n\rReferenceList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x07\x65ntries\x18\x05 \x03(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListEntryB\x03\xe0\x41\x02\x12\x12\n\x05rules\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12L\n\x0bsyntax_type\x18\x08 \x01(\x0e\x32\x32.google.cloud.chronicle.v1.ReferenceListSyntaxTypeB\x03\xe0\x41\x02\x12$\n\x17rule_associations_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x38\n\nscope_info\x18\x0b \x01(\x0b\x32$.google.cloud.chronicle.v1.ScopeInfo:\x8a\x01\xea\x41\x86\x01\n&chronicle.googleapis.com/ReferenceList\x12\\projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}\"(\n\x12ReferenceListEntry\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02*\xc2\x01\n\x17ReferenceListSyntaxType\x12*\n&REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED\x10\x00\x12\x30\n,REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING\x10\x01\x12$\n REFERENCE_LIST_SYNTAX_TYPE_REGEX\x10\x02\x12#\n\x1fREFERENCE_LIST_SYNTAX_TYPE_CIDR\x10\x03*u\n\x11ReferenceListView\x12#\n\x1fREFERENCE_LIST_VIEW_UNSPECIFIED\x10\x00\x12\x1d\n\x19REFERENCE_LIST_VIEW_BASIC\x10\x01\x12\x1c\n\x18REFERENCE_LIST_VIEW_FULL\x10\x02\x32\xf5\x07\n\x14ReferenceListService\x12\xbf\x01\n\x10GetReferenceList\x12\x32.google.cloud.chronicle.v1.GetReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/instances/*/referenceLists/*}\x12\xd2\x01\n\x12ListReferenceLists\x12\x34.google.cloud.chronicle.v1.ListReferenceListsRequest\x1a\x35.google.cloud.chronicle.v1.ListReferenceListsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/instances/*}/referenceLists\x12\xf9\x01\n\x13\x43reateReferenceList\x12\x35.google.cloud.chronicle.v1.CreateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x80\x01\xda\x41\'parent,reference_list,reference_list_id\x82\xd3\xe4\x93\x02P\">/v1/{parent=projects/*/locations/*/instances/*}/referenceLists:\x0ereference_list\x12\xfb\x01\n\x13UpdateReferenceList\x12\x35.google.cloud.chronicle.v1.UpdateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x82\x01\xda\x41\x1areference_list,update_mask\x82\xd3\xe4\x93\x02_2M/v1/{reference_list.name=projects/*/locations/*/instances/*/referenceLists/*}:\x0ereference_list\x1aL\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x12ReferenceListProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
15
+ descriptor_data = "\n.google/cloud/chronicle/v1/reference_list.proto\x12\x19google.cloud.chronicle.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"]\n\tScopeInfo\x12P\n\x14reference_list_scope\x18\x02 \x01(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListScopeB\x03\xe0\x41\x02\".\n\x12ReferenceListScope\x12\x18\n\x0bscope_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x93\x01\n\x17GetReferenceListRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&chronicle.googleapis.com/ReferenceList\x12:\n\x04view\x18\x02 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"\xbe\x01\n\x19ListReferenceListsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12:\n\x04view\x18\x04 \x01(\x0e\x32,.google.cloud.chronicle.v1.ReferenceListView\"x\n\x1aListReferenceListsResponse\x12\x41\n\x0freference_lists\x18\x01 \x03(\x0b\x32(.google.cloud.chronicle.v1.ReferenceList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1a\x43reateReferenceListRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&chronicle.googleapis.com/ReferenceList\x12\x45\n\x0ereference_list\x18\x02 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12\x1e\n\x11reference_list_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x94\x01\n\x1aUpdateReferenceListRequest\x12\x45\n\x0ereference_list\x18\x01 \x01(\x0b\x32(.google.cloud.chronicle.v1.ReferenceListB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xec\x01\n\x1aVerifyReferenceListRequest\x12;\n\x08instance\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!chronicle.googleapis.com/Instance\x12L\n\x0bsyntax_type\x18\x02 \x01(\x0e\x32\x32.google.cloud.chronicle.v1.ReferenceListSyntaxTypeB\x03\xe0\x41\x02\x12\x43\n\x07\x65ntries\x18\x03 \x03(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListEntryB\x03\xe0\x41\x02\"m\n\x1bVerifyReferenceListResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12=\n\x06\x65rrors\x18\x02 \x03(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListError\"\xaa\x04\n\rReferenceList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x43\n\x07\x65ntries\x18\x05 \x03(\x0b\x32-.google.cloud.chronicle.v1.ReferenceListEntryB\x03\xe0\x41\x02\x12\x12\n\x05rules\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12L\n\x0bsyntax_type\x18\x08 \x01(\x0e\x32\x32.google.cloud.chronicle.v1.ReferenceListSyntaxTypeB\x03\xe0\x41\x02\x12$\n\x17rule_associations_count\x18\t \x01(\x05\x42\x03\xe0\x41\x03\x12\x38\n\nscope_info\x18\x0b \x01(\x0b\x32$.google.cloud.chronicle.v1.ScopeInfo:\x8a\x01\xea\x41\x86\x01\n&chronicle.googleapis.com/ReferenceList\x12\\projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}\"(\n\x12ReferenceListEntry\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\"@\n\x12ReferenceListError\x12\x13\n\x0bline_number\x18\x01 \x01(\x05\x12\x15\n\rerror_message\x18\x02 \x01(\t*\xc2\x01\n\x17ReferenceListSyntaxType\x12*\n&REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED\x10\x00\x12\x30\n,REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING\x10\x01\x12$\n REFERENCE_LIST_SYNTAX_TYPE_REGEX\x10\x02\x12#\n\x1fREFERENCE_LIST_SYNTAX_TYPE_CIDR\x10\x03*u\n\x11ReferenceListView\x12#\n\x1fREFERENCE_LIST_VIEW_UNSPECIFIED\x10\x00\x12\x1d\n\x19REFERENCE_LIST_VIEW_BASIC\x10\x01\x12\x1c\n\x18REFERENCE_LIST_VIEW_FULL\x10\x02\x32\xad\n\n\x14ReferenceListService\x12\xbf\x01\n\x10GetReferenceList\x12\x32.google.cloud.chronicle.v1.GetReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/instances/*/referenceLists/*}\x12\xd2\x01\n\x12ListReferenceLists\x12\x34.google.cloud.chronicle.v1.ListReferenceListsRequest\x1a\x35.google.cloud.chronicle.v1.ListReferenceListsResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/instances/*}/referenceLists\x12\xf9\x01\n\x13\x43reateReferenceList\x12\x35.google.cloud.chronicle.v1.CreateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x80\x01\xda\x41\'parent,reference_list,reference_list_id\x82\xd3\xe4\x93\x02P\">/v1/{parent=projects/*/locations/*/instances/*}/referenceLists:\x0ereference_list\x12\xfb\x01\n\x13UpdateReferenceList\x12\x35.google.cloud.chronicle.v1.UpdateReferenceListRequest\x1a(.google.cloud.chronicle.v1.ReferenceList\"\x82\x01\xda\x41\x1areference_list,update_mask\x82\xd3\xe4\x93\x02_2M/v1/{reference_list.name=projects/*/locations/*/instances/*/referenceLists/*}:\x0ereference_list\x12\xd6\x01\n\x13VerifyReferenceList\x12\x35.google.cloud.chronicle.v1.VerifyReferenceListRequest\x1a\x36.google.cloud.chronicle.v1.VerifyReferenceListResponse\"P\x82\xd3\xe4\x93\x02J\"E/v1/{instance=projects/*/locations/*/instances/*}:verifyReferenceList:\x01*\x1a\xaa\x01\xca\x41\x18\x63hronicle.googleapis.com\xd2\x41\x8b\x01https://www.googleapis.com/auth/chronicle,https://www.googleapis.com/auth/chronicle.readonly,https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1d\x63om.google.cloud.chronicle.v1B\x12ReferenceListProtoP\x01Z;cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb\xaa\x02\x19Google.Cloud.Chronicle.V1\xca\x02\x19Google\\Cloud\\Chronicle\\V1\xea\x02\x1cGoogle::Cloud::Chronicle::V1b\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -28,8 +28,11 @@ module Google
28
28
  ListReferenceListsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ListReferenceListsResponse").msgclass
29
29
  CreateReferenceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.CreateReferenceListRequest").msgclass
30
30
  UpdateReferenceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.UpdateReferenceListRequest").msgclass
31
+ VerifyReferenceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.VerifyReferenceListRequest").msgclass
32
+ VerifyReferenceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.VerifyReferenceListResponse").msgclass
31
33
  ReferenceList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ReferenceList").msgclass
32
34
  ReferenceListEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ReferenceListEntry").msgclass
35
+ ReferenceListError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ReferenceListError").msgclass
33
36
  ReferenceListSyntaxType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ReferenceListSyntaxType").enummodule
34
37
  ReferenceListView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.chronicle.v1.ReferenceListView").enummodule
35
38
  end
@@ -84,6 +84,11 @@ module Google
84
84
 
85
85
  default_config.rpcs.update_reference_list.timeout = 60.0
86
86
 
87
+ default_config.rpcs.verify_reference_list.timeout = 60.0
88
+ default_config.rpcs.verify_reference_list.retry_policy = {
89
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
90
+ }
91
+
87
92
  default_config
88
93
  end
89
94
  yield @configure if block_given?
@@ -582,6 +587,98 @@ module Google
582
587
  raise ::Google::Cloud::Error.from_error(e)
583
588
  end
584
589
 
590
+ ##
591
+ # VerifyReferenceList validates list content and returns line errors, if any.
592
+ #
593
+ # @overload verify_reference_list(request, options = nil)
594
+ # Pass arguments to `verify_reference_list` via a request object, either of type
595
+ # {::Google::Cloud::Chronicle::V1::VerifyReferenceListRequest} or an equivalent Hash.
596
+ #
597
+ # @param request [::Google::Cloud::Chronicle::V1::VerifyReferenceListRequest, ::Hash]
598
+ # A request object representing the call parameters. Required. To specify no
599
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
600
+ # @param options [::Gapic::CallOptions, ::Hash]
601
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
602
+ #
603
+ # @overload verify_reference_list(instance: nil, syntax_type: nil, entries: nil)
604
+ # Pass arguments to `verify_reference_list` via keyword arguments. Note that at
605
+ # least one keyword argument is required. To specify no parameters, or to keep all
606
+ # the default parameter values, pass an empty Hash as a request object (see above).
607
+ #
608
+ # @param instance [::String]
609
+ # Required. The name of the parent resource, which is the SecOps instance
610
+ # associated with the request. Format:
611
+ # `projects/{project}/locations/{location}/instances/{instance}`
612
+ # @param syntax_type [::Google::Cloud::Chronicle::V1::ReferenceListSyntaxType]
613
+ # Required. Type (format) of list lines.
614
+ # @param entries [::Array<::Google::Cloud::Chronicle::V1::ReferenceListEntry, ::Hash>]
615
+ # Required. The entries of the reference list.
616
+ # Each line may be either an item in the list or a comment.
617
+ #
618
+ # @yield [response, operation] Access the result along with the RPC operation
619
+ # @yieldparam response [::Google::Cloud::Chronicle::V1::VerifyReferenceListResponse]
620
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
621
+ #
622
+ # @return [::Google::Cloud::Chronicle::V1::VerifyReferenceListResponse]
623
+ #
624
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
625
+ #
626
+ # @example Basic example
627
+ # require "google/cloud/chronicle/v1"
628
+ #
629
+ # # Create a client object. The client can be reused for multiple calls.
630
+ # client = Google::Cloud::Chronicle::V1::ReferenceListService::Client.new
631
+ #
632
+ # # Create a request. To set request fields, pass in keyword arguments.
633
+ # request = Google::Cloud::Chronicle::V1::VerifyReferenceListRequest.new
634
+ #
635
+ # # Call the verify_reference_list method.
636
+ # result = client.verify_reference_list request
637
+ #
638
+ # # The returned object is of type Google::Cloud::Chronicle::V1::VerifyReferenceListResponse.
639
+ # p result
640
+ #
641
+ def verify_reference_list request, options = nil
642
+ raise ::ArgumentError, "request must be provided" if request.nil?
643
+
644
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Chronicle::V1::VerifyReferenceListRequest
645
+
646
+ # Converts hash and nil to an options object
647
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
648
+
649
+ # Customize the options with defaults
650
+ metadata = @config.rpcs.verify_reference_list.metadata.to_h
651
+
652
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
653
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
654
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
655
+ gapic_version: ::Google::Cloud::Chronicle::V1::VERSION
656
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
657
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
658
+
659
+ header_params = {}
660
+ if request.instance
661
+ header_params["instance"] = request.instance
662
+ end
663
+
664
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
665
+ metadata[:"x-goog-request-params"] ||= request_params_header
666
+
667
+ options.apply_defaults timeout: @config.rpcs.verify_reference_list.timeout,
668
+ metadata: metadata,
669
+ retry_policy: @config.rpcs.verify_reference_list.retry_policy
670
+
671
+ options.apply_defaults timeout: @config.timeout,
672
+ metadata: @config.metadata,
673
+ retry_policy: @config.retry_policy
674
+
675
+ @reference_list_service_stub.call_rpc :verify_reference_list, request, options: options do |response, operation|
676
+ yield response, operation if block_given?
677
+ end
678
+ rescue ::GRPC::BadStatus => e
679
+ raise ::Google::Cloud::Error.from_error(e)
680
+ end
681
+
585
682
  ##
586
683
  # Configuration class for the ReferenceListService API.
587
684
  #
@@ -678,6 +775,7 @@ module Google
678
775
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
679
776
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
680
777
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
778
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
681
779
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
682
780
  # trigger a retry.
683
781
  # @return [::Hash]
@@ -761,6 +859,7 @@ module Google
761
859
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
762
860
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
763
861
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
862
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
764
863
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
765
864
  # trigger a retry.
766
865
  #
@@ -785,6 +884,11 @@ module Google
785
884
  # @return [::Gapic::Config::Method]
786
885
  #
787
886
  attr_reader :update_reference_list
887
+ ##
888
+ # RPC-specific configuration for `verify_reference_list`
889
+ # @return [::Gapic::Config::Method]
890
+ #
891
+ attr_reader :verify_reference_list
788
892
 
789
893
  # @private
790
894
  def initialize parent_rpcs = nil
@@ -796,6 +900,8 @@ module Google
796
900
  @create_reference_list = ::Gapic::Config::Method.new create_reference_list_config
797
901
  update_reference_list_config = parent_rpcs.update_reference_list if parent_rpcs.respond_to? :update_reference_list
798
902
  @update_reference_list = ::Gapic::Config::Method.new update_reference_list_config
903
+ verify_reference_list_config = parent_rpcs.verify_reference_list if parent_rpcs.respond_to? :verify_reference_list
904
+ @verify_reference_list = ::Gapic::Config::Method.new verify_reference_list_config
799
905
 
800
906
  yield self if block_given?
801
907
  end
@@ -26,6 +26,8 @@ module Google
26
26
  # Credentials for the ReferenceListService API.
27
27
  class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
+ "https://www.googleapis.com/auth/chronicle",
30
+ "https://www.googleapis.com/auth/chronicle.readonly",
29
31
  "https://www.googleapis.com/auth/cloud-platform"
30
32
  ]
31
33
  self.env_vars = [