google-cloud-dlp 0.15.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,43 +1,52 @@
1
- # Ruby Client for Cloud Data Loss Prevention (DLP) API
1
+ # Ruby Client for the Cloud Data Loss Prevention (DLP) API
2
2
 
3
- [Cloud Data Loss Prevention (DLP) API][Product Documentation]:
4
- Provides methods for detection, risk analysis, and de-identification of
5
- privacy-sensitive fragments in text, images, and Google Cloud Platform
6
- storage repositories.
7
- - [Client Library Documentation][]
8
- - [Product Documentation][]
3
+ API Client library for the Cloud Data Loss Prevention (DLP) API
9
4
 
10
- ## Quick Start
11
- In order to use this library, you first need to go through the following
12
- steps:
5
+ Provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.
13
6
 
14
- 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
15
- 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
16
- 3. [Enable the Cloud Data Loss Prevention (DLP) API.](https://console.cloud.google.com/apis/library/dlp.googleapis.com)
17
- 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-dlp/latest/file.AUTHENTICATION.html)
7
+ Actual client classes for the various versions of this API are defined in
8
+ _versioned_ client gems, with names of the form `google-cloud-dlp-v*`.
9
+ The gem `google-cloud-dlp` is a convenience wrapper library that brings the
10
+ verisoned gems in as dependencies, and provides high-level methods for
11
+ constructing clients.
12
+
13
+ View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-dlp/latest)
14
+ for this library, google-cloud-dlp, to see the convenience methods for
15
+ constructing client objects. Reference documentation for the client objects
16
+ themselves can be found in the client library documentation for the versioned
17
+ client gems:
18
+ [google-cloud-dlp-v2](https://googleapis.dev/ruby/google-cloud-dlp-v2/latest).
19
+
20
+ See also the [Product Documentation](https://cloud.google.com/dlp)
21
+ for more usage information.
22
+
23
+ ## Quick Start
18
24
 
19
- ### Installation
20
25
  ```
21
26
  $ gem install google-cloud-dlp
22
27
  ```
23
28
 
24
- ### Next Steps
25
- - Read the [Client Library Documentation][] for Cloud Data Loss Prevention (DLP) API
26
- to see other available methods on the client.
27
- - Read the [Cloud Data Loss Prevention (DLP) API Product documentation][Product Documentation]
28
- to learn more about the product and see How-to Guides.
29
- - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
30
- to see the full list of Cloud APIs that we cover.
29
+ In order to use this library, you first need to go through the following steps:
30
+
31
+ 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
32
+ 1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
33
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/dlp.googleapis.com)
34
+ 1. {file:AUTHENTICATION.md Set up authentication.}
35
+
36
+ ## Migrating from 0.x versions
31
37
 
32
- [Client Library Documentation]: https://googleapis.dev/ruby/google-cloud-dlp/latest
33
- [Product Documentation]: https://cloud.google.com/dlp
38
+ The 1.0 release of the google-cloud-dlp client is a significant upgrade
39
+ based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
40
+ and includes substantial interface changes. Existing code written for earlier
41
+ versions of this library will likely require updates to use this version.
42
+ See the {file:MIGRATING.md MIGRATING.md} document for more information.
34
43
 
35
44
  ## Enabling Logging
36
45
 
37
46
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
38
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
47
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
39
48
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
40
- that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
49
+ that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
41
50
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
42
51
 
43
52
  Configuring a Ruby stdlib logger:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,18 +14,6 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
15
18
 
16
- module Google
17
- module Protobuf
18
- # A generic empty message that you can re-use to avoid defining duplicated
19
- # empty messages in your APIs. A typical example is to use it as the request
20
- # or the response type of an API method. For instance:
21
- #
22
- # service Foo {
23
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
24
- # }
25
- #
26
- # The JSON representation for `Empty` is empty JSON object `{}`.
27
- class Empty; end
28
- end
29
- end
19
+ require "google/cloud/dlp" unless defined? Google::Cloud::Dlp::VERSION
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,83 +14,46 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # Require this file early so that the version constant gets defined before
20
+ # requiring "google/cloud". This is because google-cloud-core will load the
21
+ # entrypoint (gem name) file, which in turn re-requires this file (hence
22
+ # causing a require cycle) unless the version constant is already defined.
23
+ require "google/cloud/dlp/version"
15
24
 
16
- require "google/gax"
17
- require "pathname"
25
+ require "googleauth"
26
+ gem "google-cloud-core"
27
+ require "google/cloud" unless defined? ::Google::Cloud.new
28
+ require "google/cloud/config"
29
+
30
+ # Set the default configuration
31
+ ::Google::Cloud.configure.add_config! :dlp do |config|
32
+ config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
33
+ config.add_field! :lib_name, nil, match: ::String
34
+ config.add_field! :lib_version, nil, match: ::String
35
+ config.add_field! :interceptors, nil, match: ::Array
36
+ config.add_field! :timeout, nil, match: ::Numeric
37
+ config.add_field! :metadata, nil, match: ::Hash
38
+ config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
39
+ end
18
40
 
19
41
  module Google
20
42
  module Cloud
21
- # rubocop:disable LineLength
22
-
23
- ##
24
- # # Ruby Client for Cloud Data Loss Prevention (DLP) API
25
- #
26
- # [Cloud Data Loss Prevention (DLP) API][Product Documentation]:
27
- # Provides methods for detection, risk analysis, and de-identification of
28
- # privacy-sensitive fragments in text, images, and Google Cloud Platform
29
- # storage repositories.
30
- # - [Product Documentation][]
31
- #
32
- # ## Quick Start
33
- # In order to use this library, you first need to go through the following
34
- # steps:
35
- #
36
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
37
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
38
- # 3. [Enable the Cloud Data Loss Prevention (DLP) API.](https://console.cloud.google.com/apis/library/dlp.googleapis.com)
39
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-dlp/latest/file.AUTHENTICATION.html)
40
- #
41
- # ### Installation
42
- # ```
43
- # $ gem install google-cloud-dlp
44
- # ```
45
- #
46
- # ### Next Steps
47
- # - Read the [Cloud Data Loss Prevention (DLP) API Product documentation][Product Documentation]
48
- # to learn more about the product and see How-to Guides.
49
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
50
- # to see the full list of Cloud APIs that we cover.
51
- #
52
- # [Product Documentation]: https://cloud.google.com/dlp
53
- #
54
- # ## Enabling Logging
55
- #
56
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
57
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
58
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
59
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
60
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
61
- #
62
- # Configuring a Ruby stdlib logger:
63
- #
64
- # ```ruby
65
- # require "logger"
66
- #
67
- # module MyLogger
68
- # LOGGER = Logger.new $stderr, level: Logger::WARN
69
- # def logger
70
- # LOGGER
71
- # end
72
- # end
73
- #
74
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
75
- # module GRPC
76
- # extend MyLogger
77
- # end
78
- # ```
79
- #
80
43
  module Dlp
81
- # rubocop:enable LineLength
82
-
83
- FILE_DIR = File.realdirpath(Pathname.new(__FILE__).join("..").join("dlp"))
84
-
85
- AVAILABLE_VERSIONS = Dir["#{FILE_DIR}/*"]
86
- .select { |file| File.directory?(file) }
87
- .select { |dir| Google::Gax::VERSION_MATCHER.match(File.basename(dir)) }
88
- .select { |dir| File.exist?(dir + ".rb") }
89
- .map { |dir| File.basename(dir) }
90
-
91
44
  ##
45
+ # Create a new client object for DlpService.
46
+ #
47
+ # By default, this returns an instance of
48
+ # [Google::Cloud::Dlp::V2::DlpService::Client](https://googleapis.dev/ruby/google-cloud-dlp-v2/latest/Google/Cloud/Dlp/V2/DlpService/Client.html)
49
+ # for version V2 of the API.
50
+ # However, you can specify specify a different API version by passing it in the
51
+ # `version` parameter. If the DlpService service is
52
+ # supported by that API version, and the corresponding gem is available, the
53
+ # appropriate versioned client will be returned.
54
+ #
55
+ # ## About DlpService
56
+ #
92
57
  # The Cloud Data Loss Prevention (DLP) API is a service that allows clients
93
58
  # to detect the presence of Personally Identifiable Information (PII) and other
94
59
  # privacy-sensitive data in user-supplied, unstructured data streams, like text
@@ -99,55 +64,53 @@ module Google
99
64
  # To learn more about concepts and find how-to guides see
100
65
  # https://cloud.google.com/dlp/docs/.
101
66
  #
102
- # @param version [Symbol, String]
103
- # The major version of the service to be used. By default :v2
104
- # is used.
105
- # @overload new(version:, credentials:, scopes:, client_config:, timeout:)
106
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
107
- # Provides the means for authenticating requests made by the client. This parameter can
108
- # be many types.
109
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
110
- # authenticating requests made by this client.
111
- # A `String` will be treated as the path to the keyfile to be used for the construction of
112
- # credentials for this client.
113
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
114
- # credentials for this client.
115
- # A `GRPC::Core::Channel` will be used to make calls through.
116
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
117
- # should already be composed with a `GRPC::Core::CallCredentials` object.
118
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
119
- # metadata for requests, generally, to give OAuth credentials.
120
- # @param scopes [Array<String>]
121
- # The OAuth scopes for this service. This parameter is ignored if
122
- # an updater_proc is supplied.
123
- # @param client_config [Hash]
124
- # A Hash for call options for each method. See
125
- # Google::Gax#construct_settings for the structure of
126
- # this data. Falls back to the default config if not specified
127
- # or the specified config is missing data points.
128
- # @param timeout [Numeric]
129
- # The default timeout, in seconds, for calls made through this client.
130
- # @param metadata [Hash]
131
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
132
- # @param service_address [String]
133
- # Override for the service hostname, or `nil` to leave as the default.
134
- # @param service_port [Integer]
135
- # Override for the service port, or `nil` to leave as the default.
136
- # @param exception_transformer [Proc]
137
- # An optional proc that intercepts any exceptions raised during an API call to inject
138
- # custom error handling.
139
- def self.new(*args, version: :v2, **kwargs)
140
- unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
141
- raise "The version: #{version} is not available. The available versions " \
142
- "are: [#{AVAILABLE_VERSIONS.join(", ")}]"
143
- end
67
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
68
+ # Defaults to `:v2`.
69
+ # @return [DlpService::Client] A client object for the specified version.
70
+ #
71
+ def self.dlp_service version: :v2, &block
72
+ require "google/cloud/dlp/#{version.to_s.downcase}"
73
+
74
+ package_name = Google::Cloud::Dlp
75
+ .constants
76
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
77
+ .first
78
+ package_module = Google::Cloud::Dlp.const_get package_name
79
+ package_module.const_get(:DlpService).const_get(:Client).new(&block)
80
+ end
81
+
82
+ ##
83
+ # Configure the google-cloud-dlp library.
84
+ #
85
+ # The following configuration parameters are supported:
86
+ #
87
+ # * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
88
+ # The path to the keyfile as a String, the contents of the keyfile as a
89
+ # Hash, or a Google::Auth::Credentials object.
90
+ # * `lib_name` (*type:* `String`) -
91
+ # The library name as recorded in instrumentation and logging.
92
+ # * `lib_version` (*type:* `String`) -
93
+ # The library version as recorded in instrumentation and logging.
94
+ # * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
95
+ # An array of interceptors that are run before calls are executed.
96
+ # * `timeout` (*type:* `Integer`) -
97
+ # Default timeout in milliseconds.
98
+ # * `metadata` (*type:* `Hash{Symbol=>String}`) -
99
+ # Additional gRPC headers to be sent with the call.
100
+ # * `retry_policy` (*type:* `Hash`) -
101
+ # The retry policy. The value is a hash with the following keys:
102
+ # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
103
+ # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
104
+ # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
105
+ # * `:retry_codes` (*type:* `Array<String>`) -
106
+ # The error codes that should trigger a retry.
107
+ #
108
+ # @return [::Google::Cloud::Config] The default configuration used by this library
109
+ #
110
+ def self.configure
111
+ yield ::Google::Cloud.configure.dlp if block_given?
144
112
 
145
- require "#{FILE_DIR}/#{version.to_s.downcase}"
146
- version_module = Google::Cloud::Dlp
147
- .constants
148
- .select {|sym| sym.to_s.downcase == version.to_s.downcase}
149
- .first
150
- Google::Cloud::Dlp.const_get(version_module).new(*args, **kwargs)
113
+ ::Google::Cloud.configure.dlp
151
114
  end
152
115
  end
153
116
  end
@@ -1,4 +1,6 @@
1
- # Copyright 2019 Google LLC
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
@@ -12,11 +14,13 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
15
19
 
16
20
  module Google
17
21
  module Cloud
18
22
  module Dlp
19
- VERSION = "0.15.0".freeze
23
+ VERSION = "1.0.0"
20
24
  end
21
25
  end
22
26
  end
metadata CHANGED
@@ -1,111 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 1.0.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-03-18 00:00:00.000000000 Z
11
+ date: 2020-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: google-gax
14
+ name: google-cloud-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.5'
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.8'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: googleapis-common-protos
28
+ name: google-cloud-dlp-v2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 1.3.9
34
- - - "<"
31
+ - - "~>"
35
32
  - !ruby/object:Gem::Version
36
- version: '2.0'
33
+ version: '0.2'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - ">="
38
+ - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: 1.3.9
44
- - - "<"
40
+ version: '0.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: autotest-suffix
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '2.0'
47
+ version: '1.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
47
55
  - !ruby/object:Gem::Dependency
48
- name: googleapis-common-protos-types
56
+ name: google-style
49
57
  requirement: !ruby/object:Gem::Requirement
50
58
  requirements:
51
- - - ">="
59
+ - - "~>"
52
60
  - !ruby/object:Gem::Version
53
- version: 1.0.4
54
- - - "<"
61
+ version: 1.24.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
55
67
  - !ruby/object:Gem::Version
56
- version: '2.0'
57
- type: :runtime
68
+ version: 1.24.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.14'
76
+ type: :development
58
77
  prerelease: false
59
78
  version_requirements: !ruby/object:Gem::Requirement
60
79
  requirements:
61
- - - ">="
80
+ - - "~>"
62
81
  - !ruby/object:Gem::Version
63
- version: 1.0.4
64
- - - "<"
82
+ version: '5.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest-autotest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
65
88
  - !ruby/object:Gem::Version
66
- version: '2.0'
89
+ version: '1.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.0'
67
97
  - !ruby/object:Gem::Dependency
68
- name: minitest
98
+ name: minitest-focus
69
99
  requirement: !ruby/object:Gem::Requirement
70
100
  requirements:
71
101
  - - "~>"
72
102
  - !ruby/object:Gem::Version
73
- version: '5.10'
103
+ version: '1.1'
74
104
  type: :development
75
105
  prerelease: false
76
106
  version_requirements: !ruby/object:Gem::Requirement
77
107
  requirements:
78
108
  - - "~>"
79
109
  - !ruby/object:Gem::Version
80
- version: '5.10'
110
+ version: '1.1'
81
111
  - !ruby/object:Gem::Dependency
82
- name: redcarpet
112
+ name: minitest-rg
83
113
  requirement: !ruby/object:Gem::Requirement
84
114
  requirements:
85
115
  - - "~>"
86
116
  - !ruby/object:Gem::Version
87
- version: '3.0'
117
+ version: '5.2'
88
118
  type: :development
89
119
  prerelease: false
90
120
  version_requirements: !ruby/object:Gem::Requirement
91
121
  requirements:
92
122
  - - "~>"
93
123
  - !ruby/object:Gem::Version
94
- version: '3.0'
124
+ version: '5.2'
95
125
  - !ruby/object:Gem::Dependency
96
- name: google-style
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '12.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '12.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: redcarpet
97
141
  requirement: !ruby/object:Gem::Requirement
98
142
  requirements:
99
143
  - - "~>"
100
144
  - !ruby/object:Gem::Version
101
- version: 1.24.0
145
+ version: '3.0'
102
146
  type: :development
103
147
  prerelease: false
104
148
  version_requirements: !ruby/object:Gem::Requirement
105
149
  requirements:
106
150
  - - "~>"
107
151
  - !ruby/object:Gem::Version
108
- version: 1.24.0
152
+ version: '3.0'
109
153
  - !ruby/object:Gem::Dependency
110
154
  name: simplecov
111
155
  requirement: !ruby/object:Gem::Requirement
@@ -134,8 +178,8 @@ dependencies:
134
178
  - - "~>"
135
179
  - !ruby/object:Gem::Version
136
180
  version: '0.9'
137
- description: google-cloud-dlp is the official library for Cloud Data Loss Prevention
138
- (DLP) API.
181
+ description: Provides methods for detection of privacy-sensitive fragments in text,
182
+ images, and Google Cloud Platform storage repositories.
139
183
  email: googleapis-packages@google.com
140
184
  executables: []
141
185
  extensions: []
@@ -143,28 +187,13 @@ extra_rdoc_files: []
143
187
  files:
144
188
  - ".yardopts"
145
189
  - AUTHENTICATION.md
146
- - LICENSE
190
+ - LICENSE.md
191
+ - MIGRATING.md
147
192
  - README.md
193
+ - lib/google-cloud-dlp.rb
148
194
  - lib/google/cloud/dlp.rb
149
- - lib/google/cloud/dlp/v2.rb
150
- - lib/google/cloud/dlp/v2/credentials.rb
151
- - lib/google/cloud/dlp/v2/dlp_service_client.rb
152
- - lib/google/cloud/dlp/v2/dlp_service_client_config.json
153
- - lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
154
- - lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb
155
- - lib/google/cloud/dlp/v2/doc/google/protobuf/any.rb
156
- - lib/google/cloud/dlp/v2/doc/google/protobuf/duration.rb
157
- - lib/google/cloud/dlp/v2/doc/google/protobuf/empty.rb
158
- - lib/google/cloud/dlp/v2/doc/google/protobuf/field_mask.rb
159
- - lib/google/cloud/dlp/v2/doc/google/protobuf/timestamp.rb
160
- - lib/google/cloud/dlp/v2/doc/google/rpc/status.rb
161
- - lib/google/cloud/dlp/v2/doc/google/type/date.rb
162
- - lib/google/cloud/dlp/v2/doc/google/type/timeofday.rb
163
195
  - lib/google/cloud/dlp/version.rb
164
- - lib/google/privacy/dlp/v2/dlp_pb.rb
165
- - lib/google/privacy/dlp/v2/dlp_services_pb.rb
166
- - lib/google/privacy/dlp/v2/storage_pb.rb
167
- homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-dlp
196
+ homepage: https://github.com/googleapis/google-cloud-ruby
168
197
  licenses:
169
198
  - Apache-2.0
170
199
  metadata: {}
@@ -186,5 +215,5 @@ requirements: []
186
215
  rubygems_version: 3.0.6
187
216
  signing_key:
188
217
  specification_version: 4
189
- summary: API Client library for Cloud Data Loss Prevention (DLP) API
218
+ summary: API Client library for the Cloud Data Loss Prevention (DLP) API
190
219
  test_files: []