google-cloud-kms 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 031450b16fd7bc975e841dec015707d6f294a29a4c10a7be2e3f438ffbbb76b3
4
- data.tar.gz: 4e08b3fce0e31ca9489f0370be1fc27fc32b2370d96f90897d53c6ded91636b2
3
+ metadata.gz: a1c6d1cdabdaf0ca3bb255d7b636fa0f47490479c5db68a90bf451c32b042f02
4
+ data.tar.gz: 52d45e6b8caeccfd4f1567e1bd56c2de982bf97fae4edc8990712c5747862d4d
5
5
  SHA512:
6
- metadata.gz: 266026c54bb01665087cab9530edcf3b2d3113f87dc6254cbdf62094c3c2bfcd43bb749ca35c3c17a28dd6bd46fe8dda5bd012e797b6c03556663f727a8373be
7
- data.tar.gz: 1f61530e92198430b946fce480a851dae3e80738240c78c67d06b89fa3257c7a2ec48b29b7b993bc0a6bbd8df9606e1696cc4b977bf52cfb80362e8bbb8f8a6a
6
+ metadata.gz: 021373de34c3d0cf19f6ca0efb6300716994828a111b224b7ebdb3234510d3d71e83a7fa9fcb8dd5edd2a5ed2ace15c48291026b86193fa68c26e0e1fc743e05
7
+ data.tar.gz: 4ee6da1d708d76ce4338a9c73fa957e442aff0b93b56003b5adc17d0a363e5412a2fd008d77717dbc8df0dc657b159be9586310c8a2443a0ec3d16cc0474336b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Cloud Key Management Service (KMS) API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Cloud Key Management Service (KMS) API
2
2
 
3
3
  [Cloud Key Management Service (KMS) API][Product Documentation]:
4
4
  Manages keys and performs cryptographic operations in a central cloud
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Key Management Service (KMS) API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Cloud Key Management Service (KMS) API
25
25
  #
26
26
  # [Cloud Key Management Service (KMS) API][Product Documentation]:
27
27
  # Manages keys and performs cryptographic operations in a central cloud
@@ -23,7 +23,7 @@ module Google
23
23
  # rubocop:disable LineLength
24
24
 
25
25
  ##
26
- # # Ruby Client for Cloud Key Management Service (KMS) API ([GA](https://github.com/googleapis/google-cloud-ruby#versioning))
26
+ # # Ruby Client for Cloud Key Management Service (KMS) API
27
27
  #
28
28
  # [Cloud Key Management Service (KMS) API][Product Documentation]:
29
29
  # Manages keys and performs cryptographic operations in a central cloud
@@ -295,6 +295,9 @@ module Google
295
295
  google_api_client.freeze
296
296
 
297
297
  headers = { :"x-goog-api-client" => google_api_client }
298
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
299
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
300
+ end
298
301
  headers.merge!(metadata) unless metadata.nil?
299
302
  client_config_file = Pathname.new(__dir__).join(
300
303
  "key_management_service_client_config.json"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Kms
19
- VERSION = "1.4.1".freeze
19
+ VERSION = "1.5.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax