google-shopping-merchant-order_tracking-v1beta 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: d5a8e7a237f745614f67048409122333301cea16100efe54b74b91a8f7713106
|
|
4
|
+
data.tar.gz: 344a95a6c125cbf69b37747968ab56bcbcb4a214b27eecb53b8fb34b87390944
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2abd88ec25bfbb72b2a1f4069fdea32cec8e40d18cfb1f94f552623835916f0d0fd6ee5d22ae4ac47d58423a2d12b7af81c46407aba0513229ddf0024fc03257
|
|
7
|
+
data.tar.gz: b8c69a105d46437e83c8c0ad43ab66aa8212244a2eca3764f2b518b3d4cfe72464e5b4fd59391a7db23e6c83ef4a97113919fc368f4c0a52aed39ecf0f326c79
|
data/lib/google/shopping/merchant/order_tracking/v1beta/order_tracking_signals_service/client.rb
CHANGED
|
@@ -312,8 +312,6 @@ module Google
|
|
|
312
312
|
# @return [::String,nil]
|
|
313
313
|
# @!attribute [rw] credentials
|
|
314
314
|
# Credentials to send with calls. You may provide any of the following types:
|
|
315
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
316
|
-
# * (`Hash`) A service account key as a Hash
|
|
317
315
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
318
316
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
319
317
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -322,7 +320,26 @@ module Google
|
|
|
322
320
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
323
321
|
# * (`nil`) indicating no credentials
|
|
324
322
|
#
|
|
325
|
-
# Warning:
|
|
323
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
324
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
325
|
+
# Google APIs can compromise the security of your systems and data.
|
|
326
|
+
#
|
|
327
|
+
# @example
|
|
328
|
+
#
|
|
329
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
330
|
+
# # on the appropriate credentials class for your environment.
|
|
331
|
+
#
|
|
332
|
+
# require "googleauth"
|
|
333
|
+
#
|
|
334
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
335
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
336
|
+
# )
|
|
337
|
+
#
|
|
338
|
+
# client = ::Google::Shopping::Merchant::OrderTracking::V1beta::OrderTrackingSignalsService::Client.new do |config|
|
|
339
|
+
# config.credentials = credentials
|
|
340
|
+
# end
|
|
341
|
+
#
|
|
342
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
326
343
|
# external source for authentication to Google Cloud, you must validate it before
|
|
327
344
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
328
345
|
# configuration to Google APIs can compromise the security of your systems and data.
|