google-cloud-dlp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,83 @@
1
+ # Copyright 2017 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 2017 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 2017 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,71 @@
1
+ # Copyright 2017 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
+ # The Google Data Loss Prevention API provides methods for detection of
24
+ # privacy-sensitive fragments in text, images, and Google Cloud Platform
25
+ # storage repositories.
26
+ # - [Product Documentation][]
27
+ #
28
+ # ## Quick Start
29
+ # In order to use this library, you first need to go through the following
30
+ # steps:
31
+ #
32
+ # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
33
+ # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
34
+ # 3. [Enable the DLP API.](https://console.cloud.google.com/apis/api/dlp)
35
+ # 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
36
+ #
37
+ # ### Installation
38
+ # ```
39
+ # $ gem install google-cloud-dlp
40
+ # ```
41
+ #
42
+ # ### Preview
43
+ # #### DlpServiceClient
44
+ # ```rb
45
+ # require "google/cloud/dlp"
46
+ #
47
+ # dlp_service_client = Google::Cloud::Dlp.new
48
+ # min_likelihood = :POSSIBLE
49
+ # inspect_config = { min_likelihood: min_likelihood }
50
+ # type = "text/plain"
51
+ # value = "my phone number is 215-512-1212"
52
+ # items_element = { type: type, value: value }
53
+ # items = [items_element]
54
+ # response = dlp_service_client.inspect_content(inspect_config, items)
55
+ # ```
56
+ #
57
+ # ### Next Steps
58
+ # - Read the [DLP API Product documentation][Product Documentation]
59
+ # to learn more about the product and see How-to Guides.
60
+ # - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
61
+ # to see the full list of Cloud APIs that we cover.
62
+ #
63
+ # [Product Documentation]: https://cloud.google.com/dlp
64
+ #
65
+ #
66
+ module Dlp
67
+ module V2beta1
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,562 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/privacy/dlp/v2beta1/dlp.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/longrunning/operations_pb'
8
+ require 'google/privacy/dlp/v2beta1/storage_pb'
9
+ require 'google/protobuf/empty_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+ require 'google/type/date_pb'
12
+ require 'google/type/timeofday_pb'
13
+ Google::Protobuf::DescriptorPool.generated_pool.build do
14
+ add_message "google.privacy.dlp.v2beta1.InspectConfig" do
15
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
16
+ optional :min_likelihood, :enum, 2, "google.privacy.dlp.v2beta1.Likelihood"
17
+ optional :max_findings, :int32, 3
18
+ optional :include_quote, :bool, 4
19
+ optional :exclude_types, :bool, 6
20
+ repeated :info_type_limits, :message, 7, "google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit"
21
+ repeated :custom_info_types, :message, 8, "google.privacy.dlp.v2beta1.CustomInfoType"
22
+ end
23
+ add_message "google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit" do
24
+ optional :info_type, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
25
+ optional :max_findings, :int32, 2
26
+ end
27
+ add_message "google.privacy.dlp.v2beta1.OperationConfig" do
28
+ optional :max_item_findings, :int64, 1
29
+ end
30
+ add_message "google.privacy.dlp.v2beta1.ContentItem" do
31
+ optional :type, :string, 1
32
+ oneof :data_item do
33
+ optional :data, :bytes, 2
34
+ optional :value, :string, 3
35
+ optional :table, :message, 4, "google.privacy.dlp.v2beta1.Table"
36
+ end
37
+ end
38
+ add_message "google.privacy.dlp.v2beta1.Table" do
39
+ repeated :headers, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
40
+ repeated :rows, :message, 2, "google.privacy.dlp.v2beta1.Table.Row"
41
+ end
42
+ add_message "google.privacy.dlp.v2beta1.Table.Row" do
43
+ repeated :values, :message, 1, "google.privacy.dlp.v2beta1.Value"
44
+ end
45
+ add_message "google.privacy.dlp.v2beta1.InspectResult" do
46
+ repeated :findings, :message, 1, "google.privacy.dlp.v2beta1.Finding"
47
+ optional :findings_truncated, :bool, 2
48
+ end
49
+ add_message "google.privacy.dlp.v2beta1.Finding" do
50
+ optional :quote, :string, 1
51
+ optional :info_type, :message, 2, "google.privacy.dlp.v2beta1.InfoType"
52
+ optional :likelihood, :enum, 3, "google.privacy.dlp.v2beta1.Likelihood"
53
+ optional :location, :message, 4, "google.privacy.dlp.v2beta1.Location"
54
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
55
+ end
56
+ add_message "google.privacy.dlp.v2beta1.Location" do
57
+ optional :byte_range, :message, 1, "google.privacy.dlp.v2beta1.Range"
58
+ optional :codepoint_range, :message, 2, "google.privacy.dlp.v2beta1.Range"
59
+ repeated :image_boxes, :message, 3, "google.privacy.dlp.v2beta1.ImageLocation"
60
+ optional :record_key, :message, 4, "google.privacy.dlp.v2beta1.RecordKey"
61
+ optional :field_id, :message, 5, "google.privacy.dlp.v2beta1.FieldId"
62
+ optional :table_location, :message, 6, "google.privacy.dlp.v2beta1.TableLocation"
63
+ end
64
+ add_message "google.privacy.dlp.v2beta1.TableLocation" do
65
+ optional :row_index, :int64, 1
66
+ end
67
+ add_message "google.privacy.dlp.v2beta1.Range" do
68
+ optional :start, :int64, 1
69
+ optional :end, :int64, 2
70
+ end
71
+ add_message "google.privacy.dlp.v2beta1.ImageLocation" do
72
+ optional :top, :int32, 1
73
+ optional :left, :int32, 2
74
+ optional :width, :int32, 3
75
+ optional :height, :int32, 4
76
+ end
77
+ add_message "google.privacy.dlp.v2beta1.RedactContentRequest" do
78
+ optional :inspect_config, :message, 1, "google.privacy.dlp.v2beta1.InspectConfig"
79
+ repeated :items, :message, 2, "google.privacy.dlp.v2beta1.ContentItem"
80
+ repeated :replace_configs, :message, 3, "google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig"
81
+ repeated :image_redaction_configs, :message, 4, "google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig"
82
+ end
83
+ add_message "google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig" do
84
+ optional :info_type, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
85
+ optional :replace_with, :string, 2
86
+ end
87
+ add_message "google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig" do
88
+ optional :redaction_color, :message, 3, "google.privacy.dlp.v2beta1.Color"
89
+ oneof :target do
90
+ optional :info_type, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
91
+ optional :redact_all_text, :bool, 2
92
+ end
93
+ end
94
+ add_message "google.privacy.dlp.v2beta1.Color" do
95
+ optional :red, :float, 1
96
+ optional :green, :float, 2
97
+ optional :blue, :float, 3
98
+ end
99
+ add_message "google.privacy.dlp.v2beta1.RedactContentResponse" do
100
+ repeated :items, :message, 1, "google.privacy.dlp.v2beta1.ContentItem"
101
+ end
102
+ add_message "google.privacy.dlp.v2beta1.DeidentifyContentRequest" do
103
+ optional :deidentify_config, :message, 1, "google.privacy.dlp.v2beta1.DeidentifyConfig"
104
+ optional :inspect_config, :message, 2, "google.privacy.dlp.v2beta1.InspectConfig"
105
+ repeated :items, :message, 3, "google.privacy.dlp.v2beta1.ContentItem"
106
+ end
107
+ add_message "google.privacy.dlp.v2beta1.DeidentifyContentResponse" do
108
+ repeated :items, :message, 1, "google.privacy.dlp.v2beta1.ContentItem"
109
+ repeated :summaries, :message, 2, "google.privacy.dlp.v2beta1.DeidentificationSummary"
110
+ end
111
+ add_message "google.privacy.dlp.v2beta1.InspectContentRequest" do
112
+ optional :inspect_config, :message, 1, "google.privacy.dlp.v2beta1.InspectConfig"
113
+ repeated :items, :message, 2, "google.privacy.dlp.v2beta1.ContentItem"
114
+ end
115
+ add_message "google.privacy.dlp.v2beta1.InspectContentResponse" do
116
+ repeated :results, :message, 1, "google.privacy.dlp.v2beta1.InspectResult"
117
+ end
118
+ add_message "google.privacy.dlp.v2beta1.CreateInspectOperationRequest" do
119
+ optional :inspect_config, :message, 1, "google.privacy.dlp.v2beta1.InspectConfig"
120
+ optional :storage_config, :message, 2, "google.privacy.dlp.v2beta1.StorageConfig"
121
+ optional :output_config, :message, 3, "google.privacy.dlp.v2beta1.OutputStorageConfig"
122
+ optional :operation_config, :message, 5, "google.privacy.dlp.v2beta1.OperationConfig"
123
+ end
124
+ add_message "google.privacy.dlp.v2beta1.OutputStorageConfig" do
125
+ oneof :type do
126
+ optional :table, :message, 1, "google.privacy.dlp.v2beta1.BigQueryTable"
127
+ optional :storage_path, :message, 2, "google.privacy.dlp.v2beta1.CloudStoragePath"
128
+ end
129
+ end
130
+ add_message "google.privacy.dlp.v2beta1.InfoTypeStatistics" do
131
+ optional :info_type, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
132
+ optional :count, :int64, 2
133
+ end
134
+ add_message "google.privacy.dlp.v2beta1.InspectOperationMetadata" do
135
+ optional :processed_bytes, :int64, 1
136
+ optional :total_estimated_bytes, :int64, 4
137
+ repeated :info_type_stats, :message, 2, "google.privacy.dlp.v2beta1.InfoTypeStatistics"
138
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
139
+ optional :request_inspect_config, :message, 5, "google.privacy.dlp.v2beta1.InspectConfig"
140
+ optional :request_storage_config, :message, 6, "google.privacy.dlp.v2beta1.StorageConfig"
141
+ optional :request_output_config, :message, 7, "google.privacy.dlp.v2beta1.OutputStorageConfig"
142
+ end
143
+ add_message "google.privacy.dlp.v2beta1.InspectOperationResult" do
144
+ optional :name, :string, 1
145
+ end
146
+ add_message "google.privacy.dlp.v2beta1.ListInspectFindingsRequest" do
147
+ optional :name, :string, 1
148
+ optional :page_size, :int32, 2
149
+ optional :page_token, :string, 3
150
+ optional :filter, :string, 4
151
+ end
152
+ add_message "google.privacy.dlp.v2beta1.ListInspectFindingsResponse" do
153
+ optional :result, :message, 1, "google.privacy.dlp.v2beta1.InspectResult"
154
+ optional :next_page_token, :string, 2
155
+ end
156
+ add_message "google.privacy.dlp.v2beta1.InfoTypeDescription" do
157
+ optional :name, :string, 1
158
+ optional :display_name, :string, 2
159
+ repeated :categories, :message, 3, "google.privacy.dlp.v2beta1.CategoryDescription"
160
+ end
161
+ add_message "google.privacy.dlp.v2beta1.ListInfoTypesRequest" do
162
+ optional :category, :string, 1
163
+ optional :language_code, :string, 2
164
+ end
165
+ add_message "google.privacy.dlp.v2beta1.ListInfoTypesResponse" do
166
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2beta1.InfoTypeDescription"
167
+ end
168
+ add_message "google.privacy.dlp.v2beta1.CategoryDescription" do
169
+ optional :name, :string, 1
170
+ optional :display_name, :string, 2
171
+ end
172
+ add_message "google.privacy.dlp.v2beta1.ListRootCategoriesRequest" do
173
+ optional :language_code, :string, 1
174
+ end
175
+ add_message "google.privacy.dlp.v2beta1.ListRootCategoriesResponse" do
176
+ repeated :categories, :message, 1, "google.privacy.dlp.v2beta1.CategoryDescription"
177
+ end
178
+ add_message "google.privacy.dlp.v2beta1.AnalyzeDataSourceRiskRequest" do
179
+ optional :privacy_metric, :message, 1, "google.privacy.dlp.v2beta1.PrivacyMetric"
180
+ optional :source_table, :message, 3, "google.privacy.dlp.v2beta1.BigQueryTable"
181
+ end
182
+ add_message "google.privacy.dlp.v2beta1.PrivacyMetric" do
183
+ oneof :type do
184
+ optional :numerical_stats_config, :message, 1, "google.privacy.dlp.v2beta1.PrivacyMetric.NumericalStatsConfig"
185
+ optional :categorical_stats_config, :message, 2, "google.privacy.dlp.v2beta1.PrivacyMetric.CategoricalStatsConfig"
186
+ optional :k_anonymity_config, :message, 3, "google.privacy.dlp.v2beta1.PrivacyMetric.KAnonymityConfig"
187
+ optional :l_diversity_config, :message, 4, "google.privacy.dlp.v2beta1.PrivacyMetric.LDiversityConfig"
188
+ end
189
+ end
190
+ add_message "google.privacy.dlp.v2beta1.PrivacyMetric.NumericalStatsConfig" do
191
+ optional :field, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
192
+ end
193
+ add_message "google.privacy.dlp.v2beta1.PrivacyMetric.CategoricalStatsConfig" do
194
+ optional :field, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
195
+ end
196
+ add_message "google.privacy.dlp.v2beta1.PrivacyMetric.KAnonymityConfig" do
197
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
198
+ optional :entity_id, :message, 2, "google.privacy.dlp.v2beta1.EntityId"
199
+ end
200
+ add_message "google.privacy.dlp.v2beta1.PrivacyMetric.LDiversityConfig" do
201
+ repeated :quasi_ids, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
202
+ optional :sensitive_attribute, :message, 2, "google.privacy.dlp.v2beta1.FieldId"
203
+ end
204
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationMetadata" do
205
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
206
+ optional :requested_privacy_metric, :message, 2, "google.privacy.dlp.v2beta1.PrivacyMetric"
207
+ optional :requested_source_table, :message, 3, "google.privacy.dlp.v2beta1.BigQueryTable"
208
+ end
209
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult" do
210
+ oneof :result do
211
+ optional :numerical_stats_result, :message, 3, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult"
212
+ optional :categorical_stats_result, :message, 4, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult"
213
+ optional :k_anonymity_result, :message, 5, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult"
214
+ optional :l_diversity_result, :message, 6, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult"
215
+ end
216
+ end
217
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult" do
218
+ optional :min_value, :message, 1, "google.privacy.dlp.v2beta1.Value"
219
+ optional :max_value, :message, 2, "google.privacy.dlp.v2beta1.Value"
220
+ repeated :quantile_values, :message, 4, "google.privacy.dlp.v2beta1.Value"
221
+ end
222
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult" do
223
+ repeated :value_frequency_histogram_buckets, :message, 5, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket"
224
+ end
225
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket" do
226
+ optional :value_frequency_lower_bound, :int64, 1
227
+ optional :value_frequency_upper_bound, :int64, 2
228
+ optional :bucket_size, :int64, 3
229
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2beta1.ValueFrequency"
230
+ end
231
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult" do
232
+ repeated :equivalence_class_histogram_buckets, :message, 5, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket"
233
+ end
234
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass" do
235
+ repeated :quasi_ids_values, :message, 1, "google.privacy.dlp.v2beta1.Value"
236
+ optional :equivalence_class_size, :int64, 2
237
+ end
238
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket" do
239
+ optional :equivalence_class_size_lower_bound, :int64, 1
240
+ optional :equivalence_class_size_upper_bound, :int64, 2
241
+ optional :bucket_size, :int64, 3
242
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass"
243
+ end
244
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult" do
245
+ repeated :sensitive_value_frequency_histogram_buckets, :message, 5, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket"
246
+ end
247
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass" do
248
+ repeated :quasi_ids_values, :message, 1, "google.privacy.dlp.v2beta1.Value"
249
+ optional :equivalence_class_size, :int64, 2
250
+ optional :num_distinct_sensitive_values, :int64, 3
251
+ repeated :top_sensitive_values, :message, 4, "google.privacy.dlp.v2beta1.ValueFrequency"
252
+ end
253
+ add_message "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket" do
254
+ optional :sensitive_value_frequency_lower_bound, :int64, 1
255
+ optional :sensitive_value_frequency_upper_bound, :int64, 2
256
+ optional :bucket_size, :int64, 3
257
+ repeated :bucket_values, :message, 4, "google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass"
258
+ end
259
+ add_message "google.privacy.dlp.v2beta1.ValueFrequency" do
260
+ optional :value, :message, 1, "google.privacy.dlp.v2beta1.Value"
261
+ optional :count, :int64, 2
262
+ end
263
+ add_message "google.privacy.dlp.v2beta1.Value" do
264
+ oneof :type do
265
+ optional :integer_value, :int64, 1
266
+ optional :float_value, :double, 2
267
+ optional :string_value, :string, 3
268
+ optional :boolean_value, :bool, 4
269
+ optional :timestamp_value, :message, 5, "google.protobuf.Timestamp"
270
+ optional :time_value, :message, 6, "google.type.TimeOfDay"
271
+ optional :date_value, :message, 7, "google.type.Date"
272
+ end
273
+ end
274
+ add_message "google.privacy.dlp.v2beta1.DeidentifyConfig" do
275
+ oneof :transformation do
276
+ optional :info_type_transformations, :message, 1, "google.privacy.dlp.v2beta1.InfoTypeTransformations"
277
+ optional :record_transformations, :message, 2, "google.privacy.dlp.v2beta1.RecordTransformations"
278
+ end
279
+ end
280
+ add_message "google.privacy.dlp.v2beta1.PrimitiveTransformation" do
281
+ oneof :transformation do
282
+ optional :replace_config, :message, 1, "google.privacy.dlp.v2beta1.ReplaceValueConfig"
283
+ optional :redact_config, :message, 2, "google.privacy.dlp.v2beta1.RedactConfig"
284
+ optional :character_mask_config, :message, 3, "google.privacy.dlp.v2beta1.CharacterMaskConfig"
285
+ optional :crypto_replace_ffx_fpe_config, :message, 4, "google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig"
286
+ optional :fixed_size_bucketing_config, :message, 5, "google.privacy.dlp.v2beta1.FixedSizeBucketingConfig"
287
+ optional :bucketing_config, :message, 6, "google.privacy.dlp.v2beta1.BucketingConfig"
288
+ optional :replace_with_info_type_config, :message, 7, "google.privacy.dlp.v2beta1.ReplaceWithInfoTypeConfig"
289
+ optional :time_part_config, :message, 8, "google.privacy.dlp.v2beta1.TimePartConfig"
290
+ optional :crypto_hash_config, :message, 9, "google.privacy.dlp.v2beta1.CryptoHashConfig"
291
+ end
292
+ end
293
+ add_message "google.privacy.dlp.v2beta1.TimePartConfig" do
294
+ optional :part_to_extract, :enum, 1, "google.privacy.dlp.v2beta1.TimePartConfig.TimePart"
295
+ end
296
+ add_enum "google.privacy.dlp.v2beta1.TimePartConfig.TimePart" do
297
+ value :TIME_PART_UNSPECIFIED, 0
298
+ value :YEAR, 1
299
+ value :MONTH, 2
300
+ value :DAY_OF_MONTH, 3
301
+ value :DAY_OF_WEEK, 4
302
+ value :WEEK_OF_YEAR, 5
303
+ value :HOUR_OF_DAY, 6
304
+ end
305
+ add_message "google.privacy.dlp.v2beta1.CryptoHashConfig" do
306
+ optional :crypto_key, :message, 1, "google.privacy.dlp.v2beta1.CryptoKey"
307
+ end
308
+ add_message "google.privacy.dlp.v2beta1.ReplaceValueConfig" do
309
+ optional :new_value, :message, 1, "google.privacy.dlp.v2beta1.Value"
310
+ end
311
+ add_message "google.privacy.dlp.v2beta1.ReplaceWithInfoTypeConfig" do
312
+ end
313
+ add_message "google.privacy.dlp.v2beta1.RedactConfig" do
314
+ end
315
+ add_message "google.privacy.dlp.v2beta1.CharsToIgnore" do
316
+ oneof :characters do
317
+ optional :characters_to_skip, :string, 1
318
+ optional :common_characters_to_ignore, :enum, 2, "google.privacy.dlp.v2beta1.CharsToIgnore.CharacterGroup"
319
+ end
320
+ end
321
+ add_enum "google.privacy.dlp.v2beta1.CharsToIgnore.CharacterGroup" do
322
+ value :CHARACTER_GROUP_UNSPECIFIED, 0
323
+ value :NUMERIC, 1
324
+ value :ALPHA_UPPER_CASE, 2
325
+ value :ALPHA_LOWER_CASE, 3
326
+ value :PUNCTUATION, 4
327
+ value :WHITESPACE, 5
328
+ end
329
+ add_message "google.privacy.dlp.v2beta1.CharacterMaskConfig" do
330
+ optional :masking_character, :string, 1
331
+ optional :number_to_mask, :int32, 2
332
+ optional :reverse_order, :bool, 3
333
+ repeated :characters_to_ignore, :message, 4, "google.privacy.dlp.v2beta1.CharsToIgnore"
334
+ end
335
+ add_message "google.privacy.dlp.v2beta1.FixedSizeBucketingConfig" do
336
+ optional :lower_bound, :message, 1, "google.privacy.dlp.v2beta1.Value"
337
+ optional :upper_bound, :message, 2, "google.privacy.dlp.v2beta1.Value"
338
+ optional :bucket_size, :double, 3
339
+ end
340
+ add_message "google.privacy.dlp.v2beta1.BucketingConfig" do
341
+ repeated :buckets, :message, 1, "google.privacy.dlp.v2beta1.BucketingConfig.Bucket"
342
+ end
343
+ add_message "google.privacy.dlp.v2beta1.BucketingConfig.Bucket" do
344
+ optional :min, :message, 1, "google.privacy.dlp.v2beta1.Value"
345
+ optional :max, :message, 2, "google.privacy.dlp.v2beta1.Value"
346
+ optional :replacement_value, :message, 3, "google.privacy.dlp.v2beta1.Value"
347
+ end
348
+ add_message "google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig" do
349
+ optional :crypto_key, :message, 1, "google.privacy.dlp.v2beta1.CryptoKey"
350
+ optional :context, :message, 2, "google.privacy.dlp.v2beta1.FieldId"
351
+ oneof :alphabet do
352
+ optional :common_alphabet, :enum, 4, "google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet"
353
+ optional :custom_alphabet, :string, 5
354
+ optional :radix, :int32, 6
355
+ end
356
+ end
357
+ add_enum "google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet" do
358
+ value :FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED, 0
359
+ value :NUMERIC, 1
360
+ value :HEXADECIMAL, 2
361
+ value :UPPER_CASE_ALPHA_NUMERIC, 3
362
+ value :ALPHA_NUMERIC, 4
363
+ end
364
+ add_message "google.privacy.dlp.v2beta1.CryptoKey" do
365
+ oneof :source do
366
+ optional :transient, :message, 1, "google.privacy.dlp.v2beta1.TransientCryptoKey"
367
+ optional :unwrapped, :message, 2, "google.privacy.dlp.v2beta1.UnwrappedCryptoKey"
368
+ optional :kms_wrapped, :message, 3, "google.privacy.dlp.v2beta1.KmsWrappedCryptoKey"
369
+ end
370
+ end
371
+ add_message "google.privacy.dlp.v2beta1.TransientCryptoKey" do
372
+ optional :name, :string, 1
373
+ end
374
+ add_message "google.privacy.dlp.v2beta1.UnwrappedCryptoKey" do
375
+ optional :key, :bytes, 1
376
+ end
377
+ add_message "google.privacy.dlp.v2beta1.KmsWrappedCryptoKey" do
378
+ optional :wrapped_key, :bytes, 1
379
+ optional :crypto_key_name, :string, 2
380
+ end
381
+ add_message "google.privacy.dlp.v2beta1.InfoTypeTransformations" do
382
+ repeated :transformations, :message, 1, "google.privacy.dlp.v2beta1.InfoTypeTransformations.InfoTypeTransformation"
383
+ end
384
+ add_message "google.privacy.dlp.v2beta1.InfoTypeTransformations.InfoTypeTransformation" do
385
+ repeated :info_types, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
386
+ optional :primitive_transformation, :message, 2, "google.privacy.dlp.v2beta1.PrimitiveTransformation"
387
+ end
388
+ add_message "google.privacy.dlp.v2beta1.FieldTransformation" do
389
+ repeated :fields, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
390
+ optional :condition, :message, 3, "google.privacy.dlp.v2beta1.RecordCondition"
391
+ oneof :transformation do
392
+ optional :primitive_transformation, :message, 4, "google.privacy.dlp.v2beta1.PrimitiveTransformation"
393
+ optional :info_type_transformations, :message, 5, "google.privacy.dlp.v2beta1.InfoTypeTransformations"
394
+ end
395
+ end
396
+ add_message "google.privacy.dlp.v2beta1.RecordTransformations" do
397
+ repeated :field_transformations, :message, 1, "google.privacy.dlp.v2beta1.FieldTransformation"
398
+ repeated :record_suppressions, :message, 2, "google.privacy.dlp.v2beta1.RecordSuppression"
399
+ end
400
+ add_message "google.privacy.dlp.v2beta1.RecordSuppression" do
401
+ optional :condition, :message, 1, "google.privacy.dlp.v2beta1.RecordCondition"
402
+ end
403
+ add_message "google.privacy.dlp.v2beta1.RecordCondition" do
404
+ optional :expressions, :message, 3, "google.privacy.dlp.v2beta1.RecordCondition.Expressions"
405
+ end
406
+ add_message "google.privacy.dlp.v2beta1.RecordCondition.Condition" do
407
+ optional :field, :message, 1, "google.privacy.dlp.v2beta1.FieldId"
408
+ optional :operator, :enum, 3, "google.privacy.dlp.v2beta1.RelationalOperator"
409
+ optional :value, :message, 4, "google.privacy.dlp.v2beta1.Value"
410
+ end
411
+ add_message "google.privacy.dlp.v2beta1.RecordCondition.Conditions" do
412
+ repeated :conditions, :message, 1, "google.privacy.dlp.v2beta1.RecordCondition.Condition"
413
+ end
414
+ add_message "google.privacy.dlp.v2beta1.RecordCondition.Expressions" do
415
+ optional :logical_operator, :enum, 1, "google.privacy.dlp.v2beta1.RecordCondition.Expressions.LogicalOperator"
416
+ oneof :type do
417
+ optional :conditions, :message, 3, "google.privacy.dlp.v2beta1.RecordCondition.Conditions"
418
+ end
419
+ end
420
+ add_enum "google.privacy.dlp.v2beta1.RecordCondition.Expressions.LogicalOperator" do
421
+ value :LOGICAL_OPERATOR_UNSPECIFIED, 0
422
+ value :AND, 1
423
+ end
424
+ add_message "google.privacy.dlp.v2beta1.DeidentificationSummary" do
425
+ optional :transformed_bytes, :int64, 2
426
+ repeated :transformation_summaries, :message, 3, "google.privacy.dlp.v2beta1.TransformationSummary"
427
+ end
428
+ add_message "google.privacy.dlp.v2beta1.TransformationSummary" do
429
+ optional :info_type, :message, 1, "google.privacy.dlp.v2beta1.InfoType"
430
+ optional :field, :message, 2, "google.privacy.dlp.v2beta1.FieldId"
431
+ optional :transformation, :message, 3, "google.privacy.dlp.v2beta1.PrimitiveTransformation"
432
+ repeated :field_transformations, :message, 5, "google.privacy.dlp.v2beta1.FieldTransformation"
433
+ optional :record_suppress, :message, 6, "google.privacy.dlp.v2beta1.RecordSuppression"
434
+ repeated :results, :message, 4, "google.privacy.dlp.v2beta1.TransformationSummary.SummaryResult"
435
+ end
436
+ add_message "google.privacy.dlp.v2beta1.TransformationSummary.SummaryResult" do
437
+ optional :count, :int64, 1
438
+ optional :code, :enum, 2, "google.privacy.dlp.v2beta1.TransformationSummary.TransformationResultCode"
439
+ optional :details, :string, 3
440
+ end
441
+ add_enum "google.privacy.dlp.v2beta1.TransformationSummary.TransformationResultCode" do
442
+ value :TRANSFORMATION_RESULT_CODE_UNSPECIFIED, 0
443
+ value :SUCCESS, 1
444
+ value :ERROR, 2
445
+ end
446
+ add_enum "google.privacy.dlp.v2beta1.Likelihood" do
447
+ value :LIKELIHOOD_UNSPECIFIED, 0
448
+ value :VERY_UNLIKELY, 1
449
+ value :UNLIKELY, 2
450
+ value :POSSIBLE, 3
451
+ value :LIKELY, 4
452
+ value :VERY_LIKELY, 5
453
+ end
454
+ add_enum "google.privacy.dlp.v2beta1.RelationalOperator" do
455
+ value :RELATIONAL_OPERATOR_UNSPECIFIED, 0
456
+ value :EQUAL_TO, 1
457
+ value :NOT_EQUAL_TO, 2
458
+ value :GREATER_THAN, 3
459
+ value :LESS_THAN, 4
460
+ value :GREATER_THAN_OR_EQUALS, 5
461
+ value :LESS_THAN_OR_EQUALS, 6
462
+ value :EXISTS, 7
463
+ end
464
+ end
465
+
466
+ module Google
467
+ module Privacy
468
+ module Dlp
469
+ module V2beta1
470
+ InspectConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectConfig").msgclass
471
+ InspectConfig::InfoTypeLimit = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectConfig.InfoTypeLimit").msgclass
472
+ OperationConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.OperationConfig").msgclass
473
+ ContentItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ContentItem").msgclass
474
+ Table = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Table").msgclass
475
+ Table::Row = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Table.Row").msgclass
476
+ InspectResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectResult").msgclass
477
+ Finding = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Finding").msgclass
478
+ Location = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Location").msgclass
479
+ TableLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TableLocation").msgclass
480
+ Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Range").msgclass
481
+ ImageLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ImageLocation").msgclass
482
+ RedactContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RedactContentRequest").msgclass
483
+ RedactContentRequest::ReplaceConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RedactContentRequest.ReplaceConfig").msgclass
484
+ RedactContentRequest::ImageRedactionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RedactContentRequest.ImageRedactionConfig").msgclass
485
+ Color = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Color").msgclass
486
+ RedactContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RedactContentResponse").msgclass
487
+ DeidentifyContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.DeidentifyContentRequest").msgclass
488
+ DeidentifyContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.DeidentifyContentResponse").msgclass
489
+ InspectContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectContentRequest").msgclass
490
+ InspectContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectContentResponse").msgclass
491
+ CreateInspectOperationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CreateInspectOperationRequest").msgclass
492
+ OutputStorageConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.OutputStorageConfig").msgclass
493
+ InfoTypeStatistics = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InfoTypeStatistics").msgclass
494
+ InspectOperationMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectOperationMetadata").msgclass
495
+ InspectOperationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InspectOperationResult").msgclass
496
+ ListInspectFindingsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListInspectFindingsRequest").msgclass
497
+ ListInspectFindingsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListInspectFindingsResponse").msgclass
498
+ InfoTypeDescription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InfoTypeDescription").msgclass
499
+ ListInfoTypesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListInfoTypesRequest").msgclass
500
+ ListInfoTypesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListInfoTypesResponse").msgclass
501
+ CategoryDescription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CategoryDescription").msgclass
502
+ ListRootCategoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListRootCategoriesRequest").msgclass
503
+ ListRootCategoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ListRootCategoriesResponse").msgclass
504
+ AnalyzeDataSourceRiskRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.AnalyzeDataSourceRiskRequest").msgclass
505
+ PrivacyMetric = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrivacyMetric").msgclass
506
+ PrivacyMetric::NumericalStatsConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrivacyMetric.NumericalStatsConfig").msgclass
507
+ PrivacyMetric::CategoricalStatsConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrivacyMetric.CategoricalStatsConfig").msgclass
508
+ PrivacyMetric::KAnonymityConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrivacyMetric.KAnonymityConfig").msgclass
509
+ PrivacyMetric::LDiversityConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrivacyMetric.LDiversityConfig").msgclass
510
+ RiskAnalysisOperationMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationMetadata").msgclass
511
+ RiskAnalysisOperationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult").msgclass
512
+ RiskAnalysisOperationResult::NumericalStatsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.NumericalStatsResult").msgclass
513
+ RiskAnalysisOperationResult::CategoricalStatsResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult").msgclass
514
+ RiskAnalysisOperationResult::CategoricalStatsResult::CategoricalStatsHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.CategoricalStatsResult.CategoricalStatsHistogramBucket").msgclass
515
+ RiskAnalysisOperationResult::KAnonymityResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult").msgclass
516
+ RiskAnalysisOperationResult::KAnonymityResult::KAnonymityEquivalenceClass = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityEquivalenceClass").msgclass
517
+ RiskAnalysisOperationResult::KAnonymityResult::KAnonymityHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.KAnonymityResult.KAnonymityHistogramBucket").msgclass
518
+ RiskAnalysisOperationResult::LDiversityResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult").msgclass
519
+ RiskAnalysisOperationResult::LDiversityResult::LDiversityEquivalenceClass = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityEquivalenceClass").msgclass
520
+ RiskAnalysisOperationResult::LDiversityResult::LDiversityHistogramBucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RiskAnalysisOperationResult.LDiversityResult.LDiversityHistogramBucket").msgclass
521
+ ValueFrequency = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ValueFrequency").msgclass
522
+ Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Value").msgclass
523
+ DeidentifyConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.DeidentifyConfig").msgclass
524
+ PrimitiveTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.PrimitiveTransformation").msgclass
525
+ TimePartConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TimePartConfig").msgclass
526
+ TimePartConfig::TimePart = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TimePartConfig.TimePart").enummodule
527
+ CryptoHashConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CryptoHashConfig").msgclass
528
+ ReplaceValueConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ReplaceValueConfig").msgclass
529
+ ReplaceWithInfoTypeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.ReplaceWithInfoTypeConfig").msgclass
530
+ RedactConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RedactConfig").msgclass
531
+ CharsToIgnore = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CharsToIgnore").msgclass
532
+ CharsToIgnore::CharacterGroup = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CharsToIgnore.CharacterGroup").enummodule
533
+ CharacterMaskConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CharacterMaskConfig").msgclass
534
+ FixedSizeBucketingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.FixedSizeBucketingConfig").msgclass
535
+ BucketingConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.BucketingConfig").msgclass
536
+ BucketingConfig::Bucket = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.BucketingConfig.Bucket").msgclass
537
+ CryptoReplaceFfxFpeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig").msgclass
538
+ CryptoReplaceFfxFpeConfig::FfxCommonNativeAlphabet = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet").enummodule
539
+ CryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.CryptoKey").msgclass
540
+ TransientCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TransientCryptoKey").msgclass
541
+ UnwrappedCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.UnwrappedCryptoKey").msgclass
542
+ KmsWrappedCryptoKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.KmsWrappedCryptoKey").msgclass
543
+ InfoTypeTransformations = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InfoTypeTransformations").msgclass
544
+ InfoTypeTransformations::InfoTypeTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.InfoTypeTransformations.InfoTypeTransformation").msgclass
545
+ FieldTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.FieldTransformation").msgclass
546
+ RecordTransformations = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordTransformations").msgclass
547
+ RecordSuppression = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordSuppression").msgclass
548
+ RecordCondition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordCondition").msgclass
549
+ RecordCondition::Condition = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordCondition.Condition").msgclass
550
+ RecordCondition::Conditions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordCondition.Conditions").msgclass
551
+ RecordCondition::Expressions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordCondition.Expressions").msgclass
552
+ RecordCondition::Expressions::LogicalOperator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RecordCondition.Expressions.LogicalOperator").enummodule
553
+ DeidentificationSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.DeidentificationSummary").msgclass
554
+ TransformationSummary = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TransformationSummary").msgclass
555
+ TransformationSummary::SummaryResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TransformationSummary.SummaryResult").msgclass
556
+ TransformationSummary::TransformationResultCode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.TransformationSummary.TransformationResultCode").enummodule
557
+ Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.Likelihood").enummodule
558
+ RelationalOperator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2beta1.RelationalOperator").enummodule
559
+ end
560
+ end
561
+ end
562
+ end