google-cloud-dlp 0.4.0 → 0.5.0
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 +4 -4
- data/README.md +33 -0
- data/lib/google/cloud/dlp.rb +36 -0
- data/lib/google/cloud/dlp/v2.rb +37 -0
- data/lib/google/cloud/dlp/v2/credentials.rb +40 -0
- data/lib/google/cloud/dlp/v2/dlp_service_client.rb +340 -144
- data/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb +204 -38
- data/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb +56 -16
- data/lib/google/cloud/dlp/v2/doc/overview.rb +25 -0
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +47 -0
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +61 -7
- data/lib/google/privacy/dlp/v2/storage_pb.rb +15 -0
- metadata +6 -6
- data/lib/google/cloud/dlp/credentials.rb +0 -30
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.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: 2018-
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,8 +77,8 @@ files:
|
|
77
77
|
- LICENSE
|
78
78
|
- README.md
|
79
79
|
- lib/google/cloud/dlp.rb
|
80
|
-
- lib/google/cloud/dlp/credentials.rb
|
81
80
|
- lib/google/cloud/dlp/v2.rb
|
81
|
+
- lib/google/cloud/dlp/v2/credentials.rb
|
82
82
|
- lib/google/cloud/dlp/v2/dlp_service_client.rb
|
83
83
|
- lib/google/cloud/dlp/v2/dlp_service_client_config.json
|
84
84
|
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.7.
|
118
|
+
rubygems_version: 2.7.7
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: API Client library for Cloud Data Loss Prevention (DLP) API
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Copyright 2018 Google LLC
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require "googleauth"
|
16
|
-
|
17
|
-
module Google
|
18
|
-
module Cloud
|
19
|
-
module Dlp
|
20
|
-
class Credentials < Google::Auth::Credentials
|
21
|
-
SCOPE = [
|
22
|
-
"https://www.googleapis.com/auth/cloud-platform"
|
23
|
-
].freeze
|
24
|
-
PATH_ENV_VARS = %w(DLP_KEYFILE GOOGLE_CLOUD_KEYFILE GCLOUD_KEYFILE)
|
25
|
-
JSON_ENV_VARS = %w(DLP_KEYFILE_JSON GOOGLE_CLOUD_KEYFILE_JSON GCLOUD_KEYFILE_JSON)
|
26
|
-
DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"]
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|