google-cloud-web_security_scanner-v1 1.4.0 → 1.4.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: d41e03cd43d9cbe119603a1baec57656d43407aaf20c0bde19d2fc2da0f31561
4
- data.tar.gz: 6574699f90cd6f333908a26e8a834ab374292b0df3453da797aa012c1920e36b
3
+ metadata.gz: 1183f78b47e48daade633142b4006e301917f2b70a3922cad73707fdce2a582b
4
+ data.tar.gz: 8acf310f12db733f82257b79bba6b3bbe0d77465bcb3d7be4779dad61028c0c9
5
5
  SHA512:
6
- metadata.gz: 6412997d3b9d8b4b6ea5d4ace5fcbcd7ea87848e7a91fe82dd6788d95ab8430e3331f7403816d965717e8fe8603b2b0727b0e036f18f31699381c5c7fd4301c3
7
- data.tar.gz: 9a0070b471280028245eef0f5abc8c554cafc85820c1943283f1042998920f430b4986e28aa8f5630d9b95648c6c8ee851e8b989dbebffbf0c721a566b738dc6
6
+ metadata.gz: 6aa3bfce546235118d6d188ae5db5851dde82e255b8c6dd63319e5c9bda14ca53c487b4c1901194cf388476b0ecc5bd214df4b57efa8f1176dd5581c6d05dbdd
7
+ data.tar.gz: b44d871180a8c109e64b55f68757b949d31b03f4a31bff141a3a244c646161a25af9948f5a5d8e8411243278be2da7489fac3afc4b3506d0f6b35fe12f0e48e5
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1464,8 +1464,6 @@ module Google
1464
1464
  # @return [::String,nil]
1465
1465
  # @!attribute [rw] credentials
1466
1466
  # Credentials to send with calls. You may provide any of the following types:
1467
- # * (`String`) The path to a service account key file in JSON format
1468
- # * (`Hash`) A service account key as a Hash
1469
1467
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1470
1468
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1471
1469
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1474,7 +1472,26 @@ module Google
1474
1472
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1475
1473
  # * (`nil`) indicating no credentials
1476
1474
  #
1477
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1475
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1476
+ # is deprecated. Providing an unvalidated credential configuration to
1477
+ # Google APIs can compromise the security of your systems and data.
1478
+ #
1479
+ # @example
1480
+ #
1481
+ # # The recommended way to provide credentials is to use the `make_creds` method
1482
+ # # on the appropriate credentials class for your environment.
1483
+ #
1484
+ # require "googleauth"
1485
+ #
1486
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1487
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1488
+ # )
1489
+ #
1490
+ # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
1491
+ # config.credentials = credentials
1492
+ # end
1493
+ #
1494
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1478
1495
  # external source for authentication to Google Cloud, you must validate it before
1479
1496
  # providing it to a Google API client library. Providing an unvalidated credential
1480
1497
  # 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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC