google-cloud-os_login-v1beta 0.19.0 → 0.19.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: a1e3d466ec8349c29aae34f77bbc9cb0e4a8a1e3c9667ad32a85b8d3fa1f7de9
|
|
4
|
+
data.tar.gz: a5e23a053f92dc91e85bed04b29a3fceb160df876fe560291537bdc820509e2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66a68f7747a4c6220258d1d4316f4808b37086965a1416a78d08f0d70bfbe285bf8a4517992baf7051f7a95916f28aeff7b141d9cb74c40bc3fc6e54a9c717b0
|
|
7
|
+
data.tar.gz: fcbf480778eb36e4534609dc1904fa99e5eaa36375632f96f1d310a35125effefbc049b2d2bff5d7f9f61653c82b0691fcc528dbe7a016731e96f6a22404bac8
|
|
@@ -967,8 +967,6 @@ module Google
|
|
|
967
967
|
# @return [::String,nil]
|
|
968
968
|
# @!attribute [rw] credentials
|
|
969
969
|
# Credentials to send with calls. You may provide any of the following types:
|
|
970
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
971
|
-
# * (`Hash`) A service account key as a Hash
|
|
972
970
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
973
971
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
974
972
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -977,7 +975,26 @@ module Google
|
|
|
977
975
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
978
976
|
# * (`nil`) indicating no credentials
|
|
979
977
|
#
|
|
980
|
-
# Warning:
|
|
978
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
979
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
980
|
+
# Google APIs can compromise the security of your systems and data.
|
|
981
|
+
#
|
|
982
|
+
# @example
|
|
983
|
+
#
|
|
984
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
985
|
+
# # on the appropriate credentials class for your environment.
|
|
986
|
+
#
|
|
987
|
+
# require "googleauth"
|
|
988
|
+
#
|
|
989
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
990
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
991
|
+
# )
|
|
992
|
+
#
|
|
993
|
+
# client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
|
|
994
|
+
# config.credentials = credentials
|
|
995
|
+
# end
|
|
996
|
+
#
|
|
997
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
981
998
|
# external source for authentication to Google Cloud, you must validate it before
|
|
982
999
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
983
1000
|
# configuration to Google APIs can compromise the security of your systems and data.
|