google-cloud-gke_recommender-v1 0.1.0 → 0.1.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: d369978f13bfe00a566cf24ae0e686b42c503fd8bdc05d345225aad0d58125bd
4
- data.tar.gz: 6a530d022d6b12a4fa203bf9e81ce3508427274c3ef839f6ffb80f3015609483
3
+ metadata.gz: 4103403a7673e2d923f49e68e1c8ee9dd0eddf38ee35ae13f9bd40967ceef68f
4
+ data.tar.gz: ad7bdbca04e3a1be02d3752cf4ba1e73d361fc743c7acd4bd4cc6adfb6c654ac
5
5
  SHA512:
6
- metadata.gz: a885cf166ff04cd7a94ce15a012031b2d28cfcfd18050594eb6eea4f4a75c33a8423ece5d9d8af3a19dffef7a0661d56ffa895d72ba655988565aca919351557
7
- data.tar.gz: 64fc2558ebeb7303c9594adf89cab45d6c6ed0a43f7ef1239e8ed8e5a9185609e9c032e4f99572fa77827932d0628e7d9e6b663daef7746cf261cdb8a7a9e6b6
6
+ metadata.gz: e57aeb4e787cec8e23e6b02f6c906de2948f2e65123c71c9aee1c9693b94777803c33ed345e3e18483186007f9425f651a49ab6d6df13bfd4dfa5f8bcb4923b5
7
+ data.tar.gz: 7001ed3734226662b75b78c04443ee1f985974074e7e6b2cd873289124eb01e0a09e74b9b28806ee792e509d7f6b5865bdf20989cf4cd5288e16692a2b6bea98
@@ -839,8 +839,6 @@ module Google
839
839
  # @return [::String,nil]
840
840
  # @!attribute [rw] credentials
841
841
  # Credentials to send with calls. You may provide any of the following types:
842
- # * (`String`) The path to a service account key file in JSON format
843
- # * (`Hash`) A service account key as a Hash
844
842
  # * (`Google::Auth::Credentials`) A googleauth credentials object
845
843
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
846
844
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -849,7 +847,26 @@ module Google
849
847
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
850
848
  # * (`nil`) indicating no credentials
851
849
  #
852
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
850
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
851
+ # is deprecated. Providing an unvalidated credential configuration to
852
+ # Google APIs can compromise the security of your systems and data.
853
+ #
854
+ # @example
855
+ #
856
+ # # The recommended way to provide credentials is to use the `make_creds` method
857
+ # # on the appropriate credentials class for your environment.
858
+ #
859
+ # require "googleauth"
860
+ #
861
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
862
+ # json_key_io: ::File.open("/path/to/keyfile.json")
863
+ # )
864
+ #
865
+ # client = ::Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client.new do |config|
866
+ # config.credentials = credentials
867
+ # end
868
+ #
869
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
853
870
  # external source for authentication to Google Cloud, you must validate it before
854
871
  # providing it to a Google API client library. Providing an unvalidated credential
855
872
  # 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 GkeRecommender
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.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-gke_recommender-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC