google-shopping-merchant-quota-v1beta 0.5.0 → 0.5.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: aff61ed42b60801b2df56ffb9d8242afad732104d143d2f1cac55ae5303f3095
4
- data.tar.gz: e8e16398d3905372eb1b36e65e31ded921e1893b6c5cf27a018553f1dfa9b53b
3
+ metadata.gz: 26e290660beaad9a7d9215fd0bafd7a3f6aeae02cc35b9c08e33ddf041b440c7
4
+ data.tar.gz: 1485570cc7b448bcb5c53a4be8a8f52473d22454ddc382a6be10454621e0b18a
5
5
  SHA512:
6
- metadata.gz: d9f268b100ab6c277d1223721febabd60a07dd8ef653128cecd0889b3274aecadfaa3bbe0607d349305b8dfe81fbdaae61f1d1bd02bf685dd4d93378e2a50ad7
7
- data.tar.gz: 052d0d40abe8d0f10cd3334536c4aa1d81e0d8a1c416ce7f36d69b8c10ce0af1673937d1360943594c65297756876d1a7721582fffd2b10fced4ff02a8e98d4c
6
+ metadata.gz: e462f10a71fc03b64962c7878a1abb1ebc4547428b5d88ed76e4118da52b193f9d9770aa9e13aadc9726916f26d70c4f0a3b2a75a10981d072b6d0802515fa68
7
+ data.tar.gz: b7a2aecd0ed133b7f93b58d5958cf91794ec167ddb72ae74dd54068e1d82337c8e96b6d6675847ad9d3c1b34abebcf9776ac2af1bfae6c2a63bd5a84c9751567
@@ -323,8 +323,6 @@ module Google
323
323
  # @return [::String,nil]
324
324
  # @!attribute [rw] credentials
325
325
  # Credentials to send with calls. You may provide any of the following types:
326
- # * (`String`) The path to a service account key file in JSON format
327
- # * (`Hash`) A service account key as a Hash
328
326
  # * (`Google::Auth::Credentials`) A googleauth credentials object
329
327
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
330
328
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -333,7 +331,26 @@ module Google
333
331
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
334
332
  # * (`nil`) indicating no credentials
335
333
  #
336
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
334
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
335
+ # is deprecated. Providing an unvalidated credential configuration to
336
+ # Google APIs can compromise the security of your systems and data.
337
+ #
338
+ # @example
339
+ #
340
+ # # The recommended way to provide credentials is to use the `make_creds` method
341
+ # # on the appropriate credentials class for your environment.
342
+ #
343
+ # require "googleauth"
344
+ #
345
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
346
+ # json_key_io: ::File.open("/path/to/keyfile.json")
347
+ # )
348
+ #
349
+ # client = ::Google::Shopping::Merchant::Quota::V1beta::QuotaService::Client.new do |config|
350
+ # config.credentials = credentials
351
+ # end
352
+ #
353
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
337
354
  # external source for authentication to Google Cloud, you must validate it before
338
355
  # providing it to a Google API client library. Providing an unvalidated credential
339
356
  # 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 Quota
24
24
  module V1beta
25
- VERSION = "0.5.0"
25
+ VERSION = "0.5.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-quota-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC