google-cloud-web_security_scanner-v1 0.5.0 → 0.6.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: aa863bbf83b3277121fc42b09ad751b5d0cc9bee8ea2aa53bd95a3900889d618
4
- data.tar.gz: 28b341fad40c792bc86f9f50344e01509d4aa30d381d7362d90f516b9196faae
3
+ metadata.gz: 664278dbf7337d9bb4ecd02684aacd426ed0d77bbeec9799de7bbf4c9502176b
4
+ data.tar.gz: 9488c252bb4a875cd3db1af007a64652692b8d7dc3d9e947db9e58de8733ba57
5
5
  SHA512:
6
- metadata.gz: 6a792b63d631653ca66ea93aa43459f9481995dfed267c42b2424790b0f58a1ff2e9c02a53e3a33bd3e5b59bf0c0cc80b94435f4156c770751ee5690a0b5cc96
7
- data.tar.gz: 0d1b6afb49af0737ab7c67435d3b55746d804bd9865ede25fefc596ec2fc6ba82bb8ecf6153bfa7b420d4c0b4887ad576e4c962c6869146ef76c2ad6eb05ea8c
6
+ metadata.gz: 4b49af522889a3376efaf816733646841355ae37228d8c9dca822336247735622281b6adcbe130942ee520f15cd43bc660059a05c875d43195b572d0f66e1cdc
7
+ data.tar.gz: 186ac8c4d35aeac6b17ac6f351259cf39497b0ba8d331873c24d60acd1d66c54f318a531e00fabe6c9619e48a6905e3f37a14aea2a7c2520ffb0b22d92c4b888
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Web Security Scanner V1 API
2
2
 
3
- API Client library for the Web Security Scanner V1 API
3
+ Scans your Compute and App Engine apps for common web vulnerabilities.
4
4
 
5
5
  Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/web_security_scanner/v1/web_security_scanner/rest"
20
+ require "google/cloud/web_security_scanner/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module WebSecurityScanner
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/web_security_scanner/v1/rest"
31
+ # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Rest::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -507,13 +507,11 @@ module Google
507
507
  # # Call the list_scan_configs method.
508
508
  # result = client.list_scan_configs request
509
509
  #
510
- # # The returned object is of type Gapic::PagedEnumerable. You can
511
- # # iterate over all elements by calling #each, and the enumerable
512
- # # will lazily make API calls to fetch subsequent pages. Other
513
- # # methods are also available for managing paging directly.
514
- # result.each do |response|
510
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
511
+ # # over elements, and API calls will be issued to fetch pages as needed.
512
+ # result.each do |item|
515
513
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::ScanConfig.
516
- # p response
514
+ # p item
517
515
  # end
518
516
  #
519
517
  def list_scan_configs request, options = nil
@@ -873,13 +871,11 @@ module Google
873
871
  # # Call the list_scan_runs method.
874
872
  # result = client.list_scan_runs request
875
873
  #
876
- # # The returned object is of type Gapic::PagedEnumerable. You can
877
- # # iterate over all elements by calling #each, and the enumerable
878
- # # will lazily make API calls to fetch subsequent pages. Other
879
- # # methods are also available for managing paging directly.
880
- # result.each do |response|
874
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
875
+ # # over elements, and API calls will be issued to fetch pages as needed.
876
+ # result.each do |item|
881
877
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::ScanRun.
882
- # p response
878
+ # p item
883
879
  # end
884
880
  #
885
881
  def list_scan_runs request, options = nil
@@ -1062,13 +1058,11 @@ module Google
1062
1058
  # # Call the list_crawled_urls method.
1063
1059
  # result = client.list_crawled_urls request
1064
1060
  #
1065
- # # The returned object is of type Gapic::PagedEnumerable. You can
1066
- # # iterate over all elements by calling #each, and the enumerable
1067
- # # will lazily make API calls to fetch subsequent pages. Other
1068
- # # methods are also available for managing paging directly.
1069
- # result.each do |response|
1061
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1062
+ # # over elements, and API calls will be issued to fetch pages as needed.
1063
+ # result.each do |item|
1070
1064
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::CrawledUrl.
1071
- # p response
1065
+ # p item
1072
1066
  # end
1073
1067
  #
1074
1068
  def list_crawled_urls request, options = nil
@@ -1256,13 +1250,11 @@ module Google
1256
1250
  # # Call the list_findings method.
1257
1251
  # result = client.list_findings request
1258
1252
  #
1259
- # # The returned object is of type Gapic::PagedEnumerable. You can
1260
- # # iterate over all elements by calling #each, and the enumerable
1261
- # # will lazily make API calls to fetch subsequent pages. Other
1262
- # # methods are also available for managing paging directly.
1263
- # result.each do |response|
1253
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1254
+ # # over elements, and API calls will be issued to fetch pages as needed.
1255
+ # result.each do |item|
1264
1256
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::Finding.
1265
- # p response
1257
+ # p item
1266
1258
  # end
1267
1259
  #
1268
1260
  def list_findings request, options = nil