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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dlp.rb +1 -1
- data/lib/google/cloud/dlp/v2.rb +1 -1
- data/lib/google/cloud/dlp/v2/dlp_service_client.rb +3 -0
- data/lib/google/cloud/dlp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 503aa128d923060ccddbdf1329f32e3304348a421182c452a2131b52cd074653
|
4
|
+
data.tar.gz: 5eed5de459cf167c2df2995b0588362ee85e9c01112f4d1bac4e4dcb5fd2c33c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/google/cloud/dlp.rb
CHANGED
@@ -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
|
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
|
data/lib/google/cloud/dlp/v2.rb
CHANGED
@@ -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
|
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"
|
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.
|
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-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|