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: faafdd926de49a2eea0296ccb82755dcd1728c28fa8d235a7a968f8fc31a4bf8
4
- data.tar.gz: e397b7a3c8c2538980b52b6f35482554831e3dfdc73e968dd782073f62ca6dc2
3
+ metadata.gz: 7e2b39dc05f22e2052a6c8117adc4f221ca396ce58b268962fea84f4f71378c9
4
+ data.tar.gz: f850f03b0342b22ecaf473e685ebe389c55cff88b2e4598b60fa8981b855144e
5
5
  SHA512:
6
- metadata.gz: b719dc4cebc11de4c6699311984bedd5d9440f967dee9843e9409942ca210c635f7688caafc5b7edf603656ef24f2013e21df915844ef06eb17550c6e0a7f806
7
- data.tar.gz: 4c91dfa8faa7a1626889a54e0a7f15997e201f360c5a3095f9930e0ef5d6973e8403c8b49b69eebb69fe4c6a52d79bd99e9c7f1136eace6b20d34d76b8b7bc33
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ParameterManager
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.5.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-parameter_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC