google-cloud-dataqna-v1alpha 0.11.0 → 0.11.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: d9e64830018561df46256e63d5648c44f52c8a4b341a041d398427fbcba2b97d
|
|
4
|
+
data.tar.gz: 9eb180c36a54f05fbfd32065b243c030bab21ea9ccc3e802b2814b0441a08c43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4198a830ea094c1ad8c04dd2ad503049fd10639fa3695575db8888bb8ffc032008fbfdc363d9e3a13e57012f45239c8daf580505543d86170cc088a39d45b7ef
|
|
7
|
+
data.tar.gz: 6b26c6b8d94e52f4cd08e3b56294ff59be8de0163b621190b6e00cc13dddcff327c4d5d9307708459aec4e3867733c68eebb41b59cc4ba5891f913685c51b4b5
|
|
@@ -387,8 +387,6 @@ module Google
|
|
|
387
387
|
# @return [::String,nil]
|
|
388
388
|
# @!attribute [rw] credentials
|
|
389
389
|
# Credentials to send with calls. You may provide any of the following types:
|
|
390
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
391
|
-
# * (`Hash`) A service account key as a Hash
|
|
392
390
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
393
391
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
394
392
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -397,7 +395,26 @@ module Google
|
|
|
397
395
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
398
396
|
# * (`nil`) indicating no credentials
|
|
399
397
|
#
|
|
400
|
-
# Warning:
|
|
398
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
399
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
400
|
+
# Google APIs can compromise the security of your systems and data.
|
|
401
|
+
#
|
|
402
|
+
# @example
|
|
403
|
+
#
|
|
404
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
405
|
+
# # on the appropriate credentials class for your environment.
|
|
406
|
+
#
|
|
407
|
+
# require "googleauth"
|
|
408
|
+
#
|
|
409
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
410
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
411
|
+
# )
|
|
412
|
+
#
|
|
413
|
+
# client = ::Google::Cloud::DataQnA::V1alpha::AutoSuggestionService::Client.new do |config|
|
|
414
|
+
# config.credentials = credentials
|
|
415
|
+
# end
|
|
416
|
+
#
|
|
417
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
401
418
|
# external source for authentication to Google Cloud, you must validate it before
|
|
402
419
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
403
420
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -685,8 +685,6 @@ module Google
|
|
|
685
685
|
# @return [::String,nil]
|
|
686
686
|
# @!attribute [rw] credentials
|
|
687
687
|
# Credentials to send with calls. You may provide any of the following types:
|
|
688
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
689
|
-
# * (`Hash`) A service account key as a Hash
|
|
690
688
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
691
689
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
692
690
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -695,7 +693,26 @@ module Google
|
|
|
695
693
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
696
694
|
# * (`nil`) indicating no credentials
|
|
697
695
|
#
|
|
698
|
-
# Warning:
|
|
696
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
697
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
698
|
+
# Google APIs can compromise the security of your systems and data.
|
|
699
|
+
#
|
|
700
|
+
# @example
|
|
701
|
+
#
|
|
702
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
703
|
+
# # on the appropriate credentials class for your environment.
|
|
704
|
+
#
|
|
705
|
+
# require "googleauth"
|
|
706
|
+
#
|
|
707
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
708
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
709
|
+
# )
|
|
710
|
+
#
|
|
711
|
+
# client = ::Google::Cloud::DataQnA::V1alpha::QuestionService::Client.new do |config|
|
|
712
|
+
# config.credentials = credentials
|
|
713
|
+
# end
|
|
714
|
+
#
|
|
715
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
699
716
|
# external source for authentication to Google Cloud, you must validate it before
|
|
700
717
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
701
718
|
# configuration to Google APIs can compromise the security of your systems and data.
|