google-cloud-dlp-v2 0.15.0 → 0.17.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.
@@ -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.17.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