google-shopping-merchant-reports-v1 0.2.0 → 0.2.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: 23e5b4ccba577497a176956f2aa39ea8196efcf58f3d260560550949e7c49dbb
4
- data.tar.gz: c488fedda6d1c634042c9fc67dffb7bce46fe3ff8c802807ed4371bd9caff642
3
+ metadata.gz: 562564b3040158e39bd2b788125fa5e1990d2bb0386a752f5d9497764b278142
4
+ data.tar.gz: c9c98a9bc47d96d3f44e1ec6682cef1e856d2221336e0efad4aaae410cd8ec00
5
5
  SHA512:
6
- metadata.gz: dba799e72f81f37b5fe90a673b4d10ffefdccd3643e4f0e3494240530ec8cbe9d00fcd3dcec0756bf008cba6dffba92798fc31ff1e2161a5bfb6c8abd52a163d
7
- data.tar.gz: 0c8713f74cdfa27ccd5372c9fffdea4ebf7f56ecca662b35866eeba409b3eb229d7bb68b325dfb90672979984640eec936ca48cd54e6638ef714a38f61b75c61
6
+ metadata.gz: fd9e1044fa35c0375077d7360e44f9c7dca6520d8471a41d81e39aed2dc766e3b9717d2d0a4f02dec367c7d044dd3d9f1fc21726699c426efe4391c2bc2b8c66
7
+ data.tar.gz: 5f080f356483bb0d27a39808fd06d40f497bfae0cf375ee83b9054c6ba6da9f9886731f6e3b9cf051b30f9eb020e7960bd5541ce52b27d123282c0db36030e87
@@ -332,8 +332,6 @@ module Google
332
332
  # @return [::String,nil]
333
333
  # @!attribute [rw] credentials
334
334
  # Credentials to send with calls. You may provide any of the following types:
335
- # * (`String`) The path to a service account key file in JSON format
336
- # * (`Hash`) A service account key as a Hash
337
335
  # * (`Google::Auth::Credentials`) A googleauth credentials object
338
336
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
339
337
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -342,7 +340,26 @@ module Google
342
340
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
343
341
  # * (`nil`) indicating no credentials
344
342
  #
345
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
343
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
344
+ # is deprecated. Providing an unvalidated credential configuration to
345
+ # Google APIs can compromise the security of your systems and data.
346
+ #
347
+ # @example
348
+ #
349
+ # # The recommended way to provide credentials is to use the `make_creds` method
350
+ # # on the appropriate credentials class for your environment.
351
+ #
352
+ # require "googleauth"
353
+ #
354
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
355
+ # json_key_io: ::File.open("/path/to/keyfile.json")
356
+ # )
357
+ #
358
+ # client = ::Google::Shopping::Merchant::Reports::V1::ReportService::Client.new do |config|
359
+ # config.credentials = credentials
360
+ # end
361
+ #
362
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
346
363
  # external source for authentication to Google Cloud, you must validate it before
347
364
  # providing it to a Google API client library. Providing an unvalidated credential
348
365
  # 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 Reports
24
24
  module V1
25
- VERSION = "0.2.0"
25
+ VERSION = "0.2.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-reports-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC