google-cloud-dlp-v2 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/dlp/v2/version"
24
+
25
+ require "google/cloud/dlp/v2/dlp_service/credentials"
26
+ require "google/cloud/dlp/v2/dlp_service/paths"
27
+ require "google/cloud/dlp/v2/dlp_service/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module Dlp
32
+ module V2
33
+ ##
34
+ # The Cloud Data Loss Prevention (DLP) API is a service that allows clients
35
+ # to detect the presence of Personally Identifiable Information (PII) and other
36
+ # privacy-sensitive data in user-supplied, unstructured data streams, like text
37
+ # blocks or images.
38
+ # The service also includes methods for sensitive data redaction and
39
+ # scheduling of data scans on Google Cloud Platform based data sets.
40
+ #
41
+ # To learn more about concepts and find how-to guides see
42
+ # https://cloud.google.com/dlp/docs/.
43
+ #
44
+ # To load this service and instantiate a REST client:
45
+ #
46
+ # require "google/cloud/dlp/v2/dlp_service/rest"
47
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Rest::Client.new
48
+ #
49
+ module DlpService
50
+ # Client for the REST transport
51
+ module Rest
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
58
+
59
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
60
+ require "google/cloud/dlp/v2/dlp_service/rest/helpers" if ::File.file? helper_path
@@ -25,6 +25,7 @@ require "google/cloud/dlp/v2/version"
25
25
  require "google/cloud/dlp/v2/dlp_service/credentials"
26
26
  require "google/cloud/dlp/v2/dlp_service/paths"
27
27
  require "google/cloud/dlp/v2/dlp_service/client"
28
+ require "google/cloud/dlp/v2/dlp_service/rest"
28
29
 
29
30
  module Google
30
31
  module Cloud
@@ -46,6 +47,11 @@ module Google
46
47
  # require "google/cloud/dlp/v2/dlp_service"
47
48
  # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
48
49
  #
50
+ # @example Load this service and instantiate a REST client
51
+ #
52
+ # require "google/cloud/dlp/v2/dlp_service/rest"
53
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Rest::Client.new
54
+ #
49
55
  module DlpService
50
56
  end
51
57
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/dlp/v2/dlp_service/rest"
20
+ require "google/cloud/dlp/v2/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Dlp
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/dlp/v2/rest"
31
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Rest::Client.new
32
+ #
33
+ module V2
34
+ end
35
+ end
36
+ end
37
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.15.0"
24
+ VERSION = "0.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -30,6 +30,11 @@ module Google
30
30
  # require "google/cloud/dlp/v2"
31
31
  # client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/dlp/v2"
36
+ # client = ::Google::Cloud::Dlp::V2::DlpService::Rest::Client.new
37
+ #
33
38
  module V2
34
39
  end
35
40
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.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: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.1
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -195,6 +195,10 @@ files:
195
195
  - lib/google/cloud/dlp/v2/dlp_service/client.rb
196
196
  - lib/google/cloud/dlp/v2/dlp_service/credentials.rb
197
197
  - lib/google/cloud/dlp/v2/dlp_service/paths.rb
198
+ - lib/google/cloud/dlp/v2/dlp_service/rest.rb
199
+ - lib/google/cloud/dlp/v2/dlp_service/rest/client.rb
200
+ - lib/google/cloud/dlp/v2/dlp_service/rest/service_stub.rb
201
+ - lib/google/cloud/dlp/v2/rest.rb
198
202
  - lib/google/cloud/dlp/v2/version.rb
199
203
  - lib/google/privacy/dlp/v2/dlp_pb.rb
200
204
  - lib/google/privacy/dlp/v2/dlp_services_pb.rb
@@ -237,5 +241,6 @@ requirements: []
237
241
  rubygems_version: 3.4.2
238
242
  signing_key:
239
243
  specification_version: 4
240
- summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API
244
+ summary: Provides methods for detection, risk analysis, and de-identification of privacy-sensitive
245
+ fragments in text, images, and Google Cloud Platform storage repositories.
241
246
  test_files: []