google-cloud-parameter_manager-v1 0.5.0 → 0.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: 7e2b39dc05f22e2052a6c8117adc4f221ca396ce58b268962fea84f4f71378c9
|
|
4
|
+
data.tar.gz: f850f03b0342b22ecaf473e685ebe389c55cff88b2e4598b60fa8981b855144e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c73eef9b3fcde6d9957ef135886ea8bebd7ac2cd977f8f4a78d0db6e31f645b1b69b51d0c84b236ca6754218adb82eb1b5e09732cc2985724a46f02aed69497b
|
|
7
|
+
data.tar.gz: 55b8485f9c80baaf7824e82e10ec896ce33d4cdb3046045be7a76e47e567f61c031ddf5a3608df565768ece1be8ba88b6affc3a86523cf2da0575708c8dd1bf8
|
|
@@ -1354,8 +1354,6 @@ module Google
|
|
|
1354
1354
|
# @return [::String,nil]
|
|
1355
1355
|
# @!attribute [rw] credentials
|
|
1356
1356
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1357
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1358
|
-
# * (`Hash`) A service account key as a Hash
|
|
1359
1357
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1360
1358
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1361
1359
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1364,7 +1362,26 @@ module Google
|
|
|
1364
1362
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1365
1363
|
# * (`nil`) indicating no credentials
|
|
1366
1364
|
#
|
|
1367
|
-
# Warning:
|
|
1365
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1366
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1367
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1368
|
+
#
|
|
1369
|
+
# @example
|
|
1370
|
+
#
|
|
1371
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1372
|
+
# # on the appropriate credentials class for your environment.
|
|
1373
|
+
#
|
|
1374
|
+
# require "googleauth"
|
|
1375
|
+
#
|
|
1376
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1377
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1378
|
+
# )
|
|
1379
|
+
#
|
|
1380
|
+
# client = ::Google::Cloud::ParameterManager::V1::ParameterManager::Client.new do |config|
|
|
1381
|
+
# config.credentials = credentials
|
|
1382
|
+
# end
|
|
1383
|
+
#
|
|
1384
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1368
1385
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1369
1386
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1370
1387
|
# configuration to Google APIs can compromise the security of your systems and data.
|