google-cloud-recaptcha_enterprise-v1beta1 0.19.0 → 0.19.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: e0229631a8bffa567d95493d4cd1f58ab3aa4f0ee3ae519c63779d93d1e8d589
4
- data.tar.gz: b43c3824c5b19a830f8339b3bf342cd382c047a9e1875e6c811a1c8f13683939
3
+ metadata.gz: 5f837b2e9e67cc0c52a2954576e74de4f9f314d6d230f6c77e22ece4f7f10986
4
+ data.tar.gz: 8f05148227f50f20b2f849d7b3757debcda1efaac21e89f89768768d3f9d0dc9
5
5
  SHA512:
6
- metadata.gz: 5cbacae84203579c3c778c3e9c64ed0be82332470619590fd1a8e714f9265d1a43017bdafb1668ff5780f9ef75d668cfe5e0bfc3413329f8ef301e49d92cb25b
7
- data.tar.gz: 53f3d17ef43f2cb20c54f49037ddf467d7f3d7ad995502bb879a2682b58c06eb6cd41c124c490a90d206b6d1db804499d4f600ef1f3efc0d624258f4d700fc9b
6
+ metadata.gz: 2710d635dc5ec59fc4faa05cc0ec79db923800d1d3b242eb3d5cfc0ac7a2db38e52079940c385982b7c48fd631a946e62a485567b009c53638204ac81833c90f
7
+ data.tar.gz: 033dc5213880dc0694c8d6bf1160df99a918273ace81fc14efeb57a8b7ea910379bb56173d6ea616c392d8b3df91f50c0f74e19a5f84b95da112876242d1968d
@@ -412,8 +412,6 @@ module Google
412
412
  # @return [::String,nil]
413
413
  # @!attribute [rw] credentials
414
414
  # Credentials to send with calls. You may provide any of the following types:
415
- # * (`String`) The path to a service account key file in JSON format
416
- # * (`Hash`) A service account key as a Hash
417
415
  # * (`Google::Auth::Credentials`) A googleauth credentials object
418
416
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
419
417
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -422,7 +420,26 @@ module Google
422
420
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
423
421
  # * (`nil`) indicating no credentials
424
422
  #
425
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
423
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
424
+ # is deprecated. Providing an unvalidated credential configuration to
425
+ # Google APIs can compromise the security of your systems and data.
426
+ #
427
+ # @example
428
+ #
429
+ # # The recommended way to provide credentials is to use the `make_creds` method
430
+ # # on the appropriate credentials class for your environment.
431
+ #
432
+ # require "googleauth"
433
+ #
434
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
435
+ # json_key_io: ::File.open("/path/to/keyfile.json")
436
+ # )
437
+ #
438
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1beta1::RecaptchaEnterpriseService::Client.new do |config|
439
+ # config.credentials = credentials
440
+ # end
441
+ #
442
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
426
443
  # external source for authentication to Google Cloud, you must validate it before
427
444
  # providing it to a Google API client library. Providing an unvalidated credential
428
445
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RecaptchaEnterprise
23
23
  module V1beta1
24
- VERSION = "0.19.0"
24
+ VERSION = "0.19.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recaptcha_enterprise-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC