google-cloud-container-v1beta1 0.51.0 → 0.51.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: 93c67a0886c51f79f88e8d09d72ab93b9dfdba07ac3a474fba46efe724ec56cd
4
- data.tar.gz: 5920ceca98d7eb00671c4be39e78b4e1a43c543559a81a8fd8ad282387b261b0
3
+ metadata.gz: 44dcda218d61125e17f9e539c7b9bc5b195cd11a52722f93531eb8a3f077ca7a
4
+ data.tar.gz: 5e918460a1f50b2d81954a1a8fd471f9d7cd3bc36953aba9a4c6e08d3c6439c8
5
5
  SHA512:
6
- metadata.gz: bf723767b2d893473b26a41c5a4b339e53c7211ead82bf9293679e3bd65351ac9f67efc578ce6247fe56810ca4652f605cc2d2920e4ca19e63712e2db120fcdb
7
- data.tar.gz: 973e6e20974c05ce7b28d35443e3f991cbd37e280c500334d47f938bb66c682457be5d23a113f4f7b3d59d77d20654224b4fc77be046606b5885e4d6070b6b9f
6
+ metadata.gz: 6e1206a6090cb57e8e2f86dfeab365dc6ee908a3f6d50d18a8fdddb801b6efc82dcce208892c72fe84572d9534976bf74add09450a0e12854a05606763cb82f8
7
+ data.tar.gz: 2a955d4b153b8207b5ab0156b7e15586791a5be068599b11c562deba4ec35010a7b210f4ee2ac1f5c51fefc234add787c69874a6784bea50cc19dd2c76d31535
@@ -4131,8 +4131,6 @@ module Google
4131
4131
  # @return [::String,nil]
4132
4132
  # @!attribute [rw] credentials
4133
4133
  # Credentials to send with calls. You may provide any of the following types:
4134
- # * (`String`) The path to a service account key file in JSON format
4135
- # * (`Hash`) A service account key as a Hash
4136
4134
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4137
4135
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4138
4136
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4141,7 +4139,26 @@ module Google
4141
4139
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4142
4140
  # * (`nil`) indicating no credentials
4143
4141
  #
4144
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4142
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4143
+ # is deprecated. Providing an unvalidated credential configuration to
4144
+ # Google APIs can compromise the security of your systems and data.
4145
+ #
4146
+ # @example
4147
+ #
4148
+ # # The recommended way to provide credentials is to use the `make_creds` method
4149
+ # # on the appropriate credentials class for your environment.
4150
+ #
4151
+ # require "googleauth"
4152
+ #
4153
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4154
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4155
+ # )
4156
+ #
4157
+ # client = ::Google::Cloud::Container::V1beta1::ClusterManager::Client.new do |config|
4158
+ # config.credentials = credentials
4159
+ # end
4160
+ #
4161
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4145
4162
  # external source for authentication to Google Cloud, you must validate it before
4146
4163
  # providing it to a Google API client library. Providing an unvalidated credential
4147
4164
  # 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 Container
23
23
  module V1beta1
24
- VERSION = "0.51.0"
24
+ VERSION = "0.51.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-container-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.51.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC