google-cloud-firestore-v1 2.2.0 → 2.2.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: 26ca9602d2def8cbdd712ea2cdf7d5c0103f89b267b03a29c0a75f7007d99fb6
|
|
4
|
+
data.tar.gz: 858b86cc1b8c9923b126e583850cbb9e8fa2420131f26099a2e6482534005fea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 875ca082842a144e401a6c8fe5d2b079db18d9281b94e0c5042e80f2d8baf8ae443a8dec04c80fa385783edc6d3b4ce0f48e2953a1e76783d4c1e24ef21b7fbb
|
|
7
|
+
data.tar.gz: cd31e0e49b065f033bf707b4db837d788e3be42a604212b0c92eb84f0aac6fc649554409a12f81f069de8a5f11e686edacaf0defe48883fad1bc2dcea6d50027
|
|
@@ -2004,8 +2004,6 @@ module Google
|
|
|
2004
2004
|
# @return [::String,nil]
|
|
2005
2005
|
# @!attribute [rw] credentials
|
|
2006
2006
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2007
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2008
|
-
# * (`Hash`) A service account key as a Hash
|
|
2009
2007
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2010
2008
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2011
2009
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2014,7 +2012,26 @@ module Google
|
|
|
2014
2012
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2015
2013
|
# * (`nil`) indicating no credentials
|
|
2016
2014
|
#
|
|
2017
|
-
# Warning:
|
|
2015
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2016
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2017
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2018
|
+
#
|
|
2019
|
+
# @example
|
|
2020
|
+
#
|
|
2021
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2022
|
+
# # on the appropriate credentials class for your environment.
|
|
2023
|
+
#
|
|
2024
|
+
# require "googleauth"
|
|
2025
|
+
#
|
|
2026
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2027
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2028
|
+
# )
|
|
2029
|
+
#
|
|
2030
|
+
# client = ::Google::Cloud::Firestore::V1::Firestore::Client.new do |config|
|
|
2031
|
+
# config.credentials = credentials
|
|
2032
|
+
# end
|
|
2033
|
+
#
|
|
2034
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2018
2035
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2019
2036
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2020
2037
|
# configuration to Google APIs can compromise the security of your systems and data.
|