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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9e3c261550780e9c8bd19e50338030b46ad77585a10802d58e85b2af05cb159
|
|
4
|
+
data.tar.gz: 895c12872f59e3518278ac14b0ab84f54afb2baa0eafadb99382528e1f70fee0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|