google-cloud-web_security_scanner-v1beta 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/web_security_scanner/v1beta/version.rb +1 -1
- data/lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/client.rb +29 -13
- data/lib/google/cloud/web_security_scanner/v1beta/web_security_scanner/rest/client.rb +29 -13
- data/lib/google/cloud/websecurityscanner/v1beta/web_security_scanner_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e3e9d24db53623d6d351f9a621ec35085d7d7a22f4d71506be350d460157041
|
4
|
+
data.tar.gz: 5363214660a72d44077216cb00bc517e66f41e9f78e4148cd559f282825001cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69e7f1ea4cb6c7e5452474a3652c2b829babd989f28d740e66a31c2eae4e8752e40970c4356d7fea945bce069f2c8caff13708dac3f38591d8e587fc58ec63ff
|
7
|
+
data.tar.gz: d8e7affca94786e7c0f8ba3fceb20252a168ed103824e81987bc6db2baec74bfd9b0787dcc8b1c3fdfe9f8867498de9a8fb954dddd16d6aac6fb7fe97516762f
|
@@ -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
|
|
@@ -273,10 +276,11 @@ module Google
|
|
273
276
|
# Customize the options with defaults
|
274
277
|
metadata = @config.rpcs.create_scan_config.metadata.to_h
|
275
278
|
|
276
|
-
# Set x-goog-api-client
|
279
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
277
280
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
278
281
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
279
282
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
283
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
280
284
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
281
285
|
|
282
286
|
header_params = {}
|
@@ -359,10 +363,11 @@ module Google
|
|
359
363
|
# Customize the options with defaults
|
360
364
|
metadata = @config.rpcs.delete_scan_config.metadata.to_h
|
361
365
|
|
362
|
-
# Set x-goog-api-client
|
366
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
363
367
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
364
368
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
365
369
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
370
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
366
371
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
367
372
|
|
368
373
|
header_params = {}
|
@@ -445,10 +450,11 @@ module Google
|
|
445
450
|
# Customize the options with defaults
|
446
451
|
metadata = @config.rpcs.get_scan_config.metadata.to_h
|
447
452
|
|
448
|
-
# Set x-goog-api-client
|
453
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
449
454
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
450
455
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
451
456
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
457
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
452
458
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
453
459
|
|
454
460
|
header_params = {}
|
@@ -543,10 +549,11 @@ module Google
|
|
543
549
|
# Customize the options with defaults
|
544
550
|
metadata = @config.rpcs.list_scan_configs.metadata.to_h
|
545
551
|
|
546
|
-
# Set x-goog-api-client
|
552
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
547
553
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
548
554
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
549
555
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
556
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
550
557
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
551
558
|
|
552
559
|
header_params = {}
|
@@ -635,10 +642,11 @@ module Google
|
|
635
642
|
# Customize the options with defaults
|
636
643
|
metadata = @config.rpcs.update_scan_config.metadata.to_h
|
637
644
|
|
638
|
-
# Set x-goog-api-client
|
645
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
639
646
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
640
647
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
641
648
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
649
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
642
650
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
643
651
|
|
644
652
|
header_params = {}
|
@@ -721,10 +729,11 @@ module Google
|
|
721
729
|
# Customize the options with defaults
|
722
730
|
metadata = @config.rpcs.start_scan_run.metadata.to_h
|
723
731
|
|
724
|
-
# Set x-goog-api-client
|
732
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
725
733
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
726
734
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
727
735
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
736
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
728
737
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
729
738
|
|
730
739
|
header_params = {}
|
@@ -808,10 +817,11 @@ module Google
|
|
808
817
|
# Customize the options with defaults
|
809
818
|
metadata = @config.rpcs.get_scan_run.metadata.to_h
|
810
819
|
|
811
|
-
# Set x-goog-api-client
|
820
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
812
821
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
813
822
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
814
823
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
824
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
815
825
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
816
826
|
|
817
827
|
header_params = {}
|
@@ -907,10 +917,11 @@ module Google
|
|
907
917
|
# Customize the options with defaults
|
908
918
|
metadata = @config.rpcs.list_scan_runs.metadata.to_h
|
909
919
|
|
910
|
-
# Set x-goog-api-client
|
920
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
911
921
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
912
922
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
913
923
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
924
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
914
925
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
915
926
|
|
916
927
|
header_params = {}
|
@@ -995,10 +1006,11 @@ module Google
|
|
995
1006
|
# Customize the options with defaults
|
996
1007
|
metadata = @config.rpcs.stop_scan_run.metadata.to_h
|
997
1008
|
|
998
|
-
# Set x-goog-api-client
|
1009
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
999
1010
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1000
1011
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1001
1012
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
1013
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1002
1014
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1003
1015
|
|
1004
1016
|
header_params = {}
|
@@ -1094,10 +1106,11 @@ module Google
|
|
1094
1106
|
# Customize the options with defaults
|
1095
1107
|
metadata = @config.rpcs.list_crawled_urls.metadata.to_h
|
1096
1108
|
|
1097
|
-
# Set x-goog-api-client
|
1109
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1098
1110
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1099
1111
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1100
1112
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
1113
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1101
1114
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1102
1115
|
|
1103
1116
|
header_params = {}
|
@@ -1182,10 +1195,11 @@ module Google
|
|
1182
1195
|
# Customize the options with defaults
|
1183
1196
|
metadata = @config.rpcs.get_finding.metadata.to_h
|
1184
1197
|
|
1185
|
-
# Set x-goog-api-client
|
1198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1186
1199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1187
1200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1188
1201
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
1202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1189
1203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1190
1204
|
|
1191
1205
|
header_params = {}
|
@@ -1286,10 +1300,11 @@ module Google
|
|
1286
1300
|
# Customize the options with defaults
|
1287
1301
|
metadata = @config.rpcs.list_findings.metadata.to_h
|
1288
1302
|
|
1289
|
-
# Set x-goog-api-client
|
1303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1290
1304
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1291
1305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1292
1306
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
1307
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1293
1308
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1294
1309
|
|
1295
1310
|
header_params = {}
|
@@ -1374,10 +1389,11 @@ module Google
|
|
1374
1389
|
# Customize the options with defaults
|
1375
1390
|
metadata = @config.rpcs.list_finding_type_stats.metadata.to_h
|
1376
1391
|
|
1377
|
-
# Set x-goog-api-client
|
1392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1378
1393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1379
1394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1380
1395
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
|
1396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1381
1397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1382
1398
|
|
1383
1399
|
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
|
|
@@ -265,12 +268,13 @@ module Google
|
|
265
268
|
# Customize the options with defaults
|
266
269
|
call_metadata = @config.rpcs.create_scan_config.metadata.to_h
|
267
270
|
|
268
|
-
# Set x-goog-api-client
|
271
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
269
272
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
270
273
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
271
274
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
272
275
|
transports_version_send: [:rest]
|
273
276
|
|
277
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
274
278
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
275
279
|
|
276
280
|
options.apply_defaults timeout: @config.rpcs.create_scan_config.timeout,
|
@@ -344,12 +348,13 @@ module Google
|
|
344
348
|
# Customize the options with defaults
|
345
349
|
call_metadata = @config.rpcs.delete_scan_config.metadata.to_h
|
346
350
|
|
347
|
-
# Set x-goog-api-client
|
351
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
348
352
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
349
353
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
350
354
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
351
355
|
transports_version_send: [:rest]
|
352
356
|
|
357
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
353
358
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
354
359
|
|
355
360
|
options.apply_defaults timeout: @config.rpcs.delete_scan_config.timeout,
|
@@ -423,12 +428,13 @@ module Google
|
|
423
428
|
# Customize the options with defaults
|
424
429
|
call_metadata = @config.rpcs.get_scan_config.metadata.to_h
|
425
430
|
|
426
|
-
# Set x-goog-api-client
|
431
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
427
432
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
428
433
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
429
434
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
430
435
|
transports_version_send: [:rest]
|
431
436
|
|
437
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
432
438
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
433
439
|
|
434
440
|
options.apply_defaults timeout: @config.rpcs.get_scan_config.timeout,
|
@@ -514,12 +520,13 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
call_metadata = @config.rpcs.list_scan_configs.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
521
527
|
transports_version_send: [:rest]
|
522
528
|
|
529
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
523
530
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
524
531
|
|
525
532
|
options.apply_defaults timeout: @config.rpcs.list_scan_configs.timeout,
|
@@ -599,12 +606,13 @@ module Google
|
|
599
606
|
# Customize the options with defaults
|
600
607
|
call_metadata = @config.rpcs.update_scan_config.metadata.to_h
|
601
608
|
|
602
|
-
# Set x-goog-api-client
|
609
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
603
610
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
604
611
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
605
612
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
606
613
|
transports_version_send: [:rest]
|
607
614
|
|
615
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
608
616
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
609
617
|
|
610
618
|
options.apply_defaults timeout: @config.rpcs.update_scan_config.timeout,
|
@@ -678,12 +686,13 @@ module Google
|
|
678
686
|
# Customize the options with defaults
|
679
687
|
call_metadata = @config.rpcs.start_scan_run.metadata.to_h
|
680
688
|
|
681
|
-
# Set x-goog-api-client
|
689
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
682
690
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
683
691
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
684
692
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
685
693
|
transports_version_send: [:rest]
|
686
694
|
|
695
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
687
696
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
688
697
|
|
689
698
|
options.apply_defaults timeout: @config.rpcs.start_scan_run.timeout,
|
@@ -758,12 +767,13 @@ module Google
|
|
758
767
|
# Customize the options with defaults
|
759
768
|
call_metadata = @config.rpcs.get_scan_run.metadata.to_h
|
760
769
|
|
761
|
-
# Set x-goog-api-client
|
770
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
762
771
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
763
772
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
764
773
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
765
774
|
transports_version_send: [:rest]
|
766
775
|
|
776
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
767
777
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
768
778
|
|
769
779
|
options.apply_defaults timeout: @config.rpcs.get_scan_run.timeout,
|
@@ -850,12 +860,13 @@ module Google
|
|
850
860
|
# Customize the options with defaults
|
851
861
|
call_metadata = @config.rpcs.list_scan_runs.metadata.to_h
|
852
862
|
|
853
|
-
# Set x-goog-api-client
|
863
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
854
864
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
855
865
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
856
866
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
857
867
|
transports_version_send: [:rest]
|
858
868
|
|
869
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
859
870
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
860
871
|
|
861
872
|
options.apply_defaults timeout: @config.rpcs.list_scan_runs.timeout,
|
@@ -931,12 +942,13 @@ module Google
|
|
931
942
|
# Customize the options with defaults
|
932
943
|
call_metadata = @config.rpcs.stop_scan_run.metadata.to_h
|
933
944
|
|
934
|
-
# Set x-goog-api-client
|
945
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
935
946
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
936
947
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
937
948
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
938
949
|
transports_version_send: [:rest]
|
939
950
|
|
951
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
940
952
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
941
953
|
|
942
954
|
options.apply_defaults timeout: @config.rpcs.stop_scan_run.timeout,
|
@@ -1023,12 +1035,13 @@ module Google
|
|
1023
1035
|
# Customize the options with defaults
|
1024
1036
|
call_metadata = @config.rpcs.list_crawled_urls.metadata.to_h
|
1025
1037
|
|
1026
|
-
# Set x-goog-api-client
|
1038
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1027
1039
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1028
1040
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1029
1041
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
1030
1042
|
transports_version_send: [:rest]
|
1031
1043
|
|
1044
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1032
1045
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1033
1046
|
|
1034
1047
|
options.apply_defaults timeout: @config.rpcs.list_crawled_urls.timeout,
|
@@ -1104,12 +1117,13 @@ module Google
|
|
1104
1117
|
# Customize the options with defaults
|
1105
1118
|
call_metadata = @config.rpcs.get_finding.metadata.to_h
|
1106
1119
|
|
1107
|
-
# Set x-goog-api-client
|
1120
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1108
1121
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1109
1122
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1110
1123
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
1111
1124
|
transports_version_send: [:rest]
|
1112
1125
|
|
1126
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1113
1127
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1114
1128
|
|
1115
1129
|
options.apply_defaults timeout: @config.rpcs.get_finding.timeout,
|
@@ -1201,12 +1215,13 @@ module Google
|
|
1201
1215
|
# Customize the options with defaults
|
1202
1216
|
call_metadata = @config.rpcs.list_findings.metadata.to_h
|
1203
1217
|
|
1204
|
-
# Set x-goog-api-client
|
1218
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1205
1219
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1206
1220
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1207
1221
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
1208
1222
|
transports_version_send: [:rest]
|
1209
1223
|
|
1224
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1210
1225
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1211
1226
|
|
1212
1227
|
options.apply_defaults timeout: @config.rpcs.list_findings.timeout,
|
@@ -1282,12 +1297,13 @@ module Google
|
|
1282
1297
|
# Customize the options with defaults
|
1283
1298
|
call_metadata = @config.rpcs.list_finding_type_stats.metadata.to_h
|
1284
1299
|
|
1285
|
-
# Set x-goog-api-client
|
1300
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1286
1301
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1287
1302
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1288
1303
|
gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION,
|
1289
1304
|
transports_version_send: [:rest]
|
1290
1305
|
|
1306
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1291
1307
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1292
1308
|
|
1293
1309
|
options.apply_defaults timeout: @config.rpcs.list_finding_type_stats.timeout,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/cloud/websecurityscanner/v1beta/web_security_scanner.proto for package 'Google.Cloud.WebSecurityScanner.V1beta'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2024 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -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
|
@@ -192,9 +196,26 @@ module Google
|
|
192
196
|
# @!attribute [rw] common
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
194
198
|
# Some settings.
|
199
|
+
# @!attribute [rw] experimental_features
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
201
|
+
# Experimental features to be included during client library generation.
|
195
202
|
class PythonSettings
|
196
203
|
include ::Google::Protobuf::MessageExts
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
|
206
|
+
# Experimental features to be included during client library generation.
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
208
|
+
# by default.
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
210
|
+
# @return [::Boolean]
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
214
|
+
# feature in preview packages.
|
215
|
+
class ExperimentalFeatures
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
198
219
|
end
|
199
220
|
|
200
221
|
# Settings for Node client libraries.
|
@@ -286,6 +307,13 @@ module Google
|
|
286
307
|
# @return [::String]
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
288
309
|
# This is used to find the method to apply the options.
|
310
|
+
#
|
311
|
+
# Example:
|
312
|
+
#
|
313
|
+
# publishing:
|
314
|
+
# method_settings:
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
316
|
+
# # method settings for CreateFolder...
|
289
317
|
# @!attribute [rw] long_running
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
319
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +322,14 @@ module Google
|
|
294
322
|
#
|
295
323
|
# Example of a YAML configuration::
|
296
324
|
#
|
297
|
-
#
|
298
|
-
#
|
325
|
+
# publishing:
|
326
|
+
# method_settings:
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
328
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
303
330
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
309
334
|
# @return [::Array<::String>]
|
310
335
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +338,8 @@ module Google
|
|
313
338
|
#
|
314
339
|
# Example of a YAML configuration:
|
315
340
|
#
|
316
|
-
#
|
317
|
-
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
344
|
# auto_populated_fields:
|
320
345
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-web_security_scanner-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|