google-cloud-managed_kafka-v1 1.6.0 → 1.6.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: ff9659db629d4dcbcfdcc36ac06c99925d8e72dca05bee32a2d5582133e4fabb
4
- data.tar.gz: db84cc7d68319b5fa60f6f4c49084f5aba5e31de5f886f114e4c971e096a8aae
3
+ metadata.gz: 80234c6c0c9049460f5fae8cdcbbf45489050207bb7165a4b0abdc170c3ba6fe
4
+ data.tar.gz: 680c0dbac773742977e1edef1a0617c2deb8dfac34771dc217e844b71e031706
5
5
  SHA512:
6
- metadata.gz: 925b0b88591ff27ae1d01578484d731d6ae766099e67c3ca8d47ba3e0163ac982668cdc4973f1d3b2ff9ace9970e457f8a9183f66d38cea237c5a530a0f2e1ee
7
- data.tar.gz: 18679c86109c4ae91c407307c904f7d06caff4ba921a687a304ab5a27a18fc4f0aa812ee2347f467db16c973006b6b38266798f1dbbdc7bf36a5b20505d2aec6
6
+ metadata.gz: 4ed677503639e670d72402a30cf678692ab35399bdef9ef7cb7bd1531b83e3bedeb48ea57741b828eda2c5aab3f5f13ba1b9f40b7505e0b21f0cbfec6b49e3df
7
+ data.tar.gz: a1adeaa2cd1d14787c42c0bc2eee43883f8b37f0814a7d2238694d93e4967133a8e4227ab729f2e11f32fc9bb7e379dd7510d5665aa7cd08ba7c30d314b0d396
@@ -2334,8 +2334,6 @@ module Google
2334
2334
  # @return [::String,nil]
2335
2335
  # @!attribute [rw] credentials
2336
2336
  # Credentials to send with calls. You may provide any of the following types:
2337
- # * (`String`) The path to a service account key file in JSON format
2338
- # * (`Hash`) A service account key as a Hash
2339
2337
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2340
2338
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2341
2339
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2344,7 +2342,26 @@ module Google
2344
2342
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2345
2343
  # * (`nil`) indicating no credentials
2346
2344
  #
2347
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2345
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2346
+ # is deprecated. Providing an unvalidated credential configuration to
2347
+ # Google APIs can compromise the security of your systems and data.
2348
+ #
2349
+ # @example
2350
+ #
2351
+ # # The recommended way to provide credentials is to use the `make_creds` method
2352
+ # # on the appropriate credentials class for your environment.
2353
+ #
2354
+ # require "googleauth"
2355
+ #
2356
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2357
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2358
+ # )
2359
+ #
2360
+ # client = ::Google::Cloud::ManagedKafka::V1::ManagedKafka::Client.new do |config|
2361
+ # config.credentials = credentials
2362
+ # end
2363
+ #
2364
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2348
2365
  # external source for authentication to Google Cloud, you must validate it before
2349
2366
  # providing it to a Google API client library. Providing an unvalidated credential
2350
2367
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1642,8 +1642,6 @@ module Google
1642
1642
  # @return [::String,nil]
1643
1643
  # @!attribute [rw] credentials
1644
1644
  # Credentials to send with calls. You may provide any of the following types:
1645
- # * (`String`) The path to a service account key file in JSON format
1646
- # * (`Hash`) A service account key as a Hash
1647
1645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1648
1646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1649
1647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1652,7 +1650,26 @@ module Google
1652
1650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1653
1651
  # * (`nil`) indicating no credentials
1654
1652
  #
1655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1654
+ # is deprecated. Providing an unvalidated credential configuration to
1655
+ # Google APIs can compromise the security of your systems and data.
1656
+ #
1657
+ # @example
1658
+ #
1659
+ # # The recommended way to provide credentials is to use the `make_creds` method
1660
+ # # on the appropriate credentials class for your environment.
1661
+ #
1662
+ # require "googleauth"
1663
+ #
1664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1666
+ # )
1667
+ #
1668
+ # client = ::Google::Cloud::ManagedKafka::V1::ManagedKafkaConnect::Client.new do |config|
1669
+ # config.credentials = credentials
1670
+ # end
1671
+ #
1672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1656
1673
  # external source for authentication to Google Cloud, you must validate it before
1657
1674
  # providing it to a Google API client library. Providing an unvalidated credential
1658
1675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ManagedKafka
23
23
  module V1
24
- VERSION = "1.6.0"
24
+ VERSION = "1.6.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-managed_kafka-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC