google-cloud-web_security_scanner-v1 0.10.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec7088f449eb62e147a2f58cb9c4312e32c8eb09ee6fe547c0ee7d1bcc97475e
4
- data.tar.gz: bb258ad314a3f6eb068c20b4f202a8e3e431fd852e1b06d03c6202129fa2124a
3
+ metadata.gz: c8f99e9bc46b678c78bd6daa95bf7fdb383ba555eaf3c14dd2a0be330dcdf4dc
4
+ data.tar.gz: 28da81427c2ba7b64922ef27304fe5e719346360c091a169990061f99398e99f
5
5
  SHA512:
6
- metadata.gz: 04f3bbbae9887170a86172f326ac003757fd3e3b73f833becffc20cb921d956dab5964b12dde57213514f124cdd270e7d4b4fe59066956009c69c4fee401f72b
7
- data.tar.gz: e50e2a5579a234d126a63893dcf11891bbf6c4f2be4c2269805a243abeff55cf314426ae5fb46933fe0cb9cc3d9103622cea0fa0820752bea67d0eb6528a55d4
6
+ metadata.gz: 6e47d2b7ff974d8faf271ff7290926f27a8c76ed8233e11c21551cc284e8a9ff9b9001f0a61e92fc343c43d9863596d51eb69edb25e81d27a998ee357a16ea8d
7
+ data.tar.gz: eb7929cf89178f1c73b8fe6654e92cf10e97c88f31b0832e76e7163fcb3ee498780ab1a52eedee362e8c8e3b80a9cda9ca78e97f07100a2d346c31f50faccd84
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -32,6 +32,9 @@ module Google
32
32
  # attempts to exercise as many user inputs and event handlers as possible.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "websecurityscanner.$UNIVERSE_DOMAIN$"
37
40
 
@@ -271,10 +274,11 @@ module Google
271
274
  # Customize the options with defaults
272
275
  metadata = @config.rpcs.create_scan_config.metadata.to_h
273
276
 
274
- # Set x-goog-api-client and x-goog-user-project headers
277
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
275
278
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
276
279
  lib_name: @config.lib_name, lib_version: @config.lib_version,
277
280
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
281
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
282
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
283
 
280
284
  header_params = {}
@@ -357,10 +361,11 @@ module Google
357
361
  # Customize the options with defaults
358
362
  metadata = @config.rpcs.delete_scan_config.metadata.to_h
359
363
 
360
- # Set x-goog-api-client and x-goog-user-project headers
364
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
361
365
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
362
366
  lib_name: @config.lib_name, lib_version: @config.lib_version,
363
367
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
368
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
364
369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
365
370
 
366
371
  header_params = {}
@@ -443,10 +448,11 @@ module Google
443
448
  # Customize the options with defaults
444
449
  metadata = @config.rpcs.get_scan_config.metadata.to_h
445
450
 
446
- # Set x-goog-api-client and x-goog-user-project headers
451
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
447
452
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
448
453
  lib_name: @config.lib_name, lib_version: @config.lib_version,
449
454
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
455
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
450
456
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
451
457
 
452
458
  header_params = {}
@@ -541,10 +547,11 @@ module Google
541
547
  # Customize the options with defaults
542
548
  metadata = @config.rpcs.list_scan_configs.metadata.to_h
543
549
 
544
- # Set x-goog-api-client and x-goog-user-project headers
550
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
545
551
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
546
552
  lib_name: @config.lib_name, lib_version: @config.lib_version,
547
553
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
554
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
548
555
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
549
556
 
550
557
  header_params = {}
@@ -633,10 +640,11 @@ module Google
633
640
  # Customize the options with defaults
634
641
  metadata = @config.rpcs.update_scan_config.metadata.to_h
635
642
 
636
- # Set x-goog-api-client and x-goog-user-project headers
643
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
637
644
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
638
645
  lib_name: @config.lib_name, lib_version: @config.lib_version,
639
646
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
647
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
640
648
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
641
649
 
642
650
  header_params = {}
@@ -719,10 +727,11 @@ module Google
719
727
  # Customize the options with defaults
720
728
  metadata = @config.rpcs.start_scan_run.metadata.to_h
721
729
 
722
- # Set x-goog-api-client and x-goog-user-project headers
730
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
723
731
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
724
732
  lib_name: @config.lib_name, lib_version: @config.lib_version,
725
733
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
734
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
726
735
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
727
736
 
728
737
  header_params = {}
@@ -806,10 +815,11 @@ module Google
806
815
  # Customize the options with defaults
807
816
  metadata = @config.rpcs.get_scan_run.metadata.to_h
808
817
 
809
- # Set x-goog-api-client and x-goog-user-project headers
818
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
810
819
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
811
820
  lib_name: @config.lib_name, lib_version: @config.lib_version,
812
821
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
822
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
813
823
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
814
824
 
815
825
  header_params = {}
@@ -905,10 +915,11 @@ module Google
905
915
  # Customize the options with defaults
906
916
  metadata = @config.rpcs.list_scan_runs.metadata.to_h
907
917
 
908
- # Set x-goog-api-client and x-goog-user-project headers
918
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
909
919
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
910
920
  lib_name: @config.lib_name, lib_version: @config.lib_version,
911
921
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
922
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
912
923
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
913
924
 
914
925
  header_params = {}
@@ -993,10 +1004,11 @@ module Google
993
1004
  # Customize the options with defaults
994
1005
  metadata = @config.rpcs.stop_scan_run.metadata.to_h
995
1006
 
996
- # Set x-goog-api-client and x-goog-user-project headers
1007
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
997
1008
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
998
1009
  lib_name: @config.lib_name, lib_version: @config.lib_version,
999
1010
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1011
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1000
1012
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1001
1013
 
1002
1014
  header_params = {}
@@ -1092,10 +1104,11 @@ module Google
1092
1104
  # Customize the options with defaults
1093
1105
  metadata = @config.rpcs.list_crawled_urls.metadata.to_h
1094
1106
 
1095
- # Set x-goog-api-client and x-goog-user-project headers
1107
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1096
1108
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1097
1109
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1098
1110
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1111
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1099
1112
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1100
1113
 
1101
1114
  header_params = {}
@@ -1180,10 +1193,11 @@ module Google
1180
1193
  # Customize the options with defaults
1181
1194
  metadata = @config.rpcs.get_finding.metadata.to_h
1182
1195
 
1183
- # Set x-goog-api-client and x-goog-user-project headers
1196
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1184
1197
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1185
1198
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1186
1199
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1200
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1187
1201
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1188
1202
 
1189
1203
  header_params = {}
@@ -1284,10 +1298,11 @@ module Google
1284
1298
  # Customize the options with defaults
1285
1299
  metadata = @config.rpcs.list_findings.metadata.to_h
1286
1300
 
1287
- # Set x-goog-api-client and x-goog-user-project headers
1301
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1288
1302
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1289
1303
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1290
1304
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1305
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1291
1306
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1292
1307
 
1293
1308
  header_params = {}
@@ -1372,10 +1387,11 @@ module Google
1372
1387
  # Customize the options with defaults
1373
1388
  metadata = @config.rpcs.list_finding_type_stats.metadata.to_h
1374
1389
 
1375
- # Set x-goog-api-client and x-goog-user-project headers
1390
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1376
1391
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1377
1392
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1378
1393
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1394
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1379
1395
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1380
1396
 
1381
1397
  header_params = {}
@@ -34,6 +34,9 @@ module Google
34
34
  # attempts to exercise as many user inputs and event handlers as possible.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "websecurityscanner.$UNIVERSE_DOMAIN$"
39
42
 
@@ -263,12 +266,13 @@ module Google
263
266
  # Customize the options with defaults
264
267
  call_metadata = @config.rpcs.create_scan_config.metadata.to_h
265
268
 
266
- # Set x-goog-api-client and x-goog-user-project headers
269
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
267
270
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
268
271
  lib_name: @config.lib_name, lib_version: @config.lib_version,
269
272
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
270
273
  transports_version_send: [:rest]
271
274
 
275
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
272
276
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
273
277
 
274
278
  options.apply_defaults timeout: @config.rpcs.create_scan_config.timeout,
@@ -342,12 +346,13 @@ module Google
342
346
  # Customize the options with defaults
343
347
  call_metadata = @config.rpcs.delete_scan_config.metadata.to_h
344
348
 
345
- # Set x-goog-api-client and x-goog-user-project headers
349
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
346
350
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
347
351
  lib_name: @config.lib_name, lib_version: @config.lib_version,
348
352
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
349
353
  transports_version_send: [:rest]
350
354
 
355
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
351
356
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
352
357
 
353
358
  options.apply_defaults timeout: @config.rpcs.delete_scan_config.timeout,
@@ -421,12 +426,13 @@ module Google
421
426
  # Customize the options with defaults
422
427
  call_metadata = @config.rpcs.get_scan_config.metadata.to_h
423
428
 
424
- # Set x-goog-api-client and x-goog-user-project headers
429
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
425
430
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
426
431
  lib_name: @config.lib_name, lib_version: @config.lib_version,
427
432
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
428
433
  transports_version_send: [:rest]
429
434
 
435
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
430
436
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
431
437
 
432
438
  options.apply_defaults timeout: @config.rpcs.get_scan_config.timeout,
@@ -512,12 +518,13 @@ module Google
512
518
  # Customize the options with defaults
513
519
  call_metadata = @config.rpcs.list_scan_configs.metadata.to_h
514
520
 
515
- # Set x-goog-api-client and x-goog-user-project headers
521
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
516
522
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
517
523
  lib_name: @config.lib_name, lib_version: @config.lib_version,
518
524
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
519
525
  transports_version_send: [:rest]
520
526
 
527
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
521
528
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
522
529
 
523
530
  options.apply_defaults timeout: @config.rpcs.list_scan_configs.timeout,
@@ -597,12 +604,13 @@ module Google
597
604
  # Customize the options with defaults
598
605
  call_metadata = @config.rpcs.update_scan_config.metadata.to_h
599
606
 
600
- # Set x-goog-api-client and x-goog-user-project headers
607
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
601
608
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
602
609
  lib_name: @config.lib_name, lib_version: @config.lib_version,
603
610
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
604
611
  transports_version_send: [:rest]
605
612
 
613
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
606
614
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
607
615
 
608
616
  options.apply_defaults timeout: @config.rpcs.update_scan_config.timeout,
@@ -676,12 +684,13 @@ module Google
676
684
  # Customize the options with defaults
677
685
  call_metadata = @config.rpcs.start_scan_run.metadata.to_h
678
686
 
679
- # Set x-goog-api-client and x-goog-user-project headers
687
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
680
688
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
681
689
  lib_name: @config.lib_name, lib_version: @config.lib_version,
682
690
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
683
691
  transports_version_send: [:rest]
684
692
 
693
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
685
694
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
686
695
 
687
696
  options.apply_defaults timeout: @config.rpcs.start_scan_run.timeout,
@@ -756,12 +765,13 @@ module Google
756
765
  # Customize the options with defaults
757
766
  call_metadata = @config.rpcs.get_scan_run.metadata.to_h
758
767
 
759
- # Set x-goog-api-client and x-goog-user-project headers
768
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
760
769
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
761
770
  lib_name: @config.lib_name, lib_version: @config.lib_version,
762
771
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
763
772
  transports_version_send: [:rest]
764
773
 
774
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
765
775
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
766
776
 
767
777
  options.apply_defaults timeout: @config.rpcs.get_scan_run.timeout,
@@ -848,12 +858,13 @@ module Google
848
858
  # Customize the options with defaults
849
859
  call_metadata = @config.rpcs.list_scan_runs.metadata.to_h
850
860
 
851
- # Set x-goog-api-client and x-goog-user-project headers
861
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
852
862
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
853
863
  lib_name: @config.lib_name, lib_version: @config.lib_version,
854
864
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
855
865
  transports_version_send: [:rest]
856
866
 
867
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
857
868
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
858
869
 
859
870
  options.apply_defaults timeout: @config.rpcs.list_scan_runs.timeout,
@@ -929,12 +940,13 @@ module Google
929
940
  # Customize the options with defaults
930
941
  call_metadata = @config.rpcs.stop_scan_run.metadata.to_h
931
942
 
932
- # Set x-goog-api-client and x-goog-user-project headers
943
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
933
944
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
934
945
  lib_name: @config.lib_name, lib_version: @config.lib_version,
935
946
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
936
947
  transports_version_send: [:rest]
937
948
 
949
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
938
950
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
939
951
 
940
952
  options.apply_defaults timeout: @config.rpcs.stop_scan_run.timeout,
@@ -1021,12 +1033,13 @@ module Google
1021
1033
  # Customize the options with defaults
1022
1034
  call_metadata = @config.rpcs.list_crawled_urls.metadata.to_h
1023
1035
 
1024
- # Set x-goog-api-client and x-goog-user-project headers
1036
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1025
1037
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1026
1038
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1027
1039
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
1028
1040
  transports_version_send: [:rest]
1029
1041
 
1042
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1030
1043
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1031
1044
 
1032
1045
  options.apply_defaults timeout: @config.rpcs.list_crawled_urls.timeout,
@@ -1102,12 +1115,13 @@ module Google
1102
1115
  # Customize the options with defaults
1103
1116
  call_metadata = @config.rpcs.get_finding.metadata.to_h
1104
1117
 
1105
- # Set x-goog-api-client and x-goog-user-project headers
1118
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1106
1119
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1107
1120
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1108
1121
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
1109
1122
  transports_version_send: [:rest]
1110
1123
 
1124
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1111
1125
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1112
1126
 
1113
1127
  options.apply_defaults timeout: @config.rpcs.get_finding.timeout,
@@ -1199,12 +1213,13 @@ module Google
1199
1213
  # Customize the options with defaults
1200
1214
  call_metadata = @config.rpcs.list_findings.metadata.to_h
1201
1215
 
1202
- # Set x-goog-api-client and x-goog-user-project headers
1216
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1203
1217
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1204
1218
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1205
1219
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
1206
1220
  transports_version_send: [:rest]
1207
1221
 
1222
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1208
1223
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1209
1224
 
1210
1225
  options.apply_defaults timeout: @config.rpcs.list_findings.timeout,
@@ -1280,12 +1295,13 @@ module Google
1280
1295
  # Customize the options with defaults
1281
1296
  call_metadata = @config.rpcs.list_finding_type_stats.metadata.to_h
1282
1297
 
1283
- # Set x-goog-api-client and x-goog-user-project headers
1298
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1284
1299
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1285
1300
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1286
1301
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION,
1287
1302
  transports_version_send: [:rest]
1288
1303
 
1304
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1289
1305
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1290
1306
 
1291
1307
  options.apply_defaults timeout: @config.rpcs.list_finding_type_stats.timeout,
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-web_security_scanner-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.0.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common