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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eab9199780b547fe8f7e1841a0c0ddeabf918d7e8f8b42e9327ef4e0a3388ea9
|
|
4
|
+
data.tar.gz: a3816578d1cd00ccaad1236736537d0192d2d5f4c0e113a976d3850d7ff579ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|