google-cloud-iap-v1 1.5.0 → 1.5.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: 3ff07719a088fdedfbd28c91f6672b8ef4efd2af2cfd2b440b28685d950cd026
|
|
4
|
+
data.tar.gz: 8e89bedab0e56b27ea1983a29f857664c9e04b9d9fb10d421e1e8879ab7df2a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20ff38256123f44f27c8c57753b329a36dffa7b7a368ac274f4594a4638c00b31ecd2703557b195ecba560b4ceab914d579355b739f0a46b0d13742748c35a48
|
|
7
|
+
data.tar.gz: 3caa3e072c1d89a6f81e752b605766d691c592b982f58e04c694e579217ed5463ff795f20f8b8437c0a24203f0360cef993c6b067bc0caf4ca6d9c1b9ba39296
|
|
@@ -1243,8 +1243,6 @@ module Google
|
|
|
1243
1243
|
# @return [::String,nil]
|
|
1244
1244
|
# @!attribute [rw] credentials
|
|
1245
1245
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1246
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1247
|
-
# * (`Hash`) A service account key as a Hash
|
|
1248
1246
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1249
1247
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1250
1248
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1253,7 +1251,26 @@ module Google
|
|
|
1253
1251
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1254
1252
|
# * (`nil`) indicating no credentials
|
|
1255
1253
|
#
|
|
1256
|
-
# Warning:
|
|
1254
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1255
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1256
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1257
|
+
#
|
|
1258
|
+
# @example
|
|
1259
|
+
#
|
|
1260
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1261
|
+
# # on the appropriate credentials class for your environment.
|
|
1262
|
+
#
|
|
1263
|
+
# require "googleauth"
|
|
1264
|
+
#
|
|
1265
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1266
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1267
|
+
# )
|
|
1268
|
+
#
|
|
1269
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new do |config|
|
|
1270
|
+
# config.credentials = credentials
|
|
1271
|
+
# end
|
|
1272
|
+
#
|
|
1273
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1257
1274
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1258
1275
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1259
1276
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -948,8 +948,6 @@ module Google
|
|
|
948
948
|
# @return [::String,nil]
|
|
949
949
|
# @!attribute [rw] credentials
|
|
950
950
|
# Credentials to send with calls. You may provide any of the following types:
|
|
951
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
952
|
-
# * (`Hash`) A service account key as a Hash
|
|
953
951
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
954
952
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
955
953
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -958,7 +956,26 @@ module Google
|
|
|
958
956
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
959
957
|
# * (`nil`) indicating no credentials
|
|
960
958
|
#
|
|
961
|
-
# Warning:
|
|
959
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
960
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
961
|
+
# Google APIs can compromise the security of your systems and data.
|
|
962
|
+
#
|
|
963
|
+
# @example
|
|
964
|
+
#
|
|
965
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
966
|
+
# # on the appropriate credentials class for your environment.
|
|
967
|
+
#
|
|
968
|
+
# require "googleauth"
|
|
969
|
+
#
|
|
970
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
971
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
972
|
+
# )
|
|
973
|
+
#
|
|
974
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new do |config|
|
|
975
|
+
# config.credentials = credentials
|
|
976
|
+
# end
|
|
977
|
+
#
|
|
978
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
962
979
|
# external source for authentication to Google Cloud, you must validate it before
|
|
963
980
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
964
981
|
# configuration to Google APIs can compromise the security of your systems and data.
|