google-shopping-merchant-conversions-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: '08ff6d01c65473f0abba65a0601d4097d7398e2ace39d1b37ce44b3a6ad4bd45'
|
|
4
|
+
data.tar.gz: 06bb84acf07601095f051fed935dd99c344d6dc072598150a65b0b6727e4e8d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 219c804cece3ab00d68733341f51e4d46144999ec53c8e65d4e9411f835f0d556c54e6aec9985ffe2e5a28e148928b61af78a280d56a5f94073c2eb00688baf8
|
|
7
|
+
data.tar.gz: 133a2b2337e201b14dbd3c7fa847a98f06be53799ac5a076a0ff3c6d8d28fb7bd2d3208cea1682a481e5aaa2ca5931a5d401d02e80560921c34ac5a5312d944d
|
|
@@ -766,8 +766,6 @@ module Google
|
|
|
766
766
|
# @return [::String,nil]
|
|
767
767
|
# @!attribute [rw] credentials
|
|
768
768
|
# Credentials to send with calls. You may provide any of the following types:
|
|
769
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
770
|
-
# * (`Hash`) A service account key as a Hash
|
|
771
769
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
772
770
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
773
771
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -776,7 +774,26 @@ module Google
|
|
|
776
774
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
777
775
|
# * (`nil`) indicating no credentials
|
|
778
776
|
#
|
|
779
|
-
# Warning:
|
|
777
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
778
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
779
|
+
# Google APIs can compromise the security of your systems and data.
|
|
780
|
+
#
|
|
781
|
+
# @example
|
|
782
|
+
#
|
|
783
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
784
|
+
# # on the appropriate credentials class for your environment.
|
|
785
|
+
#
|
|
786
|
+
# require "googleauth"
|
|
787
|
+
#
|
|
788
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
789
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
790
|
+
# )
|
|
791
|
+
#
|
|
792
|
+
# client = ::Google::Shopping::Merchant::Conversions::V1beta::ConversionSourcesService::Client.new do |config|
|
|
793
|
+
# config.credentials = credentials
|
|
794
|
+
# end
|
|
795
|
+
#
|
|
796
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
780
797
|
# external source for authentication to Google Cloud, you must validate it before
|
|
781
798
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
782
799
|
# configuration to Google APIs can compromise the security of your systems and data.
|