google-shopping-merchant-inventories-v1beta 0.8.0 → 0.8.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: 5952ed004e434a10b2ab13003875dfa055cc634d6a3af9d0a6a38b300c0c6b81
|
|
4
|
+
data.tar.gz: 94666cb6b3f9597e089ce4604153f855182902617a6bfd495e1728ac7ea251c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82321f30e9d1627b46b14df564f855b350cb66039bf15196aca098840790d8fca6b4920dd697dc9687bb185e0c49667c3229646bfb46d02432eb78e73bfbc969
|
|
7
|
+
data.tar.gz: 83714c91e01f966525c34a300cead95cb4b5310f0fe678614ec1a525c0b007d7878903c9f54f7b05e74c12c9dfa30ff36670eff4f826d2ec64376d59abc6cd62
|
|
@@ -525,8 +525,6 @@ module Google
|
|
|
525
525
|
# @return [::String,nil]
|
|
526
526
|
# @!attribute [rw] credentials
|
|
527
527
|
# Credentials to send with calls. You may provide any of the following types:
|
|
528
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
529
|
-
# * (`Hash`) A service account key as a Hash
|
|
530
528
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
531
529
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
532
530
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -535,7 +533,26 @@ module Google
|
|
|
535
533
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
536
534
|
# * (`nil`) indicating no credentials
|
|
537
535
|
#
|
|
538
|
-
# Warning:
|
|
536
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
537
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
538
|
+
# Google APIs can compromise the security of your systems and data.
|
|
539
|
+
#
|
|
540
|
+
# @example
|
|
541
|
+
#
|
|
542
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
543
|
+
# # on the appropriate credentials class for your environment.
|
|
544
|
+
#
|
|
545
|
+
# require "googleauth"
|
|
546
|
+
#
|
|
547
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
548
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
549
|
+
# )
|
|
550
|
+
#
|
|
551
|
+
# client = ::Google::Shopping::Merchant::Inventories::V1beta::LocalInventoryService::Client.new do |config|
|
|
552
|
+
# config.credentials = credentials
|
|
553
|
+
# end
|
|
554
|
+
#
|
|
555
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
539
556
|
# external source for authentication to Google Cloud, you must validate it before
|
|
540
557
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
541
558
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -525,8 +525,6 @@ module Google
|
|
|
525
525
|
# @return [::String,nil]
|
|
526
526
|
# @!attribute [rw] credentials
|
|
527
527
|
# Credentials to send with calls. You may provide any of the following types:
|
|
528
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
529
|
-
# * (`Hash`) A service account key as a Hash
|
|
530
528
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
531
529
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
532
530
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -535,7 +533,26 @@ module Google
|
|
|
535
533
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
536
534
|
# * (`nil`) indicating no credentials
|
|
537
535
|
#
|
|
538
|
-
# Warning:
|
|
536
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
537
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
538
|
+
# Google APIs can compromise the security of your systems and data.
|
|
539
|
+
#
|
|
540
|
+
# @example
|
|
541
|
+
#
|
|
542
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
543
|
+
# # on the appropriate credentials class for your environment.
|
|
544
|
+
#
|
|
545
|
+
# require "googleauth"
|
|
546
|
+
#
|
|
547
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
548
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
549
|
+
# )
|
|
550
|
+
#
|
|
551
|
+
# client = ::Google::Shopping::Merchant::Inventories::V1beta::RegionalInventoryService::Client.new do |config|
|
|
552
|
+
# config.credentials = credentials
|
|
553
|
+
# end
|
|
554
|
+
#
|
|
555
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
539
556
|
# external source for authentication to Google Cloud, you must validate it before
|
|
540
557
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
541
558
|
# configuration to Google APIs can compromise the security of your systems and data.
|