google-cloud-container-v1 1.11.0 → 1.11.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: 8fd2081283c0d356b63fe0b3176c38d972717eddacdf377e58c857ce5d6cef05
4
- data.tar.gz: 6fca80671f80c658dd675d778810e88be41b54ee130c9b379f94d83419c07db6
3
+ metadata.gz: ec4daf0d35ab5898bdfe8d1d1c9ec01363d07f148b5d3b4a41f50cffc8c43981
4
+ data.tar.gz: a6aecac3ec89c27b3412fa8fbb66148eebe28de5e3c1ec0a10e30e4aeb949e49
5
5
  SHA512:
6
- metadata.gz: 39a13fac1e38a588abad2d853ed27d0cb6e61e7396045c250b791615e1a03014e7b925881c1b08c7a4b5988ff73bd2f8afdc004156edc5a31c8ec629c1671219
7
- data.tar.gz: 7693a994a0fbade830d194ab80179410f136547f835e995c99e35401097e57c880780b958a5ae424e56ea989702b5439d320676d23d6100045545703f0e0dd6f
6
+ metadata.gz: bc684e63030fc73b01ffaf91d828272270259ea5c76719beeff53ae2436e794396b9903840054f612dfeb5f34317f320d7038d9e6bf9f290834e0744ae7d676b
7
+ data.tar.gz: 56f582e286d98bf0c7441e1e29f6e232eb8f386133ed7a732768fb6ae57c2ff6f35614975605b8508758a139844fbf7fbd99703ec1db02c33a77778f93f48719
@@ -4038,8 +4038,6 @@ module Google
4038
4038
  # @return [::String,nil]
4039
4039
  # @!attribute [rw] credentials
4040
4040
  # Credentials to send with calls. You may provide any of the following types:
4041
- # * (`String`) The path to a service account key file in JSON format
4042
- # * (`Hash`) A service account key as a Hash
4043
4041
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4044
4042
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4045
4043
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4048,7 +4046,26 @@ module Google
4048
4046
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4049
4047
  # * (`nil`) indicating no credentials
4050
4048
  #
4051
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4049
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4050
+ # is deprecated. Providing an unvalidated credential configuration to
4051
+ # Google APIs can compromise the security of your systems and data.
4052
+ #
4053
+ # @example
4054
+ #
4055
+ # # The recommended way to provide credentials is to use the `make_creds` method
4056
+ # # on the appropriate credentials class for your environment.
4057
+ #
4058
+ # require "googleauth"
4059
+ #
4060
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4061
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4062
+ # )
4063
+ #
4064
+ # client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
4065
+ # config.credentials = credentials
4066
+ # end
4067
+ #
4068
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4052
4069
  # external source for authentication to Google Cloud, you must validate it before
4053
4070
  # providing it to a Google API client library. Providing an unvalidated credential
4054
4071
  # 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 V1
24
- VERSION = "1.11.0"
24
+ VERSION = "1.11.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC