google-shopping-merchant-products-v1 0.3.0 → 0.3.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: c2f8a84a0d07d83a1966c6d02b185056586de2e32294e170fb0593449dc1fb5f
|
|
4
|
+
data.tar.gz: 9ed18a2b296edcd932c54786379152e58742c359c3bfe1c3354ca73e5268f56f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f59d24885371d409705c633910c424c6846912786f60e04f4ce6b2ba677c0c5e0f60ba4d72088e14f06cab0ce1cd01190ff4c3772e40c0917485a25e4d39730b
|
|
7
|
+
data.tar.gz: 74fe4295ace2961ca7b15b074edff4f9fa2b009b831e9e9788849c033abfb64e874b57bd7abd17254c9960991fb1a60d07413a047eda71b833e535113bfd4f75
|
|
@@ -546,8 +546,6 @@ module Google
|
|
|
546
546
|
# @return [::String,nil]
|
|
547
547
|
# @!attribute [rw] credentials
|
|
548
548
|
# Credentials to send with calls. You may provide any of the following types:
|
|
549
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
550
|
-
# * (`Hash`) A service account key as a Hash
|
|
551
549
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
552
550
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
553
551
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -556,7 +554,26 @@ module Google
|
|
|
556
554
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
557
555
|
# * (`nil`) indicating no credentials
|
|
558
556
|
#
|
|
559
|
-
# Warning:
|
|
557
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
558
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
559
|
+
# Google APIs can compromise the security of your systems and data.
|
|
560
|
+
#
|
|
561
|
+
# @example
|
|
562
|
+
#
|
|
563
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
564
|
+
# # on the appropriate credentials class for your environment.
|
|
565
|
+
#
|
|
566
|
+
# require "googleauth"
|
|
567
|
+
#
|
|
568
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
569
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
570
|
+
# )
|
|
571
|
+
#
|
|
572
|
+
# client = ::Google::Shopping::Merchant::Products::V1::ProductInputsService::Client.new do |config|
|
|
573
|
+
# config.credentials = credentials
|
|
574
|
+
# end
|
|
575
|
+
#
|
|
576
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
560
577
|
# external source for authentication to Google Cloud, you must validate it before
|
|
561
578
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
562
579
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -429,8 +429,6 @@ module Google
|
|
|
429
429
|
# @return [::String,nil]
|
|
430
430
|
# @!attribute [rw] credentials
|
|
431
431
|
# Credentials to send with calls. You may provide any of the following types:
|
|
432
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
433
|
-
# * (`Hash`) A service account key as a Hash
|
|
434
432
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
435
433
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
436
434
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -439,7 +437,26 @@ module Google
|
|
|
439
437
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
440
438
|
# * (`nil`) indicating no credentials
|
|
441
439
|
#
|
|
442
|
-
# Warning:
|
|
440
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
441
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
442
|
+
# Google APIs can compromise the security of your systems and data.
|
|
443
|
+
#
|
|
444
|
+
# @example
|
|
445
|
+
#
|
|
446
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
447
|
+
# # on the appropriate credentials class for your environment.
|
|
448
|
+
#
|
|
449
|
+
# require "googleauth"
|
|
450
|
+
#
|
|
451
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
452
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
453
|
+
# )
|
|
454
|
+
#
|
|
455
|
+
# client = ::Google::Shopping::Merchant::Products::V1::ProductsService::Client.new do |config|
|
|
456
|
+
# config.credentials = credentials
|
|
457
|
+
# end
|
|
458
|
+
#
|
|
459
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
443
460
|
# external source for authentication to Google Cloud, you must validate it before
|
|
444
461
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
445
462
|
# configuration to Google APIs can compromise the security of your systems and data.
|