google-cloud-web_security_scanner-v1beta 0.4.0 → 0.5.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: 4a442feb1a48278f83416c4dfc956b1ef27631a9cf608e71d6f42425712719b2
4
- data.tar.gz: 62268dcc778cafa38b01ed0532ddc0aa67c935a96621038d64ea7072e0a90629
3
+ metadata.gz: 26aef06ebe0aefed94d0bd07a6a35522be475cd4f4d1d9dfdedfd83e85c1c742
4
+ data.tar.gz: b7d1a1cfb16974cf51c5a1fff88b5881ac1411887b4977c6aa65175761db4055
5
5
  SHA512:
6
- metadata.gz: 7bd81acc4fc6eae70f0281de5df9aa61f4e5400c51cc22a443f98145a4378501a85b793b433e072d4c039141bcd50d0ce021c0c59b43c541a1e353d1a79c9e67
7
- data.tar.gz: a10d5b2d2a5659d2e4e302ddfbd1e0304d565b155522c63e59e3a65e8f874a5a5bf7aa16bd60dee4cca835a0c93d6f9e7bce1f1a2c4920a33deb88d7a51be162
6
+ metadata.gz: b32af19a0387e2c2a0f708ee018efe53e69969ddd8aeb947ad0b0c29b1f34f05ef5d0c5485e7684b2264cc16d060d2df15b826f789a0e697c61732a387fbfa9f
7
+ data.tar.gz: fbcd754c72f8289e89bc953dc7a162f903199ecb81435071b539c5c3bebeff9344040cc3c7b709e0b1e2dde3ea989c18cd7fd4a93116acf48953529502be00ec
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Web Security Scanner V1beta API
2
2
 
3
- API Client library for the Web Security Scanner V1beta 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/v1beta/web_security_scanner/rest"
20
+ require "google/cloud/web_security_scanner/v1beta/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/v1beta/rest"
31
+ # client = ::Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Rest::Client.new
32
+ #
33
+ module V1beta
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 V1beta
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -509,13 +509,11 @@ module Google
509
509
  # # Call the list_scan_configs method.
510
510
  # result = client.list_scan_configs request
511
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|
512
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
513
+ # # over elements, and API calls will be issued to fetch pages as needed.
514
+ # result.each do |item|
517
515
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig.
518
- # p response
516
+ # p item
519
517
  # end
520
518
  #
521
519
  def list_scan_configs request, options = nil
@@ -875,13 +873,11 @@ module Google
875
873
  # # Call the list_scan_runs method.
876
874
  # result = client.list_scan_runs request
877
875
  #
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|
876
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
877
+ # # over elements, and API calls will be issued to fetch pages as needed.
878
+ # result.each do |item|
883
879
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::ScanRun.
884
- # p response
880
+ # p item
885
881
  # end
886
882
  #
887
883
  def list_scan_runs request, options = nil
@@ -1064,13 +1060,11 @@ module Google
1064
1060
  # # Call the list_crawled_urls method.
1065
1061
  # result = client.list_crawled_urls request
1066
1062
  #
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|
1063
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1064
+ # # over elements, and API calls will be issued to fetch pages as needed.
1065
+ # result.each do |item|
1072
1066
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::CrawledUrl.
1073
- # p response
1067
+ # p item
1074
1068
  # end
1075
1069
  #
1076
1070
  def list_crawled_urls request, options = nil
@@ -1258,13 +1252,11 @@ module Google
1258
1252
  # # Call the list_findings method.
1259
1253
  # result = client.list_findings request
1260
1254
  #
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|
1255
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1256
+ # # over elements, and API calls will be issued to fetch pages as needed.
1257
+ # result.each do |item|
1266
1258
  # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1beta::Finding.
1267
- # p response
1259
+ # p item
1268
1260
  # end
1269
1261
  #
1270
1262
  def list_findings request, options = nil