google-shopping-merchant-issue_resolution-v1beta 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 +4 -4
- data/lib/google/shopping/merchant/issue_resolution/v1beta/aggregate_product_statuses_service/client.rb +20 -3
- data/lib/google/shopping/merchant/issue_resolution/v1beta/issue_resolution_service/client.rb +20 -3
- data/lib/google/shopping/merchant/issue_resolution/v1beta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7333be0d642186a3d0c574812c0291a445437a0ce8f050becd73bf6c7eff352
|
|
4
|
+
data.tar.gz: db9bc9bd314e69ad6965f96e0a97f0d981cb1f74e0481e8fe2f47f0baf119f9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e662265d2e60574af0ea87907ea3032bdeabbfb4e1eedfebedbc287cd290c5a59c2cb700e216633fea9be3212b327867cc17f45a6d2b39126a695c49dd7372d9
|
|
7
|
+
data.tar.gz: b165afaf160461bd5c20221c3a67f39e32d8979e7859fb381b58ffb53ef9882dd45c5bbd502a6ef404be5f0a46aad6567f0885a1d95210a624f7a1c857fa228a
|
|
@@ -336,8 +336,6 @@ module Google
|
|
|
336
336
|
# @return [::String,nil]
|
|
337
337
|
# @!attribute [rw] credentials
|
|
338
338
|
# Credentials to send with calls. You may provide any of the following types:
|
|
339
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
340
|
-
# * (`Hash`) A service account key as a Hash
|
|
341
339
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
342
340
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
343
341
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -346,7 +344,26 @@ module Google
|
|
|
346
344
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
347
345
|
# * (`nil`) indicating no credentials
|
|
348
346
|
#
|
|
349
|
-
# Warning:
|
|
347
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
348
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
349
|
+
# Google APIs can compromise the security of your systems and data.
|
|
350
|
+
#
|
|
351
|
+
# @example
|
|
352
|
+
#
|
|
353
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
354
|
+
# # on the appropriate credentials class for your environment.
|
|
355
|
+
#
|
|
356
|
+
# require "googleauth"
|
|
357
|
+
#
|
|
358
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
359
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
360
|
+
# )
|
|
361
|
+
#
|
|
362
|
+
# client = ::Google::Shopping::Merchant::IssueResolution::V1beta::AggregateProductStatusesService::Client.new do |config|
|
|
363
|
+
# config.credentials = credentials
|
|
364
|
+
# end
|
|
365
|
+
#
|
|
366
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
350
367
|
# external source for authentication to Google Cloud, you must validate it before
|
|
351
368
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
352
369
|
# configuration to Google APIs can compromise the security of your systems and data.
|
data/lib/google/shopping/merchant/issue_resolution/v1beta/issue_resolution_service/client.rb
CHANGED
|
@@ -523,8 +523,6 @@ module Google
|
|
|
523
523
|
# @return [::String,nil]
|
|
524
524
|
# @!attribute [rw] credentials
|
|
525
525
|
# Credentials to send with calls. You may provide any of the following types:
|
|
526
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
527
|
-
# * (`Hash`) A service account key as a Hash
|
|
528
526
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
529
527
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
530
528
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -533,7 +531,26 @@ module Google
|
|
|
533
531
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
534
532
|
# * (`nil`) indicating no credentials
|
|
535
533
|
#
|
|
536
|
-
# Warning:
|
|
534
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
535
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
536
|
+
# Google APIs can compromise the security of your systems and data.
|
|
537
|
+
#
|
|
538
|
+
# @example
|
|
539
|
+
#
|
|
540
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
541
|
+
# # on the appropriate credentials class for your environment.
|
|
542
|
+
#
|
|
543
|
+
# require "googleauth"
|
|
544
|
+
#
|
|
545
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
546
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
547
|
+
# )
|
|
548
|
+
#
|
|
549
|
+
# client = ::Google::Shopping::Merchant::IssueResolution::V1beta::IssueResolutionService::Client.new do |config|
|
|
550
|
+
# config.credentials = credentials
|
|
551
|
+
# end
|
|
552
|
+
#
|
|
553
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
537
554
|
# external source for authentication to Google Cloud, you must validate it before
|
|
538
555
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
539
556
|
# configuration to Google APIs can compromise the security of your systems and data.
|