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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2aaa0dc0f194730deb9d6fcceaf08795ef70d8452269fc61dbf3605cb75b30e7
4
- data.tar.gz: b2ac29086009102ff4994da8b59f99350fefe80c937cafc5bc73b0cf2f2c82ca
3
+ metadata.gz: c7333be0d642186a3d0c574812c0291a445437a0ce8f050becd73bf6c7eff352
4
+ data.tar.gz: db9bc9bd314e69ad6965f96e0a97f0d981cb1f74e0481e8fe2f47f0baf119f9c
5
5
  SHA512:
6
- metadata.gz: e0743fe2e970d6f34e1a228fdb15638fadee410e6273853286ab195ff3b1eeaa2d7da9da4386a29439b18c58210616e861712d09af13c33476ad9b84adfe5316
7
- data.tar.gz: e2d5be95f417003a4129f8fb93516fa21a0ad7cd8ff347dc74998c41f80a5a1ed56c633a8705d54350f8e36612ec10d06c5ba33bc39ef1b7b0d83ed6dbf9f5b9
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module IssueResolution
24
24
  module V1beta
25
- VERSION = "0.3.0"
25
+ VERSION = "0.3.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-shopping-merchant-issue_resolution-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC