google-cloud-dlp 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,83 @@
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
+ module Google
16
+ module Rpc
17
+ # The +Status+ type defines a logical error model that is suitable for different
18
+ # programming environments, including REST APIs and RPC APIs. It is used by
19
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
20
+ #
21
+ # * Simple to use and understand for most users
22
+ # * Flexible enough to meet unexpected needs
23
+ #
24
+ # = Overview
25
+ #
26
+ # The +Status+ message contains three pieces of data: error code, error message,
27
+ # and error details. The error code should be an enum value of
28
+ # {Google::Rpc::Code}, but it may accept additional error codes if needed. The
29
+ # error message should be a developer-facing English message that helps
30
+ # developers *understand* and *resolve* the error. If a localized user-facing
31
+ # error message is needed, put the localized message in the error details or
32
+ # localize it in the client. The optional error details may contain arbitrary
33
+ # information about the error. There is a predefined set of error detail types
34
+ # in the package +google.rpc+ that can be used for common error conditions.
35
+ #
36
+ # = Language mapping
37
+ #
38
+ # The +Status+ message is the logical representation of the error model, but it
39
+ # is not necessarily the actual wire format. When the +Status+ message is
40
+ # exposed in different client libraries and different wire protocols, it can be
41
+ # mapped differently. For example, it will likely be mapped to some exceptions
42
+ # in Java, but more likely mapped to some error codes in C.
43
+ #
44
+ # = Other uses
45
+ #
46
+ # The error model and the +Status+ message can be used in a variety of
47
+ # environments, either with or without APIs, to provide a
48
+ # consistent developer experience across different environments.
49
+ #
50
+ # Example uses of this error model include:
51
+ #
52
+ # * Partial errors. If a service needs to return partial errors to the client,
53
+ # it may embed the +Status+ in the normal response to indicate the partial
54
+ # errors.
55
+ #
56
+ # * Workflow errors. A typical workflow has multiple steps. Each step may
57
+ # have a +Status+ message for error reporting.
58
+ #
59
+ # * Batch operations. If a client uses batch request and batch response, the
60
+ # +Status+ message should be used directly inside batch response, one for
61
+ # each error sub-response.
62
+ #
63
+ # * Asynchronous operations. If an API call embeds asynchronous operation
64
+ # results in its response, the status of those operations should be
65
+ # represented directly using the +Status+ message.
66
+ #
67
+ # * Logging. If some API errors are stored in logs, the message +Status+ could
68
+ # be used directly after any stripping needed for security/privacy reasons.
69
+ # @!attribute [rw] code
70
+ # @return [Integer]
71
+ # The status code, which should be an enum value of {Google::Rpc::Code}.
72
+ # @!attribute [rw] message
73
+ # @return [String]
74
+ # A developer-facing error message, which should be in English. Any
75
+ # user-facing error message should be localized and sent in the
76
+ # {Google::Rpc::Status#details} field, or localized by the client.
77
+ # @!attribute [rw] details
78
+ # @return [Array<Google::Protobuf::Any>]
79
+ # A list of messages that carry the error details. There is a common set of
80
+ # message types for APIs to use.
81
+ class Status; end
82
+ end
83
+ end
@@ -0,0 +1,37 @@
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
+ module Google
16
+ module Type
17
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
18
+ # time zone are either specified elsewhere or are not significant. The date
19
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
20
+ # represent a year and month where the day is not significant, e.g. credit card
21
+ # expiration date. The year may be 0 to represent a month and day independent
22
+ # of year, e.g. anniversary date. Related types are {Google::Type::TimeOfDay}
23
+ # and +google.protobuf.Timestamp+.
24
+ # @!attribute [rw] year
25
+ # @return [Integer]
26
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
27
+ # a year.
28
+ # @!attribute [rw] month
29
+ # @return [Integer]
30
+ # Month of year. Must be from 1 to 12.
31
+ # @!attribute [rw] day
32
+ # @return [Integer]
33
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
34
+ # if specifying a year/month where the day is not significant.
35
+ class Date; end
36
+ end
37
+ end
@@ -0,0 +1,36 @@
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
+ module Google
16
+ module Type
17
+ # Represents a time of day. The date and time zone are either not significant
18
+ # or are specified elsewhere. An API may chose to allow leap seconds. Related
19
+ # types are {Google::Type::Date} and +google.protobuf.Timestamp+.
20
+ # @!attribute [rw] hours
21
+ # @return [Integer]
22
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
23
+ # to allow the value "24:00:00" for scenarios like business closing time.
24
+ # @!attribute [rw] minutes
25
+ # @return [Integer]
26
+ # Minutes of hour of day. Must be from 0 to 59.
27
+ # @!attribute [rw] seconds
28
+ # @return [Integer]
29
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
30
+ # allow the value 60 if it allows leap-seconds.
31
+ # @!attribute [rw] nanos
32
+ # @return [Integer]
33
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
34
+ class TimeOfDay; end
35
+ end
36
+ end
@@ -0,0 +1,54 @@
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
+ module Google
16
+ module Cloud
17
+ # rubocop:disable LineLength
18
+
19
+ ##
20
+ # # Ruby Client for DLP API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
21
+ #
22
+ # [DLP API][Product Documentation]:
23
+ #
24
+ # - [Product Documentation][]
25
+ #
26
+ # ## Quick Start
27
+ # In order to use this library, you first need to go through the following
28
+ # steps:
29
+ #
30
+ # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
31
+ # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
32
+ # 3. [Enable the DLP API.](https://console.cloud.google.com/apis/api/dlp)
33
+ # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
34
+ #
35
+ # ### Installation
36
+ # ```
37
+ # $ gem install google-cloud-dlp
38
+ # ```
39
+ #
40
+ # ### Next Steps
41
+ # - Read the [DLP API Product documentation][Product Documentation]
42
+ # to learn more about the product and see How-to Guides.
43
+ # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
44
+ # to see the full list of Cloud APIs that we cover.
45
+ #
46
+ # [Product Documentation]: https://cloud.google.com/dlp
47
+ #
48
+ #
49
+ module Dlp
50
+ module V2
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,907 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/privacy/dlp/v2/dlp.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/privacy/dlp/v2/storage_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/empty_pb'
10
+ require 'google/protobuf/field_mask_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+ require 'google/rpc/status_pb'
13
+ require 'google/type/date_pb'
14
+ require 'google/type/dayofweek_pb'
15
+ require 'google/type/timeofday_pb'
16
+ Google::Protobuf::DescriptorPool.generated_pool.build do
17
+ add_message "google.privacy.dlp.v2.InspectConfig" do
18
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2.InfoType"
19
+ optional :min_likelihood, :enum, 2, "google.privacy.dlp.v2.Likelihood"
20
+ optional :limits, :message, 3, "google.privacy.dlp.v2.InspectConfig.FindingLimits"
21
+ optional :include_quote, :bool, 4
22
+ optional :exclude_info_types, :bool, 5
23
+ repeated :custom_info_types, :message, 6, "google.privacy.dlp.v2.CustomInfoType"
24
+ repeated :content_options, :enum, 8, "google.privacy.dlp.v2.ContentOption"
25
+ end
26
+ add_message "google.privacy.dlp.v2.InspectConfig.FindingLimits" do
27
+ optional :max_findings_per_item, :int32, 1
28
+ optional :max_findings_per_request, :int32, 2
29
+ repeated :max_findings_per_info_type, :message, 3, "google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit"
30
+ end
31
+ add_message "google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit" do
32
+ optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
33
+ optional :max_findings, :int32, 2
34
+ end
35
+ add_message "google.privacy.dlp.v2.ByteContentItem" do
36
+ optional :type, :enum, 1, "google.privacy.dlp.v2.ByteContentItem.BytesType"
37
+ optional :data, :bytes, 2
38
+ end
39
+ add_enum "google.privacy.dlp.v2.ByteContentItem.BytesType" do
40
+ value :BYTES_TYPE_UNSPECIFIED, 0
41
+ value :IMAGE_JPEG, 1
42
+ value :IMAGE_BMP, 2
43
+ value :IMAGE_PNG, 3
44
+ value :IMAGE_SVG, 4
45
+ value :TEXT_UTF8, 5
46
+ end
47
+ add_message "google.privacy.dlp.v2.ContentItem" do
48
+ oneof :data_item do
49
+ optional :value, :string, 3
50
+ optional :table, :message, 4, "google.privacy.dlp.v2.Table"
51
+ optional :byte_item, :message, 5, "google.privacy.dlp.v2.ByteContentItem"
52
+ end
53
+ end
54
+ add_message "google.privacy.dlp.v2.Table" do
55
+ repeated :headers, :message, 1, "google.privacy.dlp.v2.FieldId"
56
+ repeated :rows, :message, 2, "google.privacy.dlp.v2.Table.Row"
57
+ end
58
+ add_message "google.privacy.dlp.v2.Table.Row" do
59
+ repeated :values, :message, 1, "google.privacy.dlp.v2.Value"
60
+ end
61
+ add_message "google.privacy.dlp.v2.InspectResult" do
62
+ repeated :findings, :message, 1, "google.privacy.dlp.v2.Finding"
63
+ optional :findings_truncated, :bool, 2
64
+ end
65
+ add_message "google.privacy.dlp.v2.Finding" do
66
+ optional :quote, :string, 1
67
+ optional :info_type, :message, 2, "google.privacy.dlp.v2.InfoType"
68
+ optional :likelihood, :enum, 3, "google.privacy.dlp.v2.Likelihood"
69
+ optional :location, :message, 4, "google.privacy.dlp.v2.Location"
70
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
71
+ optional :quote_info, :message, 7, "google.privacy.dlp.v2.QuoteInfo"
72
+ end
73
+ add_message "google.privacy.dlp.v2.Location" do
74
+ optional :byte_range, :message, 1, "google.privacy.dlp.v2.Range"
75
+ optional :codepoint_range, :message, 2, "google.privacy.dlp.v2.Range"
76
+ repeated :content_locations, :message, 7, "google.privacy.dlp.v2.ContentLocation"
77
+ end
78
+ add_message "google.privacy.dlp.v2.ContentLocation" do
79
+ optional :container_name, :string, 1
80
+ optional :container_timestamp, :message, 6, "google.protobuf.Timestamp"
81
+ optional :container_version, :string, 7
82
+ oneof :location do
83
+ optional :record_location, :message, 2, "google.privacy.dlp.v2.RecordLocation"
84
+ optional :image_location, :message, 3, "google.privacy.dlp.v2.ImageLocation"
85
+ optional :document_location, :message, 5, "google.privacy.dlp.v2.DocumentLocation"
86
+ end
87
+ end
88
+ add_message "google.privacy.dlp.v2.DocumentLocation" do
89
+ optional :file_offset, :int64, 1
90
+ end
91
+ add_message "google.privacy.dlp.v2.RecordLocation" do
92
+ optional :record_key, :message, 1, "google.privacy.dlp.v2.RecordKey"
93
+ optional :field_id, :message, 2, "google.privacy.dlp.v2.FieldId"
94
+ optional :table_location, :message, 3, "google.privacy.dlp.v2.TableLocation"
95
+ end
96
+ add_message "google.privacy.dlp.v2.TableLocation" do
97
+ optional :row_index, :int64, 1
98
+ end
99
+ add_message "google.privacy.dlp.v2.Range" do
100
+ optional :start, :int64, 1
101
+ optional :end, :int64, 2
102
+ end
103
+ add_message "google.privacy.dlp.v2.ImageLocation" do
104
+ repeated :bounding_boxes, :message, 1, "google.privacy.dlp.v2.BoundingBox"
105
+ end
106
+ add_message "google.privacy.dlp.v2.BoundingBox" do
107
+ optional :top, :int32, 1
108
+ optional :left, :int32, 2
109
+ optional :width, :int32, 3
110
+ optional :height, :int32, 4
111
+ end
112
+ add_message "google.privacy.dlp.v2.RedactImageRequest" do
113
+ optional :parent, :string, 1
114
+ optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
115
+ repeated :image_redaction_configs, :message, 5, "google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig"
116
+ optional :byte_item, :message, 7, "google.privacy.dlp.v2.ByteContentItem"
117
+ end
118
+ add_message "google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig" do
119
+ optional :redaction_color, :message, 3, "google.privacy.dlp.v2.Color"
120
+ oneof :target do
121
+ optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
122
+ optional :redact_all_text, :bool, 2
123
+ end
124
+ end
125
+ add_message "google.privacy.dlp.v2.Color" do
126
+ optional :red, :float, 1
127
+ optional :green, :float, 2
128
+ optional :blue, :float, 3
129
+ end
130
+ add_message "google.privacy.dlp.v2.RedactImageResponse" do
131
+ optional :redacted_image, :bytes, 1
132
+ optional :extracted_text, :string, 2
133
+ end
134
+ add_message "google.privacy.dlp.v2.DeidentifyContentRequest" do
135
+ optional :parent, :string, 1
136
+ optional :deidentify_config, :message, 2, "google.privacy.dlp.v2.DeidentifyConfig"
137
+ optional :inspect_config, :message, 3, "google.privacy.dlp.v2.InspectConfig"
138
+ optional :item, :message, 4, "google.privacy.dlp.v2.ContentItem"
139
+ optional :inspect_template_name, :string, 5
140
+ optional :deidentify_template_name, :string, 6
141
+ end
142
+ add_message "google.privacy.dlp.v2.DeidentifyContentResponse" do
143
+ optional :item, :message, 1, "google.privacy.dlp.v2.ContentItem"
144
+ optional :overview, :message, 2, "google.privacy.dlp.v2.TransformationOverview"
145
+ end
146
+ add_message "google.privacy.dlp.v2.ReidentifyContentRequest" do
147
+ optional :parent, :string, 1
148
+ optional :reidentify_config, :message, 2, "google.privacy.dlp.v2.DeidentifyConfig"
149
+ optional :inspect_config, :message, 3, "google.privacy.dlp.v2.InspectConfig"
150
+ optional :item, :message, 4, "google.privacy.dlp.v2.ContentItem"
151
+ optional :inspect_template_name, :string, 5
152
+ optional :reidentify_template_name, :string, 6
153
+ end
154
+ add_message "google.privacy.dlp.v2.ReidentifyContentResponse" do
155
+ optional :item, :message, 1, "google.privacy.dlp.v2.ContentItem"
156
+ optional :overview, :message, 2, "google.privacy.dlp.v2.TransformationOverview"
157
+ end
158
+ add_message "google.privacy.dlp.v2.InspectContentRequest" do
159
+ optional :parent, :string, 1
160
+ optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
161
+ optional :item, :message, 3, "google.privacy.dlp.v2.ContentItem"
162
+ optional :inspect_template_name, :string, 4
163
+ end
164
+ add_message "google.privacy.dlp.v2.InspectContentResponse" do
165
+ optional :result, :message, 1, "google.privacy.dlp.v2.InspectResult"
166
+ end
167
+ add_message "google.privacy.dlp.v2.OutputStorageConfig" do
168
+ optional :output_schema, :enum, 3, "google.privacy.dlp.v2.OutputStorageConfig.OutputSchema"
169
+ oneof :type do
170
+ optional :table, :message, 1, "google.privacy.dlp.v2.BigQueryTable"
171
+ end
172
+ end
173
+ add_enum "google.privacy.dlp.v2.OutputStorageConfig.OutputSchema" do
174
+ value :OUTPUT_SCHEMA_UNSPECIFIED, 0
175
+ value :BASIC_COLUMNS, 1
176
+ value :GCS_COLUMNS, 2
177
+ value :DATASTORE_COLUMNS, 3
178
+ value :BIG_QUERY_COLUMNS, 4
179
+ value :ALL_COLUMNS, 5
180
+ end
181
+ add_message "google.privacy.dlp.v2.InfoTypeStats" do
182
+ optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
183
+ optional :count, :int64, 2
184
+ end
185
+ add_message "google.privacy.dlp.v2.InspectDataSourceDetails" do
186
+ optional :requested_options, :message, 2, "google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions"
187
+ optional :result, :message, 3, "google.privacy.dlp.v2.InspectDataSourceDetails.Result"
188
+ end
189
+ add_message "google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions" do
190
+ optional :snapshot_inspect_template, :message, 1, "google.privacy.dlp.v2.InspectTemplate"
191
+ optional :job_config, :message, 3, "google.privacy.dlp.v2.InspectJobConfig"
192
+ end
193
+ add_message "google.privacy.dlp.v2.InspectDataSourceDetails.Result" do
194
+ optional :processed_bytes, :int64, 1
195
+ optional :total_estimated_bytes, :int64, 2
196
+ repeated :info_type_stats, :message, 3, "google.privacy.dlp.v2.InfoTypeStats"
197
+ end
198
+ add_message "google.privacy.dlp.v2.InfoTypeDescription" do
199
+ optional :name, :string, 1
200
+ optional :display_name, :string, 2
201
+ repeated :supported_by, :enum, 3, "google.privacy.dlp.v2.InfoTypeSupportedBy"
202
+ end
203
+ add_message "google.privacy.dlp.v2.ListInfoTypesRequest" do
204
+ optional :language_code, :string, 1
205
+ optional :filter, :string, 2
206
+ end
207
+ add_message "google.privacy.dlp.v2.ListInfoTypesResponse" do
208
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2.InfoTypeDescription"
209
+ end
210
+ add_message "google.privacy.dlp.v2.RiskAnalysisJobConfig" do
211
+ optional :privacy_metric, :message, 1, "google.privacy.dlp.v2.PrivacyMetric"
212
+ optional :source_table, :message, 2, "google.privacy.dlp.v2.BigQueryTable"
213
+ repeated :actions, :message, 3, "google.privacy.dlp.v2.Action"
214
+ end
215
+ add_message "google.privacy.dlp.v2.PrivacyMetric" do
216
+ oneof :type do
217
+ optional :numerical_stats_config, :message, 1, "google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig"
218
+ optional :categorical_stats_config, :message, 2, "google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig"
219
+ optional :k_anonymity_config, :message, 3, "google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig"
220
+ optional :l_diversity_config, :message, 4, "google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig"
221
+ optional :k_map_estimation_config, :message, 5, "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig"
222
+ end
223
+ end
224
+ add_message "google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig" do
225
+ optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
226
+ end
227
+ add_message "google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig" do
228
+ optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
229
+ end
230
+ add_message "google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig" do
231
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2.FieldId"
232
+ end
233
+ add_message "google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig" do
234
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2.FieldId"
235
+ optional :sensitive_attribute, :message, 2, "google.privacy.dlp.v2.FieldId"
236
+ end
237
+ add_message "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig" do
238
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField"
239
+ optional :region_code, :string, 2
240
+ repeated :auxiliary_tables, :message, 3, "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable"
241
+ end
242
+ add_message "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField" do
243
+ optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
244
+ oneof :tag do
245
+ optional :info_type, :message, 2, "google.privacy.dlp.v2.InfoType"
246
+ optional :custom_tag, :string, 3
247
+ optional :inferred, :message, 4, "google.protobuf.Empty"
248
+ end
249
+ end
250
+ add_message "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable" do
251
+ optional :table, :message, 3, "google.privacy.dlp.v2.BigQueryTable"
252
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField"
253
+ optional :relative_frequency, :message, 2, "google.privacy.dlp.v2.FieldId"
254
+ end
255
+ add_message "google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField" do
256
+ optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
257
+ optional :custom_tag, :string, 2
258
+ end
259
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails" do
260
+ optional :requested_privacy_metric, :message, 1, "google.privacy.dlp.v2.PrivacyMetric"
261
+ optional :requested_source_table, :message, 2, "google.privacy.dlp.v2.BigQueryTable"
262
+ oneof :result do
263
+ optional :numerical_stats_result, :message, 3, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult"
264
+ optional :categorical_stats_result, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult"
265
+ optional :k_anonymity_result, :message, 5, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult"
266
+ optional :l_diversity_result, :message, 6, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult"
267
+ optional :k_map_estimation_result, :message, 7, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult"
268
+ end
269
+ end
270
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult" do
271
+ optional :min_value, :message, 1, "google.privacy.dlp.v2.Value"
272
+ optional :max_value, :message, 2, "google.privacy.dlp.v2.Value"
273
+ repeated :quantile_values, :message, 4, "google.privacy.dlp.v2.Value"
274
+ end
275
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult" do
276
+ repeated :value_frequency_histogram_buckets, :message, 5, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket"
277
+ end
278
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket" do
279
+ optional :value_frequency_lower_bound, :int64, 1
280
+ optional :value_frequency_upper_bound, :int64, 2
281
+ optional :bucket_size, :int64, 3
282
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2.ValueFrequency"
283
+ end
284
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult" do
285
+ repeated :equivalence_class_histogram_buckets, :message, 5, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket"
286
+ end
287
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass" do
288
+ repeated :quasi_ids_values, :message, 1, "google.privacy.dlp.v2.Value"
289
+ optional :equivalence_class_size, :int64, 2
290
+ end
291
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket" do
292
+ optional :equivalence_class_size_lower_bound, :int64, 1
293
+ optional :equivalence_class_size_upper_bound, :int64, 2
294
+ optional :bucket_size, :int64, 3
295
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass"
296
+ end
297
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult" do
298
+ repeated :sensitive_value_frequency_histogram_buckets, :message, 5, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket"
299
+ end
300
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass" do
301
+ repeated :quasi_ids_values, :message, 1, "google.privacy.dlp.v2.Value"
302
+ optional :equivalence_class_size, :int64, 2
303
+ optional :num_distinct_sensitive_values, :int64, 3
304
+ repeated :top_sensitive_values, :message, 4, "google.privacy.dlp.v2.ValueFrequency"
305
+ end
306
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket" do
307
+ optional :sensitive_value_frequency_lower_bound, :int64, 1
308
+ optional :sensitive_value_frequency_upper_bound, :int64, 2
309
+ optional :bucket_size, :int64, 3
310
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass"
311
+ end
312
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult" do
313
+ repeated :k_map_estimation_histogram, :message, 1, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket"
314
+ end
315
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues" do
316
+ repeated :quasi_ids_values, :message, 1, "google.privacy.dlp.v2.Value"
317
+ optional :estimated_anonymity, :int64, 2
318
+ end
319
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket" do
320
+ optional :min_anonymity, :int64, 1
321
+ optional :max_anonymity, :int64, 2
322
+ optional :bucket_size, :int64, 5
323
+ repeated :bucket_values, :message, 6, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues"
324
+ end
325
+ add_message "google.privacy.dlp.v2.ValueFrequency" do
326
+ optional :value, :message, 1, "google.privacy.dlp.v2.Value"
327
+ optional :count, :int64, 2
328
+ end
329
+ add_message "google.privacy.dlp.v2.Value" do
330
+ oneof :type do
331
+ optional :integer_value, :int64, 1
332
+ optional :float_value, :double, 2
333
+ optional :string_value, :string, 3
334
+ optional :boolean_value, :bool, 4
335
+ optional :timestamp_value, :message, 5, "google.protobuf.Timestamp"
336
+ optional :time_value, :message, 6, "google.type.TimeOfDay"
337
+ optional :date_value, :message, 7, "google.type.Date"
338
+ optional :day_of_week_value, :enum, 8, "google.type.DayOfWeek"
339
+ end
340
+ end
341
+ add_message "google.privacy.dlp.v2.QuoteInfo" do
342
+ oneof :parsed_quote do
343
+ optional :date_time, :message, 2, "google.privacy.dlp.v2.DateTime"
344
+ end
345
+ end
346
+ add_message "google.privacy.dlp.v2.DateTime" do
347
+ optional :date, :message, 1, "google.type.Date"
348
+ optional :day_of_week, :enum, 2, "google.type.DayOfWeek"
349
+ optional :time, :message, 3, "google.type.TimeOfDay"
350
+ optional :time_zone, :message, 4, "google.privacy.dlp.v2.DateTime.TimeZone"
351
+ end
352
+ add_message "google.privacy.dlp.v2.DateTime.TimeZone" do
353
+ optional :offset_minutes, :int32, 1
354
+ end
355
+ add_message "google.privacy.dlp.v2.DeidentifyConfig" do
356
+ oneof :transformation do
357
+ optional :info_type_transformations, :message, 1, "google.privacy.dlp.v2.InfoTypeTransformations"
358
+ optional :record_transformations, :message, 2, "google.privacy.dlp.v2.RecordTransformations"
359
+ end
360
+ end
361
+ add_message "google.privacy.dlp.v2.PrimitiveTransformation" do
362
+ oneof :transformation do
363
+ optional :replace_config, :message, 1, "google.privacy.dlp.v2.ReplaceValueConfig"
364
+ optional :redact_config, :message, 2, "google.privacy.dlp.v2.RedactConfig"
365
+ optional :character_mask_config, :message, 3, "google.privacy.dlp.v2.CharacterMaskConfig"
366
+ optional :crypto_replace_ffx_fpe_config, :message, 4, "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig"
367
+ optional :fixed_size_bucketing_config, :message, 5, "google.privacy.dlp.v2.FixedSizeBucketingConfig"
368
+ optional :bucketing_config, :message, 6, "google.privacy.dlp.v2.BucketingConfig"
369
+ optional :replace_with_info_type_config, :message, 7, "google.privacy.dlp.v2.ReplaceWithInfoTypeConfig"
370
+ optional :time_part_config, :message, 8, "google.privacy.dlp.v2.TimePartConfig"
371
+ optional :crypto_hash_config, :message, 9, "google.privacy.dlp.v2.CryptoHashConfig"
372
+ optional :date_shift_config, :message, 11, "google.privacy.dlp.v2.DateShiftConfig"
373
+ end
374
+ end
375
+ add_message "google.privacy.dlp.v2.TimePartConfig" do
376
+ optional :part_to_extract, :enum, 1, "google.privacy.dlp.v2.TimePartConfig.TimePart"
377
+ end
378
+ add_enum "google.privacy.dlp.v2.TimePartConfig.TimePart" do
379
+ value :TIME_PART_UNSPECIFIED, 0
380
+ value :YEAR, 1
381
+ value :MONTH, 2
382
+ value :DAY_OF_MONTH, 3
383
+ value :DAY_OF_WEEK, 4
384
+ value :WEEK_OF_YEAR, 5
385
+ value :HOUR_OF_DAY, 6
386
+ end
387
+ add_message "google.privacy.dlp.v2.CryptoHashConfig" do
388
+ optional :crypto_key, :message, 1, "google.privacy.dlp.v2.CryptoKey"
389
+ end
390
+ add_message "google.privacy.dlp.v2.ReplaceValueConfig" do
391
+ optional :new_value, :message, 1, "google.privacy.dlp.v2.Value"
392
+ end
393
+ add_message "google.privacy.dlp.v2.ReplaceWithInfoTypeConfig" do
394
+ end
395
+ add_message "google.privacy.dlp.v2.RedactConfig" do
396
+ end
397
+ add_message "google.privacy.dlp.v2.CharsToIgnore" do
398
+ oneof :characters do
399
+ optional :characters_to_skip, :string, 1
400
+ optional :common_characters_to_ignore, :enum, 2, "google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore"
401
+ end
402
+ end
403
+ add_enum "google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore" do
404
+ value :COMMON_CHARS_TO_IGNORE_UNSPECIFIED, 0
405
+ value :NUMERIC, 1
406
+ value :ALPHA_UPPER_CASE, 2
407
+ value :ALPHA_LOWER_CASE, 3
408
+ value :PUNCTUATION, 4
409
+ value :WHITESPACE, 5
410
+ end
411
+ add_message "google.privacy.dlp.v2.CharacterMaskConfig" do
412
+ optional :masking_character, :string, 1
413
+ optional :number_to_mask, :int32, 2
414
+ optional :reverse_order, :bool, 3
415
+ repeated :characters_to_ignore, :message, 4, "google.privacy.dlp.v2.CharsToIgnore"
416
+ end
417
+ add_message "google.privacy.dlp.v2.FixedSizeBucketingConfig" do
418
+ optional :lower_bound, :message, 1, "google.privacy.dlp.v2.Value"
419
+ optional :upper_bound, :message, 2, "google.privacy.dlp.v2.Value"
420
+ optional :bucket_size, :double, 3
421
+ end
422
+ add_message "google.privacy.dlp.v2.BucketingConfig" do
423
+ repeated :buckets, :message, 1, "google.privacy.dlp.v2.BucketingConfig.Bucket"
424
+ end
425
+ add_message "google.privacy.dlp.v2.BucketingConfig.Bucket" do
426
+ optional :min, :message, 1, "google.privacy.dlp.v2.Value"
427
+ optional :max, :message, 2, "google.privacy.dlp.v2.Value"
428
+ optional :replacement_value, :message, 3, "google.privacy.dlp.v2.Value"
429
+ end
430
+ add_message "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig" do
431
+ optional :crypto_key, :message, 1, "google.privacy.dlp.v2.CryptoKey"
432
+ optional :context, :message, 2, "google.privacy.dlp.v2.FieldId"
433
+ optional :surrogate_info_type, :message, 8, "google.privacy.dlp.v2.InfoType"
434
+ oneof :alphabet do
435
+ optional :common_alphabet, :enum, 4, "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet"
436
+ optional :custom_alphabet, :string, 5
437
+ optional :radix, :int32, 6
438
+ end
439
+ end
440
+ add_enum "google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet" do
441
+ value :FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, 0
442
+ value :NUMERIC, 1
443
+ value :HEXADECIMAL, 2
444
+ value :UPPER_CASE_ALPHA_NUMERIC, 3
445
+ value :ALPHA_NUMERIC, 4
446
+ end
447
+ add_message "google.privacy.dlp.v2.CryptoKey" do
448
+ oneof :source do
449
+ optional :transient, :message, 1, "google.privacy.dlp.v2.TransientCryptoKey"
450
+ optional :unwrapped, :message, 2, "google.privacy.dlp.v2.UnwrappedCryptoKey"
451
+ optional :kms_wrapped, :message, 3, "google.privacy.dlp.v2.KmsWrappedCryptoKey"
452
+ end
453
+ end
454
+ add_message "google.privacy.dlp.v2.TransientCryptoKey" do
455
+ optional :name, :string, 1
456
+ end
457
+ add_message "google.privacy.dlp.v2.UnwrappedCryptoKey" do
458
+ optional :key, :bytes, 1
459
+ end
460
+ add_message "google.privacy.dlp.v2.KmsWrappedCryptoKey" do
461
+ optional :wrapped_key, :bytes, 1
462
+ optional :crypto_key_name, :string, 2
463
+ end
464
+ add_message "google.privacy.dlp.v2.DateShiftConfig" do
465
+ optional :upper_bound_days, :int32, 1
466
+ optional :lower_bound_days, :int32, 2
467
+ optional :context, :message, 3, "google.privacy.dlp.v2.FieldId"
468
+ oneof :method do
469
+ optional :crypto_key, :message, 4, "google.privacy.dlp.v2.CryptoKey"
470
+ end
471
+ end
472
+ add_message "google.privacy.dlp.v2.InfoTypeTransformations" do
473
+ repeated :transformations, :message, 1, "google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation"
474
+ end
475
+ add_message "google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation" do
476
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2.InfoType"
477
+ optional :primitive_transformation, :message, 2, "google.privacy.dlp.v2.PrimitiveTransformation"
478
+ end
479
+ add_message "google.privacy.dlp.v2.FieldTransformation" do
480
+ repeated :fields, :message, 1, "google.privacy.dlp.v2.FieldId"
481
+ optional :condition, :message, 3, "google.privacy.dlp.v2.RecordCondition"
482
+ oneof :transformation do
483
+ optional :primitive_transformation, :message, 4, "google.privacy.dlp.v2.PrimitiveTransformation"
484
+ optional :info_type_transformations, :message, 5, "google.privacy.dlp.v2.InfoTypeTransformations"
485
+ end
486
+ end
487
+ add_message "google.privacy.dlp.v2.RecordTransformations" do
488
+ repeated :field_transformations, :message, 1, "google.privacy.dlp.v2.FieldTransformation"
489
+ repeated :record_suppressions, :message, 2, "google.privacy.dlp.v2.RecordSuppression"
490
+ end
491
+ add_message "google.privacy.dlp.v2.RecordSuppression" do
492
+ optional :condition, :message, 1, "google.privacy.dlp.v2.RecordCondition"
493
+ end
494
+ add_message "google.privacy.dlp.v2.RecordCondition" do
495
+ optional :expressions, :message, 3, "google.privacy.dlp.v2.RecordCondition.Expressions"
496
+ end
497
+ add_message "google.privacy.dlp.v2.RecordCondition.Condition" do
498
+ optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
499
+ optional :operator, :enum, 3, "google.privacy.dlp.v2.RelationalOperator"
500
+ optional :value, :message, 4, "google.privacy.dlp.v2.Value"
501
+ end
502
+ add_message "google.privacy.dlp.v2.RecordCondition.Conditions" do
503
+ repeated :conditions, :message, 1, "google.privacy.dlp.v2.RecordCondition.Condition"
504
+ end
505
+ add_message "google.privacy.dlp.v2.RecordCondition.Expressions" do
506
+ optional :logical_operator, :enum, 1, "google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator"
507
+ oneof :type do
508
+ optional :conditions, :message, 3, "google.privacy.dlp.v2.RecordCondition.Conditions"
509
+ end
510
+ end
511
+ add_enum "google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator" do
512
+ value :LOGICAL_OPERATOR_UNSPECIFIED, 0
513
+ value :AND, 1
514
+ end
515
+ add_message "google.privacy.dlp.v2.TransformationOverview" do
516
+ optional :transformed_bytes, :int64, 2
517
+ repeated :transformation_summaries, :message, 3, "google.privacy.dlp.v2.TransformationSummary"
518
+ end
519
+ add_message "google.privacy.dlp.v2.TransformationSummary" do
520
+ optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
521
+ optional :field, :message, 2, "google.privacy.dlp.v2.FieldId"
522
+ optional :transformation, :message, 3, "google.privacy.dlp.v2.PrimitiveTransformation"
523
+ repeated :field_transformations, :message, 5, "google.privacy.dlp.v2.FieldTransformation"
524
+ optional :record_suppress, :message, 6, "google.privacy.dlp.v2.RecordSuppression"
525
+ repeated :results, :message, 4, "google.privacy.dlp.v2.TransformationSummary.SummaryResult"
526
+ optional :transformed_bytes, :int64, 7
527
+ end
528
+ add_message "google.privacy.dlp.v2.TransformationSummary.SummaryResult" do
529
+ optional :count, :int64, 1
530
+ optional :code, :enum, 2, "google.privacy.dlp.v2.TransformationSummary.TransformationResultCode"
531
+ optional :details, :string, 3
532
+ end
533
+ add_enum "google.privacy.dlp.v2.TransformationSummary.TransformationResultCode" do
534
+ value :TRANSFORMATION_RESULT_CODE_UNSPECIFIED, 0
535
+ value :SUCCESS, 1
536
+ value :ERROR, 2
537
+ end
538
+ add_message "google.privacy.dlp.v2.Schedule" do
539
+ oneof :option do
540
+ optional :recurrence_period_duration, :message, 1, "google.protobuf.Duration"
541
+ end
542
+ end
543
+ add_message "google.privacy.dlp.v2.InspectTemplate" do
544
+ optional :name, :string, 1
545
+ optional :display_name, :string, 2
546
+ optional :description, :string, 3
547
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
548
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
549
+ optional :inspect_config, :message, 6, "google.privacy.dlp.v2.InspectConfig"
550
+ end
551
+ add_message "google.privacy.dlp.v2.DeidentifyTemplate" do
552
+ optional :name, :string, 1
553
+ optional :display_name, :string, 2
554
+ optional :description, :string, 3
555
+ optional :create_time, :message, 4, "google.protobuf.Timestamp"
556
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
557
+ optional :deidentify_config, :message, 6, "google.privacy.dlp.v2.DeidentifyConfig"
558
+ end
559
+ add_message "google.privacy.dlp.v2.Error" do
560
+ optional :details, :message, 1, "google.rpc.Status"
561
+ repeated :timestamps, :message, 2, "google.protobuf.Timestamp"
562
+ end
563
+ add_message "google.privacy.dlp.v2.JobTrigger" do
564
+ optional :name, :string, 1
565
+ optional :display_name, :string, 2
566
+ optional :description, :string, 3
567
+ repeated :triggers, :message, 5, "google.privacy.dlp.v2.JobTrigger.Trigger"
568
+ repeated :errors, :message, 6, "google.privacy.dlp.v2.Error"
569
+ optional :create_time, :message, 7, "google.protobuf.Timestamp"
570
+ optional :update_time, :message, 8, "google.protobuf.Timestamp"
571
+ optional :last_run_time, :message, 9, "google.protobuf.Timestamp"
572
+ optional :status, :enum, 10, "google.privacy.dlp.v2.JobTrigger.Status"
573
+ oneof :job do
574
+ optional :inspect_job, :message, 4, "google.privacy.dlp.v2.InspectJobConfig"
575
+ end
576
+ end
577
+ add_message "google.privacy.dlp.v2.JobTrigger.Trigger" do
578
+ oneof :trigger do
579
+ optional :schedule, :message, 1, "google.privacy.dlp.v2.Schedule"
580
+ end
581
+ end
582
+ add_enum "google.privacy.dlp.v2.JobTrigger.Status" do
583
+ value :STATUS_UNSPECIFIED, 0
584
+ value :HEALTHY, 1
585
+ value :PAUSED, 2
586
+ value :CANCELLED, 3
587
+ end
588
+ add_message "google.privacy.dlp.v2.Action" do
589
+ oneof :action do
590
+ optional :save_findings, :message, 1, "google.privacy.dlp.v2.Action.SaveFindings"
591
+ optional :pub_sub, :message, 2, "google.privacy.dlp.v2.Action.PublishToPubSub"
592
+ end
593
+ end
594
+ add_message "google.privacy.dlp.v2.Action.SaveFindings" do
595
+ optional :output_config, :message, 1, "google.privacy.dlp.v2.OutputStorageConfig"
596
+ end
597
+ add_message "google.privacy.dlp.v2.Action.PublishToPubSub" do
598
+ optional :topic, :string, 1
599
+ end
600
+ add_message "google.privacy.dlp.v2.CreateInspectTemplateRequest" do
601
+ optional :parent, :string, 1
602
+ optional :inspect_template, :message, 2, "google.privacy.dlp.v2.InspectTemplate"
603
+ optional :template_id, :string, 3
604
+ end
605
+ add_message "google.privacy.dlp.v2.UpdateInspectTemplateRequest" do
606
+ optional :name, :string, 1
607
+ optional :inspect_template, :message, 2, "google.privacy.dlp.v2.InspectTemplate"
608
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
609
+ end
610
+ add_message "google.privacy.dlp.v2.GetInspectTemplateRequest" do
611
+ optional :name, :string, 1
612
+ end
613
+ add_message "google.privacy.dlp.v2.ListInspectTemplatesRequest" do
614
+ optional :parent, :string, 1
615
+ optional :page_token, :string, 2
616
+ optional :page_size, :int32, 3
617
+ end
618
+ add_message "google.privacy.dlp.v2.ListInspectTemplatesResponse" do
619
+ repeated :inspect_templates, :message, 1, "google.privacy.dlp.v2.InspectTemplate"
620
+ optional :next_page_token, :string, 2
621
+ end
622
+ add_message "google.privacy.dlp.v2.DeleteInspectTemplateRequest" do
623
+ optional :name, :string, 1
624
+ end
625
+ add_message "google.privacy.dlp.v2.CreateJobTriggerRequest" do
626
+ optional :parent, :string, 1
627
+ optional :job_trigger, :message, 2, "google.privacy.dlp.v2.JobTrigger"
628
+ optional :trigger_id, :string, 3
629
+ end
630
+ add_message "google.privacy.dlp.v2.UpdateJobTriggerRequest" do
631
+ optional :name, :string, 1
632
+ optional :job_trigger, :message, 2, "google.privacy.dlp.v2.JobTrigger"
633
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
634
+ end
635
+ add_message "google.privacy.dlp.v2.GetJobTriggerRequest" do
636
+ optional :name, :string, 1
637
+ end
638
+ add_message "google.privacy.dlp.v2.CreateDlpJobRequest" do
639
+ optional :parent, :string, 1
640
+ optional :job_id, :string, 4
641
+ oneof :job do
642
+ optional :inspect_job, :message, 2, "google.privacy.dlp.v2.InspectJobConfig"
643
+ optional :risk_job, :message, 3, "google.privacy.dlp.v2.RiskAnalysisJobConfig"
644
+ end
645
+ end
646
+ add_message "google.privacy.dlp.v2.ListJobTriggersRequest" do
647
+ optional :parent, :string, 1
648
+ optional :page_token, :string, 2
649
+ optional :page_size, :int32, 3
650
+ optional :order_by, :string, 4
651
+ end
652
+ add_message "google.privacy.dlp.v2.ListJobTriggersResponse" do
653
+ repeated :job_triggers, :message, 1, "google.privacy.dlp.v2.JobTrigger"
654
+ optional :next_page_token, :string, 2
655
+ end
656
+ add_message "google.privacy.dlp.v2.DeleteJobTriggerRequest" do
657
+ optional :name, :string, 1
658
+ end
659
+ add_message "google.privacy.dlp.v2.InspectJobConfig" do
660
+ optional :storage_config, :message, 1, "google.privacy.dlp.v2.StorageConfig"
661
+ optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
662
+ optional :inspect_template_name, :string, 3
663
+ repeated :actions, :message, 4, "google.privacy.dlp.v2.Action"
664
+ end
665
+ add_message "google.privacy.dlp.v2.DlpJob" do
666
+ optional :name, :string, 1
667
+ optional :type, :enum, 2, "google.privacy.dlp.v2.DlpJobType"
668
+ optional :state, :enum, 3, "google.privacy.dlp.v2.DlpJob.JobState"
669
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
670
+ optional :start_time, :message, 7, "google.protobuf.Timestamp"
671
+ optional :end_time, :message, 8, "google.protobuf.Timestamp"
672
+ optional :job_trigger_name, :string, 10
673
+ repeated :errors, :message, 11, "google.privacy.dlp.v2.Error"
674
+ oneof :details do
675
+ optional :risk_details, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails"
676
+ optional :inspect_details, :message, 5, "google.privacy.dlp.v2.InspectDataSourceDetails"
677
+ end
678
+ end
679
+ add_enum "google.privacy.dlp.v2.DlpJob.JobState" do
680
+ value :JOB_STATE_UNSPECIFIED, 0
681
+ value :PENDING, 1
682
+ value :RUNNING, 2
683
+ value :DONE, 3
684
+ value :CANCELED, 4
685
+ value :FAILED, 5
686
+ end
687
+ add_message "google.privacy.dlp.v2.GetDlpJobRequest" do
688
+ optional :name, :string, 1
689
+ end
690
+ add_message "google.privacy.dlp.v2.ListDlpJobsRequest" do
691
+ optional :parent, :string, 4
692
+ optional :filter, :string, 1
693
+ optional :page_size, :int32, 2
694
+ optional :page_token, :string, 3
695
+ optional :type, :enum, 5, "google.privacy.dlp.v2.DlpJobType"
696
+ end
697
+ add_message "google.privacy.dlp.v2.ListDlpJobsResponse" do
698
+ repeated :jobs, :message, 1, "google.privacy.dlp.v2.DlpJob"
699
+ optional :next_page_token, :string, 2
700
+ end
701
+ add_message "google.privacy.dlp.v2.CancelDlpJobRequest" do
702
+ optional :name, :string, 1
703
+ end
704
+ add_message "google.privacy.dlp.v2.DeleteDlpJobRequest" do
705
+ optional :name, :string, 1
706
+ end
707
+ add_message "google.privacy.dlp.v2.CreateDeidentifyTemplateRequest" do
708
+ optional :parent, :string, 1
709
+ optional :deidentify_template, :message, 2, "google.privacy.dlp.v2.DeidentifyTemplate"
710
+ optional :template_id, :string, 3
711
+ end
712
+ add_message "google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest" do
713
+ optional :name, :string, 1
714
+ optional :deidentify_template, :message, 2, "google.privacy.dlp.v2.DeidentifyTemplate"
715
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
716
+ end
717
+ add_message "google.privacy.dlp.v2.GetDeidentifyTemplateRequest" do
718
+ optional :name, :string, 1
719
+ end
720
+ add_message "google.privacy.dlp.v2.ListDeidentifyTemplatesRequest" do
721
+ optional :parent, :string, 1
722
+ optional :page_token, :string, 2
723
+ optional :page_size, :int32, 3
724
+ end
725
+ add_message "google.privacy.dlp.v2.ListDeidentifyTemplatesResponse" do
726
+ repeated :deidentify_templates, :message, 1, "google.privacy.dlp.v2.DeidentifyTemplate"
727
+ optional :next_page_token, :string, 2
728
+ end
729
+ add_message "google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest" do
730
+ optional :name, :string, 1
731
+ end
732
+ add_enum "google.privacy.dlp.v2.ContentOption" do
733
+ value :CONTENT_UNSPECIFIED, 0
734
+ value :CONTENT_TEXT, 1
735
+ value :CONTENT_IMAGE, 2
736
+ end
737
+ add_enum "google.privacy.dlp.v2.InfoTypeSupportedBy" do
738
+ value :ENUM_TYPE_UNSPECIFIED, 0
739
+ value :INSPECT, 1
740
+ value :RISK_ANALYSIS, 2
741
+ end
742
+ add_enum "google.privacy.dlp.v2.RelationalOperator" do
743
+ value :RELATIONAL_OPERATOR_UNSPECIFIED, 0
744
+ value :EQUAL_TO, 1
745
+ value :NOT_EQUAL_TO, 2
746
+ value :GREATER_THAN, 3
747
+ value :LESS_THAN, 4
748
+ value :GREATER_THAN_OR_EQUALS, 5
749
+ value :LESS_THAN_OR_EQUALS, 6
750
+ value :EXISTS, 7
751
+ end
752
+ add_enum "google.privacy.dlp.v2.DlpJobType" do
753
+ value :DLP_JOB_TYPE_UNSPECIFIED, 0
754
+ value :INSPECT_JOB, 1
755
+ value :RISK_ANALYSIS_JOB, 2
756
+ end
757
+ end
758
+
759
+ module Google
760
+ module Privacy
761
+ module Dlp
762
+ module V2
763
+ InspectConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectConfig").msgclass
764
+ InspectConfig::FindingLimits = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectConfig.FindingLimits").msgclass
765
+ InspectConfig::FindingLimits::InfoTypeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit").msgclass
766
+ ByteContentItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ByteContentItem").msgclass
767
+ ByteContentItem::BytesType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ByteContentItem.BytesType").enummodule
768
+ ContentItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentItem").msgclass
769
+ Table = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Table").msgclass
770
+ Table::Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Table.Row").msgclass
771
+ InspectResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectResult").msgclass
772
+ Finding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Finding").msgclass
773
+ Location = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Location").msgclass
774
+ ContentLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentLocation").msgclass
775
+ DocumentLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DocumentLocation").msgclass
776
+ RecordLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordLocation").msgclass
777
+ TableLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableLocation").msgclass
778
+ Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Range").msgclass
779
+ ImageLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ImageLocation").msgclass
780
+ BoundingBox = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BoundingBox").msgclass
781
+ RedactImageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RedactImageRequest").msgclass
782
+ RedactImageRequest::ImageRedactionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig").msgclass
783
+ Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Color").msgclass
784
+ RedactImageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RedactImageResponse").msgclass
785
+ DeidentifyContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyContentRequest").msgclass
786
+ DeidentifyContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyContentResponse").msgclass
787
+ ReidentifyContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReidentifyContentRequest").msgclass
788
+ ReidentifyContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReidentifyContentResponse").msgclass
789
+ InspectContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectContentRequest").msgclass
790
+ InspectContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectContentResponse").msgclass
791
+ OutputStorageConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.OutputStorageConfig").msgclass
792
+ OutputStorageConfig::OutputSchema = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.OutputStorageConfig.OutputSchema").enummodule
793
+ InfoTypeStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeStats").msgclass
794
+ InspectDataSourceDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails").msgclass
795
+ InspectDataSourceDetails::RequestedOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions").msgclass
796
+ InspectDataSourceDetails::Result = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails.Result").msgclass
797
+ InfoTypeDescription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeDescription").msgclass
798
+ ListInfoTypesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInfoTypesRequest").msgclass
799
+ ListInfoTypesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInfoTypesResponse").msgclass
800
+ RiskAnalysisJobConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RiskAnalysisJobConfig").msgclass
801
+ PrivacyMetric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric").msgclass
802
+ PrivacyMetric::NumericalStatsConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfig").msgclass
803
+ PrivacyMetric::CategoricalStatsConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfig").msgclass
804
+ PrivacyMetric::KAnonymityConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfig").msgclass
805
+ PrivacyMetric::LDiversityConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.LDiversityConfig").msgclass
806
+ PrivacyMetric::KMapEstimationConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig").msgclass
807
+ PrivacyMetric::KMapEstimationConfig::TaggedField = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedField").msgclass
808
+ PrivacyMetric::KMapEstimationConfig::AuxiliaryTable = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable").msgclass
809
+ PrivacyMetric::KMapEstimationConfig::AuxiliaryTable::QuasiIdField = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdField").msgclass
810
+ AnalyzeDataSourceRiskDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails").msgclass
811
+ AnalyzeDataSourceRiskDetails::NumericalStatsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult").msgclass
812
+ AnalyzeDataSourceRiskDetails::CategoricalStatsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult").msgclass
813
+ AnalyzeDataSourceRiskDetails::CategoricalStatsResult::CategoricalStatsHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket").msgclass
814
+ AnalyzeDataSourceRiskDetails::KAnonymityResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult").msgclass
815
+ AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityEquivalenceClass = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass").msgclass
816
+ AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket").msgclass
817
+ AnalyzeDataSourceRiskDetails::LDiversityResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult").msgclass
818
+ AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityEquivalenceClass = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass").msgclass
819
+ AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket").msgclass
820
+ AnalyzeDataSourceRiskDetails::KMapEstimationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult").msgclass
821
+ AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationQuasiIdValues = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues").msgclass
822
+ AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket").msgclass
823
+ ValueFrequency = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ValueFrequency").msgclass
824
+ Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Value").msgclass
825
+ QuoteInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.QuoteInfo").msgclass
826
+ DateTime = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DateTime").msgclass
827
+ DateTime::TimeZone = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DateTime.TimeZone").msgclass
828
+ DeidentifyConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyConfig").msgclass
829
+ PrimitiveTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrimitiveTransformation").msgclass
830
+ TimePartConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TimePartConfig").msgclass
831
+ TimePartConfig::TimePart = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TimePartConfig.TimePart").enummodule
832
+ CryptoHashConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoHashConfig").msgclass
833
+ ReplaceValueConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReplaceValueConfig").msgclass
834
+ ReplaceWithInfoTypeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ReplaceWithInfoTypeConfig").msgclass
835
+ RedactConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RedactConfig").msgclass
836
+ CharsToIgnore = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CharsToIgnore").msgclass
837
+ CharsToIgnore::CommonCharsToIgnore = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore").enummodule
838
+ CharacterMaskConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CharacterMaskConfig").msgclass
839
+ FixedSizeBucketingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.FixedSizeBucketingConfig").msgclass
840
+ BucketingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BucketingConfig").msgclass
841
+ BucketingConfig::Bucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BucketingConfig.Bucket").msgclass
842
+ CryptoReplaceFfxFpeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig").msgclass
843
+ CryptoReplaceFfxFpeConfig::FfxCommonNativeAlphabet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet").enummodule
844
+ CryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CryptoKey").msgclass
845
+ TransientCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransientCryptoKey").msgclass
846
+ UnwrappedCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UnwrappedCryptoKey").msgclass
847
+ KmsWrappedCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.KmsWrappedCryptoKey").msgclass
848
+ DateShiftConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DateShiftConfig").msgclass
849
+ InfoTypeTransformations = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeTransformations").msgclass
850
+ InfoTypeTransformations::InfoTypeTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation").msgclass
851
+ FieldTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.FieldTransformation").msgclass
852
+ RecordTransformations = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordTransformations").msgclass
853
+ RecordSuppression = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordSuppression").msgclass
854
+ RecordCondition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordCondition").msgclass
855
+ RecordCondition::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordCondition.Condition").msgclass
856
+ RecordCondition::Conditions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordCondition.Conditions").msgclass
857
+ RecordCondition::Expressions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordCondition.Expressions").msgclass
858
+ RecordCondition::Expressions::LogicalOperator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator").enummodule
859
+ TransformationOverview = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationOverview").msgclass
860
+ TransformationSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationSummary").msgclass
861
+ TransformationSummary::SummaryResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationSummary.SummaryResult").msgclass
862
+ TransformationSummary::TransformationResultCode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationSummary.TransformationResultCode").enummodule
863
+ Schedule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Schedule").msgclass
864
+ InspectTemplate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectTemplate").msgclass
865
+ DeidentifyTemplate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyTemplate").msgclass
866
+ Error = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Error").msgclass
867
+ JobTrigger = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.JobTrigger").msgclass
868
+ JobTrigger::Trigger = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.JobTrigger.Trigger").msgclass
869
+ JobTrigger::Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.JobTrigger.Status").enummodule
870
+ Action = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action").msgclass
871
+ Action::SaveFindings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.SaveFindings").msgclass
872
+ Action::PublishToPubSub = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.PublishToPubSub").msgclass
873
+ CreateInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateInspectTemplateRequest").msgclass
874
+ UpdateInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UpdateInspectTemplateRequest").msgclass
875
+ GetInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetInspectTemplateRequest").msgclass
876
+ ListInspectTemplatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInspectTemplatesRequest").msgclass
877
+ ListInspectTemplatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInspectTemplatesResponse").msgclass
878
+ DeleteInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteInspectTemplateRequest").msgclass
879
+ CreateJobTriggerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateJobTriggerRequest").msgclass
880
+ UpdateJobTriggerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UpdateJobTriggerRequest").msgclass
881
+ GetJobTriggerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetJobTriggerRequest").msgclass
882
+ CreateDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateDlpJobRequest").msgclass
883
+ ListJobTriggersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListJobTriggersRequest").msgclass
884
+ ListJobTriggersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListJobTriggersResponse").msgclass
885
+ DeleteJobTriggerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteJobTriggerRequest").msgclass
886
+ InspectJobConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectJobConfig").msgclass
887
+ DlpJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJob").msgclass
888
+ DlpJob::JobState = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJob.JobState").enummodule
889
+ GetDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetDlpJobRequest").msgclass
890
+ ListDlpJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDlpJobsRequest").msgclass
891
+ ListDlpJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDlpJobsResponse").msgclass
892
+ CancelDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CancelDlpJobRequest").msgclass
893
+ DeleteDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteDlpJobRequest").msgclass
894
+ CreateDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateDeidentifyTemplateRequest").msgclass
895
+ UpdateDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest").msgclass
896
+ GetDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetDeidentifyTemplateRequest").msgclass
897
+ ListDeidentifyTemplatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDeidentifyTemplatesRequest").msgclass
898
+ ListDeidentifyTemplatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDeidentifyTemplatesResponse").msgclass
899
+ DeleteDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest").msgclass
900
+ ContentOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentOption").enummodule
901
+ InfoTypeSupportedBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeSupportedBy").enummodule
902
+ RelationalOperator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RelationalOperator").enummodule
903
+ DlpJobType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJobType").enummodule
904
+ end
905
+ end
906
+ end
907
+ end