google-shopping-merchant-inventories-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: c7b28b1286c1f5d383ed4dfcb72421ca24a90ae2f89218c690e8acfc9975646e
4
- data.tar.gz: 78b5efbfeba1ca7a524bb7208e8fa1c6de801c4e388df1beb27fe85b2a9f6943
3
+ metadata.gz: 5952ed004e434a10b2ab13003875dfa055cc634d6a3af9d0a6a38b300c0c6b81
4
+ data.tar.gz: 94666cb6b3f9597e089ce4604153f855182902617a6bfd495e1728ac7ea251c1
5
5
  SHA512:
6
- metadata.gz: d538fe8ed303fb7be1104061762b389a0dcb1b1aa2c6e5a2aea9fabed335e9a565b3e7aabbba77d64e15029a97821d29dd133acf850ea4b4ceaa2efafd76ddb8
7
- data.tar.gz: 45795639d2c3c3e487f24e943a02fa94f4033b9285aeb75688cf41e2f5716f8dce99d1ae2d9bc7acf4f5fb584b908ce4dd822139e51433eb1af2096b5408f632
6
+ metadata.gz: 82321f30e9d1627b46b14df564f855b350cb66039bf15196aca098840790d8fca6b4920dd697dc9687bb185e0c49667c3229646bfb46d02432eb78e73bfbc969
7
+ data.tar.gz: 83714c91e01f966525c34a300cead95cb4b5310f0fe678614ec1a525c0b007d7878903c9f54f7b05e74c12c9dfa30ff36670eff4f826d2ec64376d59abc6cd62
@@ -525,8 +525,6 @@ module Google
525
525
  # @return [::String,nil]
526
526
  # @!attribute [rw] credentials
527
527
  # Credentials to send with calls. You may provide any of the following types:
528
- # * (`String`) The path to a service account key file in JSON format
529
- # * (`Hash`) A service account key as a Hash
530
528
  # * (`Google::Auth::Credentials`) A googleauth credentials object
531
529
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
532
530
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -535,7 +533,26 @@ module Google
535
533
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
536
534
  # * (`nil`) indicating no credentials
537
535
  #
538
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
536
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
537
+ # is deprecated. Providing an unvalidated credential configuration to
538
+ # Google APIs can compromise the security of your systems and data.
539
+ #
540
+ # @example
541
+ #
542
+ # # The recommended way to provide credentials is to use the `make_creds` method
543
+ # # on the appropriate credentials class for your environment.
544
+ #
545
+ # require "googleauth"
546
+ #
547
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
548
+ # json_key_io: ::File.open("/path/to/keyfile.json")
549
+ # )
550
+ #
551
+ # client = ::Google::Shopping::Merchant::Inventories::V1beta::LocalInventoryService::Client.new do |config|
552
+ # config.credentials = credentials
553
+ # end
554
+ #
555
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
539
556
  # external source for authentication to Google Cloud, you must validate it before
540
557
  # providing it to a Google API client library. Providing an unvalidated credential
541
558
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -525,8 +525,6 @@ module Google
525
525
  # @return [::String,nil]
526
526
  # @!attribute [rw] credentials
527
527
  # Credentials to send with calls. You may provide any of the following types:
528
- # * (`String`) The path to a service account key file in JSON format
529
- # * (`Hash`) A service account key as a Hash
530
528
  # * (`Google::Auth::Credentials`) A googleauth credentials object
531
529
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
532
530
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -535,7 +533,26 @@ module Google
535
533
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
536
534
  # * (`nil`) indicating no credentials
537
535
  #
538
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
536
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
537
+ # is deprecated. Providing an unvalidated credential configuration to
538
+ # Google APIs can compromise the security of your systems and data.
539
+ #
540
+ # @example
541
+ #
542
+ # # The recommended way to provide credentials is to use the `make_creds` method
543
+ # # on the appropriate credentials class for your environment.
544
+ #
545
+ # require "googleauth"
546
+ #
547
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
548
+ # json_key_io: ::File.open("/path/to/keyfile.json")
549
+ # )
550
+ #
551
+ # client = ::Google::Shopping::Merchant::Inventories::V1beta::RegionalInventoryService::Client.new do |config|
552
+ # config.credentials = credentials
553
+ # end
554
+ #
555
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
539
556
  # external source for authentication to Google Cloud, you must validate it before
540
557
  # providing it to a Google API client library. Providing an unvalidated credential
541
558
  # 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 Inventories
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-inventories-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