google-cloud-managed_kafka-schema_registry-v1 0.2.0 → 0.2.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: 815861175eca69786aff8521bf918c4aaab92f3ddb9bf70dcedbbc8d72c6f540
4
- data.tar.gz: c06a38fe55a1c600f6d6d8f37e009d7ba3a51740340cc5eaad266d9526a8c027
3
+ metadata.gz: e9e3c261550780e9c8bd19e50338030b46ad77585a10802d58e85b2af05cb159
4
+ data.tar.gz: 895c12872f59e3518278ac14b0ab84f54afb2baa0eafadb99382528e1f70fee0
5
5
  SHA512:
6
- metadata.gz: e50c34e545c05db657484c5b99613d2a4ec2c72e0c77aae01eff00eeaf098b2fea218b94504da478d29f18dd1b829780b4a4b126d1c095bfc41c8631ed22d7c2
7
- data.tar.gz: f808c0c9465c71c0d3edfa95d8033a9b8eb6230611213437c5d3ca58db7d7b775adf4e714ab8b349025543270dce2f162f7b2503bee590a495d896fbfdb38b0d
6
+ metadata.gz: 0fc8cb7aafeefd9e577d2a41765df3c53b9118f7f518ea6735a47b00f497d93e01e7b1b58dca138e9df2ef6cf2ee51ea6d44b541346ad384af5932bebbad9764
7
+ data.tar.gz: fcd442879b4857bfffc6fade6f7c4edfaccac6d3ce2c8b0adf22c2a2ef0ef52f648b98ce699109ec0baa9d9d4ea5748f1dee9fd2bdb6a8c8e0be5c531f882d48
@@ -2773,8 +2773,6 @@ module Google
2773
2773
  # @return [::String,nil]
2774
2774
  # @!attribute [rw] credentials
2775
2775
  # Credentials to send with calls. You may provide any of the following types:
2776
- # * (`String`) The path to a service account key file in JSON format
2777
- # * (`Hash`) A service account key as a Hash
2778
2776
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2779
2777
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2780
2778
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2783,7 +2781,26 @@ module Google
2783
2781
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2784
2782
  # * (`nil`) indicating no credentials
2785
2783
  #
2786
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2784
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2785
+ # is deprecated. Providing an unvalidated credential configuration to
2786
+ # Google APIs can compromise the security of your systems and data.
2787
+ #
2788
+ # @example
2789
+ #
2790
+ # # The recommended way to provide credentials is to use the `make_creds` method
2791
+ # # on the appropriate credentials class for your environment.
2792
+ #
2793
+ # require "googleauth"
2794
+ #
2795
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2796
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2797
+ # )
2798
+ #
2799
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Client.new do |config|
2800
+ # config.credentials = credentials
2801
+ # end
2802
+ #
2803
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2787
2804
  # external source for authentication to Google Cloud, you must validate it before
2788
2805
  # providing it to a Google API client library. Providing an unvalidated credential
2789
2806
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module ManagedKafka
23
23
  module SchemaRegistry
24
24
  module V1
25
- VERSION = "0.2.0"
25
+ VERSION = "0.2.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-cloud-managed_kafka-schema_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC