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: 7078d3e0048759d4a45e7ca3c4b3dfd7591bc3aa2f41f7c758fb4a73ea22edbc
4
- data.tar.gz: b1dabc4e28334bece4cdf3609a9338898bc9bac42c7f8847afaf2a163f100fe5
3
+ metadata.gz: '08ff6d01c65473f0abba65a0601d4097d7398e2ace39d1b37ce44b3a6ad4bd45'
4
+ data.tar.gz: 06bb84acf07601095f051fed935dd99c344d6dc072598150a65b0b6727e4e8d5
5
5
  SHA512:
6
- metadata.gz: 0bf939db0a20c8efa56ddbaa617f62979fd3bd56e750f34beff9446bc7c6bf7c51efc0a3cc284b7351186f590e43313f8b83652b021a90d1df085183f68c192d
7
- data.tar.gz: cd0c2e8871d01cdaba5dac9608ea99cfcd6ab9aa87ef849bc8fcbc9ec74c6fb4a632c44b82d904ec08217f1187ac814fbaec31f0773750fe3ae39fda9b9bc57b
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module Conversions
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-conversions-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