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: 59ef6aff7f5a76073260db2356a141e514ea94aa3cfcf250f39d1c1441b2f68b
4
- data.tar.gz: 844b43224dc14abf7a549431c6c60c05faaa12be1d157144d8c6623d6d6c15e3
3
+ metadata.gz: 0ab8d56001271dabaa6ded27712990a111694c2f7635feca0fdaa00e094559be
4
+ data.tar.gz: bacb4ab4d80b15b15c8c9a0dfbba2854e43b82748c3ba23811340b9a87dde118
5
5
  SHA512:
6
- metadata.gz: cded1e6f54df6a42bac17c3c0d6d36db9659981edd63ca810ca94f3c6a598a137db8131b53f7961bc7029bb942fc49a6ba11e837e08ed14626d472c769804130
7
- data.tar.gz: b5156b7e3b4de9773eeb07138d5d230737ba3a69e8c35fdc44ed0bf4964cb4cfd6ec621f7769be91c2db2b635a12f30be37439a8b5f013c3a243d303f2ccef05
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Notifications
24
24
  module V1beta
25
- VERSION = "0.5.0"
25
+ VERSION = "0.5.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-notifications-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC