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