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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e00dfaf0203aea17ca5c17f8c5f2ee775341f4e10cede0bd87387fe3e0c0eac5
|
|
4
|
+
data.tar.gz: 6e02d860400aabbc790a1c2da80483b38647a30cc43866f637aaa84d7add0b92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|