google-cloud-dlp 0.13.2 → 0.14.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: db19732158e56384a843a9ea0a08a7c19701b89c8900a10b67c0e87bc0810782
4
- data.tar.gz: f7b5a6e1289a6c2520556b36e0b05ca98d51abce6edf52dc5379fe6882b787ff
3
+ metadata.gz: 503aa128d923060ccddbdf1329f32e3304348a421182c452a2131b52cd074653
4
+ data.tar.gz: 5eed5de459cf167c2df2995b0588362ee85e9c01112f4d1bac4e4dcb5fd2c33c
5
5
  SHA512:
6
- metadata.gz: 5b2a5496454ce07ecb38b4a573b1d4f6b706826614d82e684f655a519a06d332ea46bf81cc6a2d11f781e612c3dcb66d6f1f2955df80d18c91fa130ca517aaeb
7
- data.tar.gz: '092b4385b3125f4e57eea11506700e9b431814acd7eb8c03305a161e1d50c3fb09ab0610f9714ca5947490599a5a7b01b31896487bffd4e62dd2402beab9ad5d'
6
+ metadata.gz: 8f04b891907c9de11f9fee5187e178d23e7f8dcb30221f1e695359c75660071f66b1823a7407396637bede4a16220ffaa62b5bf3bd5756ac63bc31d3ab3c2460
7
+ data.tar.gz: 856f7d0a0018d307354be1999bb7886205a01c257a8e58cf3a63035e2974721d54c60b81834fa607edf5bd5ba949c5cf01f44e5c068e3a9a9c6e737f7d63591f
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Cloud Data Loss Prevention (DLP) API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Cloud Data Loss Prevention (DLP) API
2
2
 
3
3
  [Cloud Data Loss Prevention (DLP) API][Product Documentation]:
4
4
  Provides methods for detection, risk analysis, and de-identification of
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Data Loss Prevention (DLP) API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Cloud Data Loss Prevention (DLP) API
25
25
  #
26
26
  # [Cloud Data Loss Prevention (DLP) API][Product Documentation]:
27
27
  # Provides methods for detection, risk analysis, and de-identification of
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Cloud Data Loss Prevention (DLP) API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
24
+ # # Ruby Client for Cloud Data Loss Prevention (DLP) API
25
25
  #
26
26
  # [Cloud Data Loss Prevention (DLP) API][Product Documentation]:
27
27
  # Provides methods for detection, risk analysis, and de-identification of
@@ -335,6 +335,9 @@ module Google
335
335
  google_api_client.freeze
336
336
 
337
337
  headers = { :"x-goog-api-client" => google_api_client }
338
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
339
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
340
+ end
338
341
  headers.merge!(metadata) unless metadata.nil?
339
342
  client_config_file = Pathname.new(__dir__).join(
340
343
  "dlp_service_client_config.json"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dlp
19
- VERSION = "0.13.2".freeze
19
+ VERSION = "0.14.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-dlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.14.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