google-shopping-merchant-reviews-v1beta 0.6.0 → 0.6.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: 3687f800b63016c8d27db88fa2fbde5017c06be4b65aef3eae32f6269016f4a5
|
|
4
|
+
data.tar.gz: b931afacded4021e40394ad98d96c4bf455a3375283bc5cc911d39a35bed4ebd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7869df7bfb100e20d4e5330cec0b1ec7945adfb300343b3a4cb08015457d098a5dbfc263a0d4a4e8decc47d1dc1ebe59225cbfff45d6ba0b0f89054d8d04f39e
|
|
7
|
+
data.tar.gz: 1c6315ff6418e33e0da209fb92e2dfd553120cf23b6cde0af2f9c8015c047f0ecee82922e2d814eade01fdfb85cef30b8725a57829d29cc18cfcfe3f23c97312
|
|
@@ -593,8 +593,6 @@ module Google
|
|
|
593
593
|
# @return [::String,nil]
|
|
594
594
|
# @!attribute [rw] credentials
|
|
595
595
|
# Credentials to send with calls. You may provide any of the following types:
|
|
596
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
597
|
-
# * (`Hash`) A service account key as a Hash
|
|
598
596
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
599
597
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
600
598
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -603,7 +601,26 @@ module Google
|
|
|
603
601
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
604
602
|
# * (`nil`) indicating no credentials
|
|
605
603
|
#
|
|
606
|
-
# Warning:
|
|
604
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
605
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
606
|
+
# Google APIs can compromise the security of your systems and data.
|
|
607
|
+
#
|
|
608
|
+
# @example
|
|
609
|
+
#
|
|
610
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
611
|
+
# # on the appropriate credentials class for your environment.
|
|
612
|
+
#
|
|
613
|
+
# require "googleauth"
|
|
614
|
+
#
|
|
615
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
616
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
617
|
+
# )
|
|
618
|
+
#
|
|
619
|
+
# client = ::Google::Shopping::Merchant::Reviews::V1beta::MerchantReviewsService::Client.new do |config|
|
|
620
|
+
# config.credentials = credentials
|
|
621
|
+
# end
|
|
622
|
+
#
|
|
623
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
607
624
|
# external source for authentication to Google Cloud, you must validate it before
|
|
608
625
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
609
626
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -588,8 +588,6 @@ module Google
|
|
|
588
588
|
# @return [::String,nil]
|
|
589
589
|
# @!attribute [rw] credentials
|
|
590
590
|
# Credentials to send with calls. You may provide any of the following types:
|
|
591
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
592
|
-
# * (`Hash`) A service account key as a Hash
|
|
593
591
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
594
592
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
595
593
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -598,7 +596,26 @@ module Google
|
|
|
598
596
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
599
597
|
# * (`nil`) indicating no credentials
|
|
600
598
|
#
|
|
601
|
-
# Warning:
|
|
599
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
600
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
601
|
+
# Google APIs can compromise the security of your systems and data.
|
|
602
|
+
#
|
|
603
|
+
# @example
|
|
604
|
+
#
|
|
605
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
606
|
+
# # on the appropriate credentials class for your environment.
|
|
607
|
+
#
|
|
608
|
+
# require "googleauth"
|
|
609
|
+
#
|
|
610
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
611
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
612
|
+
# )
|
|
613
|
+
#
|
|
614
|
+
# client = ::Google::Shopping::Merchant::Reviews::V1beta::ProductReviewsService::Client.new do |config|
|
|
615
|
+
# config.credentials = credentials
|
|
616
|
+
# end
|
|
617
|
+
#
|
|
618
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
602
619
|
# external source for authentication to Google Cloud, you must validate it before
|
|
603
620
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
604
621
|
# configuration to Google APIs can compromise the security of your systems and data.
|