google-shopping-merchant-data_sources-v1beta 0.6.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: ce99c7a19a8d252547379b8bb6f0661b04179ab289f3858b2c845ec5871c903f
4
- data.tar.gz: f7d31d3218c5150112d56f3fa681fa0a9a160bb933ecf4926401ed8c3e9ae0fd
3
+ metadata.gz: 73c58e4bb71914e34aeec50f2eed5f20434874c5829d78a7d2682d1cbcb85669
4
+ data.tar.gz: ace4c029093e58a4705d891a5c738fc02c68628f6ff0a207d9a248dcb662b2bf
5
5
  SHA512:
6
- metadata.gz: e713d01dfb50a1d8545ce6b170dc0b8ee6606a73b8afbe44244e765160a12e038c9636df11ae0b57569cabbcef087443dd4324514bb5f8c4aab384a26013bbaf
7
- data.tar.gz: 35578d9a44282757e86f436b49d208e1ec4ef9c40855a1f741b085249ecef49e818faf4c088c2f8a761ecad8f897ccc2462a17cfb5c327ecd7f5aa8e450e96e6
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Merchant
23
23
  module DataSources
24
24
  module V1beta
25
- VERSION = "0.6.0"
25
+ VERSION = "0.7.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-data_sources-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.6.8
143
+ rubygems_version: 3.6.9
144
144
  specification_version: 4
145
145
  summary: Programmatically manage your Merchant Center Accounts.
146
146
  test_files: []