google-shopping-merchant-reports-v1beta 0.9.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: 0772a2812158cd81eec7b492559430c3131b1e848eaa8da69248368dd511fa38
4
- data.tar.gz: 7187b4a81c226d1e724b374c221ef107c4c3248d9a7c63cae5f7469a1ea8cc96
3
+ metadata.gz: eab9199780b547fe8f7e1841a0c0ddeabf918d7e8f8b42e9327ef4e0a3388ea9
4
+ data.tar.gz: a3816578d1cd00ccaad1236736537d0192d2d5f4c0e113a976d3850d7ff579ad
5
5
  SHA512:
6
- metadata.gz: aea8dfd364b78fdedeb671a49efb9308661f2d05acb51fdd0c03a4cc77b4c2d1266547dd135dc7fbe17f5ec9b5ba64566c4a2d7157a0a7159e0536e272565f8f
7
- data.tar.gz: 223aea6b5dd64d87f96837d56928fe584bd6e01981ca427c48d321a629a634aedabff328a638345aca47230ca138f00110e76d7c4ac7991015f8ec0571210486
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.9.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.9.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.6.8
113
+ rubygems_version: 3.6.9
114
114
  specification_version: 4
115
115
  summary: Programmatically manage your Merchant Center accounts.
116
116
  test_files: []