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