google-cloud-recaptcha_enterprise-v1 1.9.0 → 1.9.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: 1c114af16af11e6d08a549783b4b0f954df8406b216f45162fa8bc59f4b37c7f
4
- data.tar.gz: fe8e128ce4b959c6d3ac37b9e2ac0d8d15706233623fe31c4e505b411b29708a
3
+ metadata.gz: e00dfaf0203aea17ca5c17f8c5f2ee775341f4e10cede0bd87387fe3e0c0eac5
4
+ data.tar.gz: 6e02d860400aabbc790a1c2da80483b38647a30cc43866f637aaa84d7add0b92
5
5
  SHA512:
6
- metadata.gz: 04c675b5c45dbd9e198a9dadbe152c3df910db8b9fc2c2a298c1b5cc7e9614c11b4eebf97db8a56f5f83b4b84068f7d0d0972c50f7397bb04f753afed4e1ee68
7
- data.tar.gz: 56f1db53ebc18c383a7396e149c806f293819ffb26faf561379328acf77cfbfe61e58dd52f6407a8ce548f7b808f97d1e9b9b6a309c6676c3d2809dc499935b5
6
+ metadata.gz: f48df3cee2bf035c7663b75012769749662c857b7d864227ce669544e04bb56ec9a28af1b05008bfd4b70fa92032ca5c3d00bba5ba19f52f620806a92c03b442
7
+ data.tar.gz: e6de9bedb9e4527168ce71d4ca22922d2a9491aa0959f15f19d82fdebaa88c387d3aaf5bf92432e9b1704a73f3e7c910c782f76e8df27a51d319485f14362706
@@ -2288,8 +2288,6 @@ module Google
2288
2288
  # @return [::String,nil]
2289
2289
  # @!attribute [rw] credentials
2290
2290
  # Credentials to send with calls. You may provide any of the following types:
2291
- # * (`String`) The path to a service account key file in JSON format
2292
- # * (`Hash`) A service account key as a Hash
2293
2291
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2294
2292
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2295
2293
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2298,7 +2296,26 @@ module Google
2298
2296
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2299
2297
  # * (`nil`) indicating no credentials
2300
2298
  #
2301
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2299
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2300
+ # is deprecated. Providing an unvalidated credential configuration to
2301
+ # Google APIs can compromise the security of your systems and data.
2302
+ #
2303
+ # @example
2304
+ #
2305
+ # # The recommended way to provide credentials is to use the `make_creds` method
2306
+ # # on the appropriate credentials class for your environment.
2307
+ #
2308
+ # require "googleauth"
2309
+ #
2310
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2311
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2312
+ # )
2313
+ #
2314
+ # client = ::Google::Cloud::RecaptchaEnterprise::V1::RecaptchaEnterpriseService::Client.new do |config|
2315
+ # config.credentials = credentials
2316
+ # end
2317
+ #
2318
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2302
2319
  # external source for authentication to Google Cloud, you must validate it before
2303
2320
  # providing it to a Google API client library. Providing an unvalidated credential
2304
2321
  # 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 V1
24
- VERSION = "1.9.0"
24
+ VERSION = "1.9.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC