google-cloud-web_risk-v1beta1 0.14.0 → 0.14.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: b53031f19882af6ca1ddcc5c0ad540d9e9ed9a67193195ab871e53fe51766215
4
- data.tar.gz: e0ad1a28380ae9b501f0fdbb90d6bda1c3c35aee35fbfdb024e33f91b1a7f49d
3
+ metadata.gz: 436375d5dbaeef2c2eccb61aad1328427e1f7ce36143f0bbec16f53124334b81
4
+ data.tar.gz: d2c00425d2ecb4f4f4627f2287c89cd4d82b40227f41d5b0faf09c6a226f2986
5
5
  SHA512:
6
- metadata.gz: b28e3fc24d93e2af1c22ad7a4fd4c6d8e883bd19f96e2350a00c444ce83d46862a5654809a9a795a9af96c3aa3c56770373a68e2a736b5d2f644755890c1abba
7
- data.tar.gz: bfc41b2bf23cab7f67213e67cfc955bd5c8156b72ba21c5742ab09c25bbe9195da94e302dad57f38ea493c774af9f63e9bcb6658fd03c488593aa0af84d10ac6
6
+ metadata.gz: d7944ce2ce6f8cac60b9960accafe8fafad26f5610b337f70a599e0e827c78bf8c231914099f8a4cb115ff9fc1b3390f55cf2271e690e7819b9bf67db68806af
7
+ data.tar.gz: 1b195bb8ead14203ac5b092ccd8182ecbd34f4440c29249ad5d98e4eb8d5c0bbdf787d56df7791686ba86dd3fb15f604740685f218ed3ce1fc1c6c35f3c1d1e4
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebRisk
23
23
  module V1beta1
24
- VERSION = "0.14.0"
24
+ VERSION = "0.14.1"
25
25
  end
26
26
  end
27
27
  end
@@ -477,8 +477,6 @@ module Google
477
477
  # @return [::String,nil]
478
478
  # @!attribute [rw] credentials
479
479
  # Credentials to send with calls. You may provide any of the following types:
480
- # * (`String`) The path to a service account key file in JSON format
481
- # * (`Hash`) A service account key as a Hash
482
480
  # * (`Google::Auth::Credentials`) A googleauth credentials object
483
481
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
484
482
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -487,7 +485,26 @@ module Google
487
485
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
488
486
  # * (`nil`) indicating no credentials
489
487
  #
490
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
488
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
489
+ # is deprecated. Providing an unvalidated credential configuration to
490
+ # Google APIs can compromise the security of your systems and data.
491
+ #
492
+ # @example
493
+ #
494
+ # # The recommended way to provide credentials is to use the `make_creds` method
495
+ # # on the appropriate credentials class for your environment.
496
+ #
497
+ # require "googleauth"
498
+ #
499
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
500
+ # json_key_io: ::File.open("/path/to/keyfile.json")
501
+ # )
502
+ #
503
+ # client = ::Google::Cloud::WebRisk::V1beta1::WebRiskService::Client.new do |config|
504
+ # config.credentials = credentials
505
+ # end
506
+ #
507
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
491
508
  # external source for authentication to Google Cloud, you must validate it before
492
509
  # providing it to a Google API client library. Providing an unvalidated credential
493
510
  # 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_risk-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC