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