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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4103403a7673e2d923f49e68e1c8ee9dd0eddf38ee35ae13f9bd40967ceef68f
|
|
4
|
+
data.tar.gz: ad7bdbca04e3a1be02d3752cf4ba1e73d361fc743c7acd4bd4cc6adfb6c654ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|