google-cloud-web_security_scanner-v1beta 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5944ae2340aa0aa1104d7a9609442c4bcbff0a3ed3d25114b2928ee09a7c821
4
- data.tar.gz: 24abb6ee25269b29f4e59bd3988bdde9d6f1078e880b089703723c86c11470b6
3
+ metadata.gz: ba18e4ad364c137c186a65c6897f3fa8fa4b94f87c178936ab1abdc850bdb0cc
4
+ data.tar.gz: 224125ad2894adc47c74dbe69c56999097abc6b3a9161a93dcf58f21daf84015
5
5
  SHA512:
6
- metadata.gz: 2dfb3980eee9c240c9dd4c9dd11d656c36f6af9ca085ccf894c86dd75283260ea401aed7da727ec8f4fa45a2403e9b48d9137f51669794a612c13e1cf30fffb5
7
- data.tar.gz: 95665b7ecc359203f3b46e721d36ae8c831a1120e571cfb83496271f6bd87ffb8d1e139313a042c3809ac6fe338822795286de95df5dd593a3f8eb272102d0b3
6
+ metadata.gz: 44bdf14e7d53748745b31c3fa21a10a75eaf2029da6acd195afbc656cb97cf237a6b0b2b236dc1b54e147458e65ddca68d82b6b0e55103a7e8d786fb1b3d4778
7
+ data.tar.gz: 5a06f2c48c8371c06ec81506bca5d17624c46f9a419295597301740023599a9e80e62e4ed4cbfddb379362a6e3a76dfabe6f961f39f20897f818603cf7ec8706
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1beta
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1466,8 +1466,6 @@ module Google
1466
1466
  # @return [::String,nil]
1467
1467
  # @!attribute [rw] credentials
1468
1468
  # Credentials to send with calls. You may provide any of the following types:
1469
- # * (`String`) The path to a service account key file in JSON format
1470
- # * (`Hash`) A service account key as a Hash
1471
1469
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1472
1470
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1473
1471
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1476,7 +1474,26 @@ module Google
1476
1474
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1477
1475
  # * (`nil`) indicating no credentials
1478
1476
  #
1479
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1477
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1478
+ # is deprecated. Providing an unvalidated credential configuration to
1479
+ # Google APIs can compromise the security of your systems and data.
1480
+ #
1481
+ # @example
1482
+ #
1483
+ # # The recommended way to provide credentials is to use the `make_creds` method
1484
+ # # on the appropriate credentials class for your environment.
1485
+ #
1486
+ # require "googleauth"
1487
+ #
1488
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1489
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1490
+ # )
1491
+ #
1492
+ # client = ::Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Client.new do |config|
1493
+ # config.credentials = credentials
1494
+ # end
1495
+ #
1496
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1480
1497
  # external source for authentication to Google Cloud, you must validate it before
1481
1498
  # providing it to a Google API client library. Providing an unvalidated credential
1482
1499
  # configuration to Google APIs can compromise the security of your systems and data.
metadata CHANGED
@@ -1,7 +1,7 @@
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.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC