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: b6a4b35f2ab66819de85b21852bd2816349e02ac63e25827c2b0685c7cc2263d
4
- data.tar.gz: 5d52a72ceee4e597b61be5022ad039321b851c85af6bbae4e79d72ca13ad8d28
3
+ metadata.gz: 3687f800b63016c8d27db88fa2fbde5017c06be4b65aef3eae32f6269016f4a5
4
+ data.tar.gz: b931afacded4021e40394ad98d96c4bf455a3375283bc5cc911d39a35bed4ebd
5
5
  SHA512:
6
- metadata.gz: 680556000803ed71a4791fcdd510f468f73da1128b6996edbc6e3f9a3a4738572ff91a44a5529ea4f4f3a8ffdc0740ad6349857d4cddd5e9c0e9ff8c74eb6148
7
- data.tar.gz: 71fd655c3078bfb33cacdee9efa27aa8e1d763d61446c6a887a346bcb1b1f01595391d2764c66cd7a554837bb600d1c8e62b39ea720d7c35da561fca0208a53d
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Reviews
24
24
  module V1beta
25
- VERSION = "0.6.0"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-reviews-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC