google-shopping-merchant-notifications-v1 0.2.0 → 0.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: 0a93a712550f1ac76a87c4ce79a38136c3cfffdb721c83a42000d4625276acce
|
|
4
|
+
data.tar.gz: c74f1e33b06a01f4f259e95baa0ec4e2d25c165e8e08ff6cfa556a6f1cbfad1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8eb5e7e08444fd3d89701c4e5918ded334ccff42dd58f8609c69c0fd56324b36b811423a1eaba4ee2e9de98f96bf7d6e4fa81af41f4ed06d0d1c567b11666fb
|
|
7
|
+
data.tar.gz: 260b65f3d6637093422e7c44d8104041e557927212cdd65623134fd1340021577e4e49ab617000844bb157b3e5d1555a68daf776ea17a000233f5f12d9f0e592
|
|
@@ -781,8 +781,6 @@ module Google
|
|
|
781
781
|
# @return [::String,nil]
|
|
782
782
|
# @!attribute [rw] credentials
|
|
783
783
|
# Credentials to send with calls. You may provide any of the following types:
|
|
784
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
785
|
-
# * (`Hash`) A service account key as a Hash
|
|
786
784
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
787
785
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
788
786
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -791,7 +789,26 @@ module Google
|
|
|
791
789
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
792
790
|
# * (`nil`) indicating no credentials
|
|
793
791
|
#
|
|
794
|
-
# Warning:
|
|
792
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
793
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
794
|
+
# Google APIs can compromise the security of your systems and data.
|
|
795
|
+
#
|
|
796
|
+
# @example
|
|
797
|
+
#
|
|
798
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
799
|
+
# # on the appropriate credentials class for your environment.
|
|
800
|
+
#
|
|
801
|
+
# require "googleauth"
|
|
802
|
+
#
|
|
803
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
804
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
805
|
+
# )
|
|
806
|
+
#
|
|
807
|
+
# client = ::Google::Shopping::Merchant::Notifications::V1::NotificationsApiService::Client.new do |config|
|
|
808
|
+
# config.credentials = credentials
|
|
809
|
+
# end
|
|
810
|
+
#
|
|
811
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
795
812
|
# external source for authentication to Google Cloud, you must validate it before
|
|
796
813
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
797
814
|
# configuration to Google APIs can compromise the security of your systems and data.
|