google-shopping-merchant-products-v1 0.3.0 → 0.3.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: 85081e64489b50edd66740a197c4755bdb54565142945434d3998c61e0704fa9
4
- data.tar.gz: 6a49c77878bf88d8d9c7cc24a636b714e720d1bd188776c9da6c16852e6eab2d
3
+ metadata.gz: c2f8a84a0d07d83a1966c6d02b185056586de2e32294e170fb0593449dc1fb5f
4
+ data.tar.gz: 9ed18a2b296edcd932c54786379152e58742c359c3bfe1c3354ca73e5268f56f
5
5
  SHA512:
6
- metadata.gz: ab2b6f22dd5e9be97b0781ef12be8ec7adfb06e663490a3390bf05aed4c0afda32e49797883f96ffdc539b5fb8a1557ef195f5b63afcf37b641436f476dee648
7
- data.tar.gz: d8d9a7ca7fe34e29224f3cecd9d603de3f67c3d08364b2217cbee97901706a26d6452448394583e660745aa5853bcb0db500b1fe29e73408d430795f23d1683a
6
+ metadata.gz: f59d24885371d409705c633910c424c6846912786f60e04f4ce6b2ba677c0c5e0f60ba4d72088e14f06cab0ce1cd01190ff4c3772e40c0917485a25e4d39730b
7
+ data.tar.gz: 74fe4295ace2961ca7b15b074edff4f9fa2b009b831e9e9788849c033abfb64e874b57bd7abd17254c9960991fb1a60d07413a047eda71b833e535113bfd4f75
@@ -546,8 +546,6 @@ module Google
546
546
  # @return [::String,nil]
547
547
  # @!attribute [rw] credentials
548
548
  # Credentials to send with calls. You may provide any of the following types:
549
- # * (`String`) The path to a service account key file in JSON format
550
- # * (`Hash`) A service account key as a Hash
551
549
  # * (`Google::Auth::Credentials`) A googleauth credentials object
552
550
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
553
551
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -556,7 +554,26 @@ module Google
556
554
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
557
555
  # * (`nil`) indicating no credentials
558
556
  #
559
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
557
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
558
+ # is deprecated. Providing an unvalidated credential configuration to
559
+ # Google APIs can compromise the security of your systems and data.
560
+ #
561
+ # @example
562
+ #
563
+ # # The recommended way to provide credentials is to use the `make_creds` method
564
+ # # on the appropriate credentials class for your environment.
565
+ #
566
+ # require "googleauth"
567
+ #
568
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
569
+ # json_key_io: ::File.open("/path/to/keyfile.json")
570
+ # )
571
+ #
572
+ # client = ::Google::Shopping::Merchant::Products::V1::ProductInputsService::Client.new do |config|
573
+ # config.credentials = credentials
574
+ # end
575
+ #
576
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
560
577
  # external source for authentication to Google Cloud, you must validate it before
561
578
  # providing it to a Google API client library. Providing an unvalidated credential
562
579
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -429,8 +429,6 @@ module Google
429
429
  # @return [::String,nil]
430
430
  # @!attribute [rw] credentials
431
431
  # Credentials to send with calls. You may provide any of the following types:
432
- # * (`String`) The path to a service account key file in JSON format
433
- # * (`Hash`) A service account key as a Hash
434
432
  # * (`Google::Auth::Credentials`) A googleauth credentials object
435
433
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
436
434
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -439,7 +437,26 @@ module Google
439
437
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
440
438
  # * (`nil`) indicating no credentials
441
439
  #
442
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
440
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
441
+ # is deprecated. Providing an unvalidated credential configuration to
442
+ # Google APIs can compromise the security of your systems and data.
443
+ #
444
+ # @example
445
+ #
446
+ # # The recommended way to provide credentials is to use the `make_creds` method
447
+ # # on the appropriate credentials class for your environment.
448
+ #
449
+ # require "googleauth"
450
+ #
451
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
452
+ # json_key_io: ::File.open("/path/to/keyfile.json")
453
+ # )
454
+ #
455
+ # client = ::Google::Shopping::Merchant::Products::V1::ProductsService::Client.new do |config|
456
+ # config.credentials = credentials
457
+ # end
458
+ #
459
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
443
460
  # external source for authentication to Google Cloud, you must validate it before
444
461
  # providing it to a Google API client library. Providing an unvalidated credential
445
462
  # 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 Products
24
24
  module V1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.3.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-products-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC