google-shopping-merchant-notifications-v1beta 0.5.0 → 0.5.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: 0ab8d56001271dabaa6ded27712990a111694c2f7635feca0fdaa00e094559be
|
|
4
|
+
data.tar.gz: bacb4ab4d80b15b15c8c9a0dfbba2854e43b82748c3ba23811340b9a87dde118
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f953d117e6108840ee13d051d5a57447b26b8af2debba29a59d99bb9b3ab6108d770e9468d0616b306e14a3f2b28aaf5cdb3a6ab517a6927f2348bffaae9c51e
|
|
7
|
+
data.tar.gz: f576662163f5542792816854ce750f263de38c772254c068b87f38a1dcf8ead10c0b1aeb037ce5cc507fd22c4958400c013b195f285aae24e90cc58a56d00666
|
|
@@ -680,8 +680,6 @@ module Google
|
|
|
680
680
|
# @return [::String,nil]
|
|
681
681
|
# @!attribute [rw] credentials
|
|
682
682
|
# Credentials to send with calls. You may provide any of the following types:
|
|
683
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
684
|
-
# * (`Hash`) A service account key as a Hash
|
|
685
683
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
686
684
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
687
685
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -690,7 +688,26 @@ module Google
|
|
|
690
688
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
691
689
|
# * (`nil`) indicating no credentials
|
|
692
690
|
#
|
|
693
|
-
# Warning:
|
|
691
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
692
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
693
|
+
# Google APIs can compromise the security of your systems and data.
|
|
694
|
+
#
|
|
695
|
+
# @example
|
|
696
|
+
#
|
|
697
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
698
|
+
# # on the appropriate credentials class for your environment.
|
|
699
|
+
#
|
|
700
|
+
# require "googleauth"
|
|
701
|
+
#
|
|
702
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
703
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
704
|
+
# )
|
|
705
|
+
#
|
|
706
|
+
# client = ::Google::Shopping::Merchant::Notifications::V1beta::NotificationsApiService::Client.new do |config|
|
|
707
|
+
# config.credentials = credentials
|
|
708
|
+
# end
|
|
709
|
+
#
|
|
710
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
694
711
|
# external source for authentication to Google Cloud, you must validate it before
|
|
695
712
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
696
713
|
# configuration to Google APIs can compromise the security of your systems and data.
|