google-cloud-web_security_scanner-v1beta 0.3.3 → 0.3.4

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: cdcf0bbb6b7e5064bbe86afd2236b7367722e0e8e40c6467ee8517a2afa46ded
4
- data.tar.gz: 6d89176e96f6ef5fcd3b978c44f29847b72f5bce69d2b8bcf713d26eb0a6cae2
3
+ metadata.gz: 44a83944d123972819bda1e082fb00e1039b6f399ae2d086b923a9aaf80ad7e6
4
+ data.tar.gz: 00ba1e95ea6faeeaa7d6ab9f00eccf9056da988a8bef6fcace468a92cc14039f
5
5
  SHA512:
6
- metadata.gz: 6eb2e8ca334670456d46d640d314b5e23df4c1d8212a4b7cf509a594893e2ff625a2acb0c74595b4ebeb13223884ce7fab76979954e74a95658074c0bac71347
7
- data.tar.gz: e2be17a437dfef65cc0dea8b300b1169b0838f59db59b74631df1d092e1c6444ee19dcd38c718046c5addfac34c3b1e05c96e881317afe14292e2c090ccb5ec5
6
+ metadata.gz: 007d41110bf897fd96b98b4a440492fed65a0e03da8f3633ca373c2100d1438638aefd22ff5e654ecedcf34ec4012e8e49136113a3f121be040acdbfe730e57a
7
+ data.tar.gz: 39dc67d8cbe842688a95941284b789ffbaa490c0f1004dafa661255e6c9d22987f3c59db96057745847158efea809e034a36f6df4435da0f5a886031ef0b606e
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1beta
24
- VERSION = "0.3.3"
24
+ VERSION = "0.3.4"
25
25
  end
26
26
  end
27
27
  end
@@ -231,6 +231,21 @@ module Google
231
231
  #
232
232
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
233
233
  #
234
+ # @example Basic example
235
+ # require "google/cloud/web_security_scanner/v1beta"
236
+ #
237
+ # # Create a client object. The client can be reused for multiple calls.
238
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
239
+ #
240
+ # # Create a request. To set request fields, pass in keyword arguments.
241
+ # request = Google::Cloud::WebSecurityScanner::V1beta::CreateScanConfigRequest.new
242
+ #
243
+ # # Call the create_scan_config method.
244
+ # result = client.create_scan_config request
245
+ #
246
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanConfig.
247
+ # p result
248
+ #
234
249
  def create_scan_config request, options = nil
235
250
  raise ::ArgumentError, "request must be provided" if request.nil?
236
251
 
@@ -248,9 +263,11 @@ module Google
248
263
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
249
264
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
250
265
 
251
- header_params = {
252
- "parent" => request.parent
253
- }
266
+ header_params = {}
267
+ if request.parent
268
+ header_params["parent"] = request.parent
269
+ end
270
+
254
271
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
255
272
  metadata[:"x-goog-request-params"] ||= request_params_header
256
273
 
@@ -300,6 +317,21 @@ module Google
300
317
  #
301
318
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
302
319
  #
320
+ # @example Basic example
321
+ # require "google/cloud/web_security_scanner/v1beta"
322
+ #
323
+ # # Create a client object. The client can be reused for multiple calls.
324
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
325
+ #
326
+ # # Create a request. To set request fields, pass in keyword arguments.
327
+ # request = Google::Cloud::WebSecurityScanner::V1beta::DeleteScanConfigRequest.new
328
+ #
329
+ # # Call the delete_scan_config method.
330
+ # result = client.delete_scan_config request
331
+ #
332
+ # # The returned object is of type Google::Protobuf::Empty.
333
+ # p result
334
+ #
303
335
  def delete_scan_config request, options = nil
304
336
  raise ::ArgumentError, "request must be provided" if request.nil?
305
337
 
@@ -317,9 +349,11 @@ module Google
317
349
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
318
350
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
319
351
 
320
- header_params = {
321
- "name" => request.name
322
- }
352
+ header_params = {}
353
+ if request.name
354
+ header_params["name"] = request.name
355
+ end
356
+
323
357
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
324
358
  metadata[:"x-goog-request-params"] ||= request_params_header
325
359
 
@@ -369,6 +403,21 @@ module Google
369
403
  #
370
404
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
371
405
  #
406
+ # @example Basic example
407
+ # require "google/cloud/web_security_scanner/v1beta"
408
+ #
409
+ # # Create a client object. The client can be reused for multiple calls.
410
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
411
+ #
412
+ # # Create a request. To set request fields, pass in keyword arguments.
413
+ # request = Google::Cloud::WebSecurityScanner::V1beta::GetScanConfigRequest.new
414
+ #
415
+ # # Call the get_scan_config method.
416
+ # result = client.get_scan_config request
417
+ #
418
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanConfig.
419
+ # p result
420
+ #
372
421
  def get_scan_config request, options = nil
373
422
  raise ::ArgumentError, "request must be provided" if request.nil?
374
423
 
@@ -386,9 +435,11 @@ module Google
386
435
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
387
436
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
388
437
 
389
- header_params = {
390
- "name" => request.name
391
- }
438
+ header_params = {}
439
+ if request.name
440
+ header_params["name"] = request.name
441
+ end
442
+
392
443
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
393
444
  metadata[:"x-goog-request-params"] ||= request_params_header
394
445
 
@@ -446,6 +497,27 @@ module Google
446
497
  #
447
498
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
448
499
  #
500
+ # @example Basic example
501
+ # require "google/cloud/web_security_scanner/v1beta"
502
+ #
503
+ # # Create a client object. The client can be reused for multiple calls.
504
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
505
+ #
506
+ # # Create a request. To set request fields, pass in keyword arguments.
507
+ # request = Google::Cloud::WebSecurityScanner::V1beta::ListScanConfigsRequest.new
508
+ #
509
+ # # Call the list_scan_configs method.
510
+ # result = client.list_scan_configs request
511
+ #
512
+ # # The returned object is of type Gapic::PagedEnumerable. You can
513
+ # # iterate over all elements by calling #each, and the enumerable
514
+ # # will lazily make API calls to fetch subsequent pages. Other
515
+ # # methods are also available for managing paging directly.
516
+ # result.each do |response|
517
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig.
518
+ # p response
519
+ # end
520
+ #
449
521
  def list_scan_configs request, options = nil
450
522
  raise ::ArgumentError, "request must be provided" if request.nil?
451
523
 
@@ -463,9 +535,11 @@ module Google
463
535
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
464
536
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
465
537
 
466
- header_params = {
467
- "parent" => request.parent
468
- }
538
+ header_params = {}
539
+ if request.parent
540
+ header_params["parent"] = request.parent
541
+ end
542
+
469
543
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
470
544
  metadata[:"x-goog-request-params"] ||= request_params_header
471
545
 
@@ -521,6 +595,21 @@ module Google
521
595
  #
522
596
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
523
597
  #
598
+ # @example Basic example
599
+ # require "google/cloud/web_security_scanner/v1beta"
600
+ #
601
+ # # Create a client object. The client can be reused for multiple calls.
602
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
603
+ #
604
+ # # Create a request. To set request fields, pass in keyword arguments.
605
+ # request = Google::Cloud::WebSecurityScanner::V1beta::UpdateScanConfigRequest.new
606
+ #
607
+ # # Call the update_scan_config method.
608
+ # result = client.update_scan_config request
609
+ #
610
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanConfig.
611
+ # p result
612
+ #
524
613
  def update_scan_config request, options = nil
525
614
  raise ::ArgumentError, "request must be provided" if request.nil?
526
615
 
@@ -538,9 +627,11 @@ module Google
538
627
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
539
628
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
540
629
 
541
- header_params = {
542
- "scan_config.name" => request.scan_config.name
543
- }
630
+ header_params = {}
631
+ if request.scan_config&.name
632
+ header_params["scan_config.name"] = request.scan_config.name
633
+ end
634
+
544
635
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
545
636
  metadata[:"x-goog-request-params"] ||= request_params_header
546
637
 
@@ -590,6 +681,21 @@ module Google
590
681
  #
591
682
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
592
683
  #
684
+ # @example Basic example
685
+ # require "google/cloud/web_security_scanner/v1beta"
686
+ #
687
+ # # Create a client object. The client can be reused for multiple calls.
688
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
689
+ #
690
+ # # Create a request. To set request fields, pass in keyword arguments.
691
+ # request = Google::Cloud::WebSecurityScanner::V1beta::StartScanRunRequest.new
692
+ #
693
+ # # Call the start_scan_run method.
694
+ # result = client.start_scan_run request
695
+ #
696
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanRun.
697
+ # p result
698
+ #
593
699
  def start_scan_run request, options = nil
594
700
  raise ::ArgumentError, "request must be provided" if request.nil?
595
701
 
@@ -607,9 +713,11 @@ module Google
607
713
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
608
714
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
609
715
 
610
- header_params = {
611
- "name" => request.name
612
- }
716
+ header_params = {}
717
+ if request.name
718
+ header_params["name"] = request.name
719
+ end
720
+
613
721
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
614
722
  metadata[:"x-goog-request-params"] ||= request_params_header
615
723
 
@@ -660,6 +768,21 @@ module Google
660
768
  #
661
769
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
662
770
  #
771
+ # @example Basic example
772
+ # require "google/cloud/web_security_scanner/v1beta"
773
+ #
774
+ # # Create a client object. The client can be reused for multiple calls.
775
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
776
+ #
777
+ # # Create a request. To set request fields, pass in keyword arguments.
778
+ # request = Google::Cloud::WebSecurityScanner::V1beta::GetScanRunRequest.new
779
+ #
780
+ # # Call the get_scan_run method.
781
+ # result = client.get_scan_run request
782
+ #
783
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanRun.
784
+ # p result
785
+ #
663
786
  def get_scan_run request, options = nil
664
787
  raise ::ArgumentError, "request must be provided" if request.nil?
665
788
 
@@ -677,9 +800,11 @@ module Google
677
800
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
678
801
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
679
802
 
680
- header_params = {
681
- "name" => request.name
682
- }
803
+ header_params = {}
804
+ if request.name
805
+ header_params["name"] = request.name
806
+ end
807
+
683
808
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
684
809
  metadata[:"x-goog-request-params"] ||= request_params_header
685
810
 
@@ -738,6 +863,27 @@ module Google
738
863
  #
739
864
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
740
865
  #
866
+ # @example Basic example
867
+ # require "google/cloud/web_security_scanner/v1beta"
868
+ #
869
+ # # Create a client object. The client can be reused for multiple calls.
870
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
871
+ #
872
+ # # Create a request. To set request fields, pass in keyword arguments.
873
+ # request = Google::Cloud::WebSecurityScanner::V1beta::ListScanRunsRequest.new
874
+ #
875
+ # # Call the list_scan_runs method.
876
+ # result = client.list_scan_runs request
877
+ #
878
+ # # The returned object is of type Gapic::PagedEnumerable. You can
879
+ # # iterate over all elements by calling #each, and the enumerable
880
+ # # will lazily make API calls to fetch subsequent pages. Other
881
+ # # methods are also available for managing paging directly.
882
+ # result.each do |response|
883
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::ScanRun.
884
+ # p response
885
+ # end
886
+ #
741
887
  def list_scan_runs request, options = nil
742
888
  raise ::ArgumentError, "request must be provided" if request.nil?
743
889
 
@@ -755,9 +901,11 @@ module Google
755
901
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
756
902
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
757
903
 
758
- header_params = {
759
- "parent" => request.parent
760
- }
904
+ header_params = {}
905
+ if request.parent
906
+ header_params["parent"] = request.parent
907
+ end
908
+
761
909
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
762
910
  metadata[:"x-goog-request-params"] ||= request_params_header
763
911
 
@@ -809,6 +957,21 @@ module Google
809
957
  #
810
958
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
811
959
  #
960
+ # @example Basic example
961
+ # require "google/cloud/web_security_scanner/v1beta"
962
+ #
963
+ # # Create a client object. The client can be reused for multiple calls.
964
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
965
+ #
966
+ # # Create a request. To set request fields, pass in keyword arguments.
967
+ # request = Google::Cloud::WebSecurityScanner::V1beta::StopScanRunRequest.new
968
+ #
969
+ # # Call the stop_scan_run method.
970
+ # result = client.stop_scan_run request
971
+ #
972
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ScanRun.
973
+ # p result
974
+ #
812
975
  def stop_scan_run request, options = nil
813
976
  raise ::ArgumentError, "request must be provided" if request.nil?
814
977
 
@@ -826,9 +989,11 @@ module Google
826
989
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
827
990
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
828
991
 
829
- header_params = {
830
- "name" => request.name
831
- }
992
+ header_params = {}
993
+ if request.name
994
+ header_params["name"] = request.name
995
+ end
996
+
832
997
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
833
998
  metadata[:"x-goog-request-params"] ||= request_params_header
834
999
 
@@ -887,6 +1052,27 @@ module Google
887
1052
  #
888
1053
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
889
1054
  #
1055
+ # @example Basic example
1056
+ # require "google/cloud/web_security_scanner/v1beta"
1057
+ #
1058
+ # # Create a client object. The client can be reused for multiple calls.
1059
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
1060
+ #
1061
+ # # Create a request. To set request fields, pass in keyword arguments.
1062
+ # request = Google::Cloud::WebSecurityScanner::V1beta::ListCrawledUrlsRequest.new
1063
+ #
1064
+ # # Call the list_crawled_urls method.
1065
+ # result = client.list_crawled_urls request
1066
+ #
1067
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1068
+ # # iterate over all elements by calling #each, and the enumerable
1069
+ # # will lazily make API calls to fetch subsequent pages. Other
1070
+ # # methods are also available for managing paging directly.
1071
+ # result.each do |response|
1072
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::CrawledUrl.
1073
+ # p response
1074
+ # end
1075
+ #
890
1076
  def list_crawled_urls request, options = nil
891
1077
  raise ::ArgumentError, "request must be provided" if request.nil?
892
1078
 
@@ -904,9 +1090,11 @@ module Google
904
1090
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
905
1091
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
906
1092
 
907
- header_params = {
908
- "parent" => request.parent
909
- }
1093
+ header_params = {}
1094
+ if request.parent
1095
+ header_params["parent"] = request.parent
1096
+ end
1097
+
910
1098
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
911
1099
  metadata[:"x-goog-request-params"] ||= request_params_header
912
1100
 
@@ -958,6 +1146,21 @@ module Google
958
1146
  #
959
1147
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
960
1148
  #
1149
+ # @example Basic example
1150
+ # require "google/cloud/web_security_scanner/v1beta"
1151
+ #
1152
+ # # Create a client object. The client can be reused for multiple calls.
1153
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
1154
+ #
1155
+ # # Create a request. To set request fields, pass in keyword arguments.
1156
+ # request = Google::Cloud::WebSecurityScanner::V1beta::GetFindingRequest.new
1157
+ #
1158
+ # # Call the get_finding method.
1159
+ # result = client.get_finding request
1160
+ #
1161
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::Finding.
1162
+ # p result
1163
+ #
961
1164
  def get_finding request, options = nil
962
1165
  raise ::ArgumentError, "request must be provided" if request.nil?
963
1166
 
@@ -975,9 +1178,11 @@ module Google
975
1178
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
976
1179
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
977
1180
 
978
- header_params = {
979
- "name" => request.name
980
- }
1181
+ header_params = {}
1182
+ if request.name
1183
+ header_params["name"] = request.name
1184
+ end
1185
+
981
1186
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
982
1187
  metadata[:"x-goog-request-params"] ||= request_params_header
983
1188
 
@@ -1041,6 +1246,27 @@ module Google
1041
1246
  #
1042
1247
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1043
1248
  #
1249
+ # @example Basic example
1250
+ # require "google/cloud/web_security_scanner/v1beta"
1251
+ #
1252
+ # # Create a client object. The client can be reused for multiple calls.
1253
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
1254
+ #
1255
+ # # Create a request. To set request fields, pass in keyword arguments.
1256
+ # request = Google::Cloud::WebSecurityScanner::V1beta::ListFindingsRequest.new
1257
+ #
1258
+ # # Call the list_findings method.
1259
+ # result = client.list_findings request
1260
+ #
1261
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1262
+ # # iterate over all elements by calling #each, and the enumerable
1263
+ # # will lazily make API calls to fetch subsequent pages. Other
1264
+ # # methods are also available for managing paging directly.
1265
+ # result.each do |response|
1266
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::Finding.
1267
+ # p response
1268
+ # end
1269
+ #
1044
1270
  def list_findings request, options = nil
1045
1271
  raise ::ArgumentError, "request must be provided" if request.nil?
1046
1272
 
@@ -1058,9 +1284,11 @@ module Google
1058
1284
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
1059
1285
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1060
1286
 
1061
- header_params = {
1062
- "parent" => request.parent
1063
- }
1287
+ header_params = {}
1288
+ if request.parent
1289
+ header_params["parent"] = request.parent
1290
+ end
1291
+
1064
1292
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1065
1293
  metadata[:"x-goog-request-params"] ||= request_params_header
1066
1294
 
@@ -1112,6 +1340,21 @@ module Google
1112
1340
  #
1113
1341
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1114
1342
  #
1343
+ # @example Basic example
1344
+ # require "google/cloud/web_security_scanner/v1beta"
1345
+ #
1346
+ # # Create a client object. The client can be reused for multiple calls.
1347
+ # client = Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new
1348
+ #
1349
+ # # Create a request. To set request fields, pass in keyword arguments.
1350
+ # request = Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsRequest.new
1351
+ #
1352
+ # # Call the list_finding_type_stats method.
1353
+ # result = client.list_finding_type_stats request
1354
+ #
1355
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsResponse.
1356
+ # p result
1357
+ #
1115
1358
  def list_finding_type_stats request, options = nil
1116
1359
  raise ::ArgumentError, "request must be provided" if request.nil?
1117
1360
 
@@ -1129,9 +1372,11 @@ module Google
1129
1372
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1beta::VERSION
1130
1373
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1131
1374
 
1132
- header_params = {
1133
- "parent" => request.parent
1134
- }
1375
+ header_params = {}
1376
+ if request.parent
1377
+ header_params["parent"] = request.parent
1378
+ end
1379
+
1135
1380
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1136
1381
  metadata[:"x-goog-request-params"] ||= request_params_header
1137
1382
 
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1beta/finding.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/resource_pb'
7
5
  require 'google/cloud/websecurityscanner/v1beta/finding_addon_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/websecurityscanner/v1beta/finding.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.websecurityscanner.v1beta.Finding" do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1beta/scan_config.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/cloud/websecurityscanner/v1beta/scan_run_pb'
9
7
  require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/websecurityscanner/v1beta/scan_config.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.websecurityscanner.v1beta.ScanConfig" do
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto
3
3
 
4
+ require 'google/cloud/websecurityscanner/v1beta/scan_config_error_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/cloud/websecurityscanner/v1beta/scan_config_error_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto", :syntax => :proto3) do
9
9
  add_message "google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace" do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1beta/scan_run.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/resource_pb'
7
5
  require 'google/cloud/websecurityscanner/v1beta/scan_run_error_trace_pb'
8
6
  require 'google/cloud/websecurityscanner/v1beta/scan_run_warning_trace_pb'
9
7
  require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/websecurityscanner/v1beta/scan_run.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.websecurityscanner.v1beta.ScanRun" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1beta/web_security_scanner.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -14,6 +12,8 @@ require 'google/cloud/websecurityscanner/v1beta/scan_config_pb'
14
12
  require 'google/cloud/websecurityscanner/v1beta/scan_run_pb'
15
13
  require 'google/protobuf/empty_pb'
16
14
  require 'google/protobuf/field_mask_pb'
15
+ require 'google/protobuf'
16
+
17
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
18
18
  add_file("google/cloud/websecurityscanner/v1beta/web_security_scanner.proto", :syntax => :proto3) do
19
19
  add_message "google.cloud.websecurityscanner.v1beta.CreateScanConfigRequest" do
@@ -30,7 +30,7 @@ module Google
30
30
  # attempts to exercise as many user inputs and event handlers as possible.
31
31
  class Service
32
32
 
33
- include GRPC::GenericService
33
+ include ::GRPC::GenericService
34
34
 
35
35
  self.marshal_class_method = :encode
36
36
  self.unmarshal_class_method = :decode
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.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common