google-shopping-merchant-data_sources-v1beta 0.7.0 → 0.7.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: 73c58e4bb71914e34aeec50f2eed5f20434874c5829d78a7d2682d1cbcb85669
|
|
4
|
+
data.tar.gz: ace4c029093e58a4705d891a5c738fc02c68628f6ff0a207d9a248dcb662b2bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65044ca4dd6ec38a73dd445729772a18e79d1896dd314fe66db180dcc9ef2293710ab46f50ad417afd56230ddce8b4cdd8aff12ea50442ca3f44f6d4900ed6b8
|
|
7
|
+
data.tar.gz: e684d840d33e4cd0395aaed7ff96974c72f811a3f7d06c2bac46f29c009e2f72d698bce1cc18eace3f5ec6f8ad6c4b37eeba9cb3894dadcdc29b679f840cd25d
|
|
@@ -773,8 +773,6 @@ module Google
|
|
|
773
773
|
# @return [::String,nil]
|
|
774
774
|
# @!attribute [rw] credentials
|
|
775
775
|
# Credentials to send with calls. You may provide any of the following types:
|
|
776
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
777
|
-
# * (`Hash`) A service account key as a Hash
|
|
778
776
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
779
777
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
780
778
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -783,7 +781,26 @@ module Google
|
|
|
783
781
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
784
782
|
# * (`nil`) indicating no credentials
|
|
785
783
|
#
|
|
786
|
-
# Warning:
|
|
784
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
785
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
786
|
+
# Google APIs can compromise the security of your systems and data.
|
|
787
|
+
#
|
|
788
|
+
# @example
|
|
789
|
+
#
|
|
790
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
791
|
+
# # on the appropriate credentials class for your environment.
|
|
792
|
+
#
|
|
793
|
+
# require "googleauth"
|
|
794
|
+
#
|
|
795
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
796
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
797
|
+
# )
|
|
798
|
+
#
|
|
799
|
+
# client = ::Google::Shopping::Merchant::DataSources::V1beta::DataSourcesService::Client.new do |config|
|
|
800
|
+
# config.credentials = credentials
|
|
801
|
+
# end
|
|
802
|
+
#
|
|
803
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
787
804
|
# external source for authentication to Google Cloud, you must validate it before
|
|
788
805
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
789
806
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -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::DataSources::V1beta::FileUploadsService::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.
|