google-cloud-dlp-v2 0.1.0 → 0.1.1

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.
@@ -24,7 +24,7 @@ module Google
24
24
  module V2
25
25
  module DlpService
26
26
  # Credentials for the DlpService API.
27
- class Credentials < Google::Auth::Credentials
27
+ class Credentials < ::Google::Auth::Credentials
28
28
  self.scope = [
29
29
  "https://www.googleapis.com/auth/cloud-platform"
30
30
  ]
@@ -61,35 +61,35 @@ module Google
61
61
  # @param location [String]
62
62
  # @param deidentify_template [String]
63
63
  #
64
- # @return [String]
64
+ # @return [::String]
65
65
  def deidentify_template_path **args
66
66
  resources = {
67
67
  "deidentify_template:organization" => (proc do |organization:, deidentify_template:|
68
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
68
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
69
69
 
70
70
  "organizations/#{organization}/deidentifyTemplates/#{deidentify_template}"
71
71
  end),
72
72
  "deidentify_template:project" => (proc do |project:, deidentify_template:|
73
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
73
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
74
74
 
75
75
  "projects/#{project}/deidentifyTemplates/#{deidentify_template}"
76
76
  end),
77
77
  "deidentify_template:location:organization" => (proc do |organization:, location:, deidentify_template:|
78
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
79
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
78
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
79
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
80
80
 
81
81
  "organizations/#{organization}/locations/#{location}/deidentifyTemplates/#{deidentify_template}"
82
82
  end),
83
83
  "deidentify_template:location:project" => (proc do |project:, location:, deidentify_template:|
84
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
85
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
84
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
85
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
86
86
 
87
87
  "projects/#{project}/locations/#{location}/deidentifyTemplates/#{deidentify_template}"
88
88
  end)
89
89
  }
90
90
 
91
91
  resource = resources[args.keys.sort.join(":")]
92
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
92
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
93
93
  resource.call(**args)
94
94
  end
95
95
 
@@ -113,24 +113,24 @@ module Google
113
113
  # @param location [String]
114
114
  # @param dlp_job [String]
115
115
  #
116
- # @return [String]
116
+ # @return [::String]
117
117
  def dlp_job_path **args
118
118
  resources = {
119
119
  "dlp_job:project" => (proc do |project:, dlp_job:|
120
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
120
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
121
121
 
122
122
  "projects/#{project}/dlpJobs/#{dlp_job}"
123
123
  end),
124
124
  "dlp_job:location:project" => (proc do |project:, location:, dlp_job:|
125
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
126
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
125
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
126
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
127
127
 
128
128
  "projects/#{project}/locations/#{location}/dlpJobs/#{dlp_job}"
129
129
  end)
130
130
  }
131
131
 
132
132
  resource = resources[args.keys.sort.join(":")]
133
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
133
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
134
134
  resource.call(**args)
135
135
  end
136
136
 
@@ -171,35 +171,35 @@ module Google
171
171
  # @param location [String]
172
172
  # @param inspect_template [String]
173
173
  #
174
- # @return [String]
174
+ # @return [::String]
175
175
  def inspect_template_path **args
176
176
  resources = {
177
177
  "inspect_template:organization" => (proc do |organization:, inspect_template:|
178
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
178
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
179
179
 
180
180
  "organizations/#{organization}/inspectTemplates/#{inspect_template}"
181
181
  end),
182
182
  "inspect_template:project" => (proc do |project:, inspect_template:|
183
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
183
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
184
184
 
185
185
  "projects/#{project}/inspectTemplates/#{inspect_template}"
186
186
  end),
187
187
  "inspect_template:location:organization" => (proc do |organization:, location:, inspect_template:|
188
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
189
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
188
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
189
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
190
190
 
191
191
  "organizations/#{organization}/locations/#{location}/inspectTemplates/#{inspect_template}"
192
192
  end),
193
193
  "inspect_template:location:project" => (proc do |project:, location:, inspect_template:|
194
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
195
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
194
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
195
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
196
196
 
197
197
  "projects/#{project}/locations/#{location}/inspectTemplates/#{inspect_template}"
198
198
  end)
199
199
  }
200
200
 
201
201
  resource = resources[args.keys.sort.join(":")]
202
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
202
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
203
203
  resource.call(**args)
204
204
  end
205
205
 
@@ -223,24 +223,24 @@ module Google
223
223
  # @param location [String]
224
224
  # @param job_trigger [String]
225
225
  #
226
- # @return [String]
226
+ # @return [::String]
227
227
  def job_trigger_path **args
228
228
  resources = {
229
229
  "job_trigger:project" => (proc do |project:, job_trigger:|
230
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
230
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
231
231
 
232
232
  "projects/#{project}/jobTriggers/#{job_trigger}"
233
233
  end),
234
234
  "job_trigger:location:project" => (proc do |project:, location:, job_trigger:|
235
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
236
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
235
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
236
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
237
237
 
238
238
  "projects/#{project}/locations/#{location}/jobTriggers/#{job_trigger}"
239
239
  end)
240
240
  }
241
241
 
242
242
  resource = resources[args.keys.sort.join(":")]
243
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
243
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
244
244
  resource.call(**args)
245
245
  end
246
246
 
@@ -254,9 +254,9 @@ module Google
254
254
  # @param project [String]
255
255
  # @param location [String]
256
256
  #
257
- # @return [String]
257
+ # @return [::String]
258
258
  def location_path project:, location:
259
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
259
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
260
260
 
261
261
  "projects/#{project}/locations/#{location}"
262
262
  end
@@ -270,7 +270,7 @@ module Google
270
270
  #
271
271
  # @param organization [String]
272
272
  #
273
- # @return [String]
273
+ # @return [::String]
274
274
  def organization_path organization:
275
275
  "organizations/#{organization}"
276
276
  end
@@ -285,9 +285,9 @@ module Google
285
285
  # @param organization [String]
286
286
  # @param location [String]
287
287
  #
288
- # @return [String]
288
+ # @return [::String]
289
289
  def organization_location_path organization:, location:
290
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
290
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
291
291
 
292
292
  "organizations/#{organization}/locations/#{location}"
293
293
  end
@@ -301,7 +301,7 @@ module Google
301
301
  #
302
302
  # @param project [String]
303
303
  #
304
- # @return [String]
304
+ # @return [::String]
305
305
  def project_path project:
306
306
  "projects/#{project}"
307
307
  end
@@ -343,35 +343,35 @@ module Google
343
343
  # @param location [String]
344
344
  # @param stored_info_type [String]
345
345
  #
346
- # @return [String]
346
+ # @return [::String]
347
347
  def stored_info_type_path **args
348
348
  resources = {
349
349
  "organization:stored_info_type" => (proc do |organization:, stored_info_type:|
350
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
350
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
351
351
 
352
352
  "organizations/#{organization}/storedInfoTypes/#{stored_info_type}"
353
353
  end),
354
354
  "project:stored_info_type" => (proc do |project:, stored_info_type:|
355
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
355
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
356
356
 
357
357
  "projects/#{project}/storedInfoTypes/#{stored_info_type}"
358
358
  end),
359
359
  "location:organization:stored_info_type" => (proc do |organization:, location:, stored_info_type:|
360
- raise ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
361
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
360
+ raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
361
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
362
362
 
363
363
  "organizations/#{organization}/locations/#{location}/storedInfoTypes/#{stored_info_type}"
364
364
  end),
365
365
  "location:project:stored_info_type" => (proc do |project:, location:, stored_info_type:|
366
- raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
367
- raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
366
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
367
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
368
368
 
369
369
  "projects/#{project}/locations/#{location}/storedInfoTypes/#{stored_info_type}"
370
370
  end)
371
371
  }
372
372
 
373
373
  resource = resources[args.keys.sort.join(":")]
374
- raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
374
+ raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
375
375
  resource.call(**args)
376
376
  end
377
377
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -128,7 +128,7 @@ module Google
128
128
  # - pattern: "shelves/{shelf}"
129
129
  # parent_type: "cloudresourcemanager.googleapis.com/Folder"
130
130
  # @!attribute [rw] type
131
- # @return [String]
131
+ # @return [::String]
132
132
  # The resource type. It must be in the format of
133
133
  # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
134
134
  # singular and must not include version numbers.
@@ -140,7 +140,7 @@ module Google
140
140
  # should use PascalCase (UpperCamelCase). The maximum number of
141
141
  # characters allowed for the `resource_type_kind` is 100.
142
142
  # @!attribute [rw] pattern
143
- # @return [Array<String>]
143
+ # @return [::Array<::String>]
144
144
  # Optional. The relative resource name pattern associated with this resource
145
145
  # type. The DNS prefix of the full resource name shouldn't be specified here.
146
146
  #
@@ -161,11 +161,11 @@ module Google
161
161
  # the same component name (e.g. "project") refers to IDs of the same
162
162
  # type of resource.
163
163
  # @!attribute [rw] name_field
164
- # @return [String]
164
+ # @return [::String]
165
165
  # Optional. The field on the resource that designates the resource name
166
166
  # field. If omitted, this is assumed to be "name".
167
167
  # @!attribute [rw] history
168
- # @return [Google::Api::ResourceDescriptor::History]
168
+ # @return [::Google::Api::ResourceDescriptor::History]
169
169
  # Optional. The historical or future-looking state of the resource pattern.
170
170
  #
171
171
  # Example:
@@ -182,19 +182,19 @@ module Google
182
182
  # };
183
183
  # }
184
184
  # @!attribute [rw] plural
185
- # @return [String]
185
+ # @return [::String]
186
186
  # The plural name used in the resource name, such as 'projects' for
187
187
  # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
188
  # field in k8s CRD spec
189
189
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
190
  # @!attribute [rw] singular
191
- # @return [String]
191
+ # @return [::String]
192
192
  # The same concept of the `singular` field in k8s CRD spec
193
193
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
194
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
195
195
  class ResourceDescriptor
196
- include Google::Protobuf::MessageExts
197
- extend Google::Protobuf::MessageExts::ClassMethods
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
198
 
199
199
  # A description of the historical or future-looking state of the
200
200
  # resource pattern.
@@ -216,7 +216,7 @@ module Google
216
216
  # Defines a proto annotation that describes a string field that refers to
217
217
  # an API resource.
218
218
  # @!attribute [rw] type
219
- # @return [String]
219
+ # @return [::String]
220
220
  # The resource type that the annotated field references.
221
221
  #
222
222
  # Example:
@@ -227,7 +227,7 @@ module Google
227
227
  # }];
228
228
  # }
229
229
  # @!attribute [rw] child_type
230
- # @return [String]
230
+ # @return [::String]
231
231
  # The resource type of a child collection that the annotated field
232
232
  # references. This is useful for annotating the `parent` field that
233
233
  # doesn't have a fixed resource type.
@@ -240,8 +240,8 @@ module Google
240
240
  # };
241
241
  # }
242
242
  class ResourceReference
243
- include Google::Protobuf::MessageExts
244
- extend Google::Protobuf::MessageExts::ClassMethods
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
245
  end
246
246
  end
247
247
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module V2
24
24
  # List of exclude infoTypes.
25
25
  # @!attribute [rw] info_types
26
- # @return [Array<Google::Cloud::Dlp::V2::InfoType>]
26
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>]
27
27
  # InfoType list in ExclusionRule rule drops a finding when it overlaps or
28
28
  # contained within with a finding of an infoType from this list. For
29
29
  # example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and
@@ -33,60 +33,60 @@ module Google
33
33
  # That leads to "555-222-2222@example.org" to generate only a single
34
34
  # finding, namely email address.
35
35
  class ExcludeInfoTypes
36
- include Google::Protobuf::MessageExts
37
- extend Google::Protobuf::MessageExts::ClassMethods
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
38
  end
39
39
 
40
40
  # The rule that specifies conditions when findings of infoTypes specified in
41
41
  # `InspectionRuleSet` are removed from results.
42
42
  # @!attribute [rw] dictionary
43
- # @return [Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
43
+ # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
44
44
  # Dictionary which defines the rule.
45
45
  # @!attribute [rw] regex
46
- # @return [Google::Cloud::Dlp::V2::CustomInfoType::Regex]
46
+ # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
47
47
  # Regular expression which defines the rule.
48
48
  # @!attribute [rw] exclude_info_types
49
- # @return [Google::Cloud::Dlp::V2::ExcludeInfoTypes]
49
+ # @return [::Google::Cloud::Dlp::V2::ExcludeInfoTypes]
50
50
  # Set of infoTypes for which findings would affect this rule.
51
51
  # @!attribute [rw] matching_type
52
- # @return [Google::Cloud::Dlp::V2::MatchingType]
52
+ # @return [::Google::Cloud::Dlp::V2::MatchingType]
53
53
  # How the rule is applied, see MatchingType documentation for details.
54
54
  class ExclusionRule
55
- include Google::Protobuf::MessageExts
56
- extend Google::Protobuf::MessageExts::ClassMethods
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
57
  end
58
58
 
59
59
  # A single inspection rule to be applied to infoTypes, specified in
60
60
  # `InspectionRuleSet`.
61
61
  # @!attribute [rw] hotword_rule
62
- # @return [Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule]
62
+ # @return [::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule]
63
63
  # Hotword-based detection rule.
64
64
  # @!attribute [rw] exclusion_rule
65
- # @return [Google::Cloud::Dlp::V2::ExclusionRule]
65
+ # @return [::Google::Cloud::Dlp::V2::ExclusionRule]
66
66
  # Exclusion rule.
67
67
  class InspectionRule
68
- include Google::Protobuf::MessageExts
69
- extend Google::Protobuf::MessageExts::ClassMethods
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
70
  end
71
71
 
72
72
  # Rule set for modifying a set of infoTypes to alter behavior under certain
73
73
  # circumstances, depending on the specific details of the rules within the set.
74
74
  # @!attribute [rw] info_types
75
- # @return [Array<Google::Cloud::Dlp::V2::InfoType>]
75
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>]
76
76
  # List of infoTypes this rule set is applied to.
77
77
  # @!attribute [rw] rules
78
- # @return [Array<Google::Cloud::Dlp::V2::InspectionRule>]
78
+ # @return [::Array<::Google::Cloud::Dlp::V2::InspectionRule>]
79
79
  # Set of rules to be applied to infoTypes. The rules are applied in order.
80
80
  class InspectionRuleSet
81
- include Google::Protobuf::MessageExts
82
- extend Google::Protobuf::MessageExts::ClassMethods
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
83
  end
84
84
 
85
85
  # Configuration description of the scanning process.
86
86
  # When used with redactContent only info_types and min_likelihood are currently
87
87
  # used.
88
88
  # @!attribute [rw] info_types
89
- # @return [Array<Google::Cloud::Dlp::V2::InfoType>]
89
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>]
90
90
  # Restricts what info_types to look for. The values must correspond to
91
91
  # InfoType values returned by ListInfoTypes or listed at
92
92
  # https://cloud.google.com/dlp/docs/infotypes-reference.
@@ -99,84 +99,84 @@ module Google
99
99
  # run you should specify specific InfoTypes listed in the reference,
100
100
  # otherwise a default list will be used, which may change over time.
101
101
  # @!attribute [rw] min_likelihood
102
- # @return [Google::Cloud::Dlp::V2::Likelihood]
102
+ # @return [::Google::Cloud::Dlp::V2::Likelihood]
103
103
  # Only returns findings equal or above this threshold. The default is
104
104
  # POSSIBLE.
105
105
  # See https://cloud.google.com/dlp/docs/likelihood to learn more.
106
106
  # @!attribute [rw] limits
107
- # @return [Google::Cloud::Dlp::V2::InspectConfig::FindingLimits]
107
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig::FindingLimits]
108
108
  # Configuration to control the number of findings returned.
109
109
  # @!attribute [rw] include_quote
110
- # @return [Boolean]
110
+ # @return [::Boolean]
111
111
  # When true, a contextual quote from the data that triggered a finding is
112
112
  # included in the response; see Finding.quote.
113
113
  # @!attribute [rw] exclude_info_types
114
- # @return [Boolean]
114
+ # @return [::Boolean]
115
115
  # When true, excludes type information of the findings.
116
116
  # @!attribute [rw] custom_info_types
117
- # @return [Array<Google::Cloud::Dlp::V2::CustomInfoType>]
117
+ # @return [::Array<::Google::Cloud::Dlp::V2::CustomInfoType>]
118
118
  # CustomInfoTypes provided by the user. See
119
119
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
120
120
  # @!attribute [rw] content_options
121
- # @return [Array<Google::Cloud::Dlp::V2::ContentOption>]
121
+ # @return [::Array<::Google::Cloud::Dlp::V2::ContentOption>]
122
122
  # List of options defining data content to scan.
123
123
  # If empty, text, images, and other content will be included.
124
124
  # @!attribute [rw] rule_set
125
- # @return [Array<Google::Cloud::Dlp::V2::InspectionRuleSet>]
125
+ # @return [::Array<::Google::Cloud::Dlp::V2::InspectionRuleSet>]
126
126
  # Set of rules to apply to the findings for this InspectConfig.
127
127
  # Exclusion rules, contained in the set are executed in the end, other
128
128
  # rules are executed in the order they are specified for each info type.
129
129
  class InspectConfig
130
- include Google::Protobuf::MessageExts
131
- extend Google::Protobuf::MessageExts::ClassMethods
130
+ include ::Google::Protobuf::MessageExts
131
+ extend ::Google::Protobuf::MessageExts::ClassMethods
132
132
 
133
133
  # Configuration to control the number of findings returned.
134
134
  # @!attribute [rw] max_findings_per_item
135
- # @return [Integer]
135
+ # @return [::Integer]
136
136
  # Max number of findings that will be returned for each item scanned.
137
137
  # When set within `InspectJobConfig`,
138
138
  # the maximum returned is 2000 regardless if this is set higher.
139
139
  # When set within `InspectContentRequest`, this field is ignored.
140
140
  # @!attribute [rw] max_findings_per_request
141
- # @return [Integer]
141
+ # @return [::Integer]
142
142
  # Max number of findings that will be returned per request/job.
143
143
  # When set within `InspectContentRequest`, the maximum returned is 2000
144
144
  # regardless if this is set higher.
145
145
  # @!attribute [rw] max_findings_per_info_type
146
- # @return [Array<Google::Cloud::Dlp::V2::InspectConfig::FindingLimits::InfoTypeLimit>]
146
+ # @return [::Array<::Google::Cloud::Dlp::V2::InspectConfig::FindingLimits::InfoTypeLimit>]
147
147
  # Configuration of findings limit given for specified infoTypes.
148
148
  class FindingLimits
149
- include Google::Protobuf::MessageExts
150
- extend Google::Protobuf::MessageExts::ClassMethods
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
151
 
152
152
  # Max findings configuration per infoType, per content item or long
153
153
  # running DlpJob.
154
154
  # @!attribute [rw] info_type
155
- # @return [Google::Cloud::Dlp::V2::InfoType]
155
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
156
156
  # Type of information the findings limit applies to. Only one limit per
157
157
  # info_type should be provided. If InfoTypeLimit does not have an
158
158
  # info_type, the DLP API applies the limit against all info_types that
159
159
  # are found but not specified in another InfoTypeLimit.
160
160
  # @!attribute [rw] max_findings
161
- # @return [Integer]
161
+ # @return [::Integer]
162
162
  # Max findings limit for the given infoType.
163
163
  class InfoTypeLimit
164
- include Google::Protobuf::MessageExts
165
- extend Google::Protobuf::MessageExts::ClassMethods
164
+ include ::Google::Protobuf::MessageExts
165
+ extend ::Google::Protobuf::MessageExts::ClassMethods
166
166
  end
167
167
  end
168
168
  end
169
169
 
170
170
  # Container for bytes to inspect or redact.
171
171
  # @!attribute [rw] type
172
- # @return [Google::Cloud::Dlp::V2::ByteContentItem::BytesType]
172
+ # @return [::Google::Cloud::Dlp::V2::ByteContentItem::BytesType]
173
173
  # The type of data stored in the bytes string. Default will be TEXT_UTF8.
174
174
  # @!attribute [rw] data
175
- # @return [String]
175
+ # @return [::String]
176
176
  # Content data to inspect or redact.
177
177
  class ByteContentItem
178
- include Google::Protobuf::MessageExts
179
- extend Google::Protobuf::MessageExts::ClassMethods
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
180
 
181
181
  # The type of data being sent to in data.
182
182
  module BytesType
@@ -208,50 +208,50 @@ module Google
208
208
 
209
209
  # Container structure for the content to inspect.
210
210
  # @!attribute [rw] value
211
- # @return [String]
211
+ # @return [::String]
212
212
  # String data to inspect or redact.
213
213
  # @!attribute [rw] table
214
- # @return [Google::Cloud::Dlp::V2::Table]
214
+ # @return [::Google::Cloud::Dlp::V2::Table]
215
215
  # Structured content for inspection. See
216
216
  # https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
217
217
  # learn more.
218
218
  # @!attribute [rw] byte_item
219
- # @return [Google::Cloud::Dlp::V2::ByteContentItem]
219
+ # @return [::Google::Cloud::Dlp::V2::ByteContentItem]
220
220
  # Content data to inspect or redact. Replaces `type` and `data`.
221
221
  class ContentItem
222
- include Google::Protobuf::MessageExts
223
- extend Google::Protobuf::MessageExts::ClassMethods
222
+ include ::Google::Protobuf::MessageExts
223
+ extend ::Google::Protobuf::MessageExts::ClassMethods
224
224
  end
225
225
 
226
226
  # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
227
227
  # See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to
228
228
  # learn more.
229
229
  # @!attribute [rw] headers
230
- # @return [Array<Google::Cloud::Dlp::V2::FieldId>]
230
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
231
231
  # Headers of the table.
232
232
  # @!attribute [rw] rows
233
- # @return [Array<Google::Cloud::Dlp::V2::Table::Row>]
233
+ # @return [::Array<::Google::Cloud::Dlp::V2::Table::Row>]
234
234
  # Rows of the table.
235
235
  class Table
236
- include Google::Protobuf::MessageExts
237
- extend Google::Protobuf::MessageExts::ClassMethods
236
+ include ::Google::Protobuf::MessageExts
237
+ extend ::Google::Protobuf::MessageExts::ClassMethods
238
238
 
239
239
  # Values of the row.
240
240
  # @!attribute [rw] values
241
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
241
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
242
242
  # Individual cells.
243
243
  class Row
244
- include Google::Protobuf::MessageExts
245
- extend Google::Protobuf::MessageExts::ClassMethods
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
246
  end
247
247
  end
248
248
 
249
249
  # All the findings for a single scanned item.
250
250
  # @!attribute [rw] findings
251
- # @return [Array<Google::Cloud::Dlp::V2::Finding>]
251
+ # @return [::Array<::Google::Cloud::Dlp::V2::Finding>]
252
252
  # List of findings for an item.
253
253
  # @!attribute [rw] findings_truncated
254
- # @return [Boolean]
254
+ # @return [::Boolean]
255
255
  # If true, then this item might have more findings than were returned,
256
256
  # and the findings returned are an arbitrary subset of all findings.
257
257
  # The findings list might be truncated because the input items were too
@@ -259,53 +259,53 @@ module Google
259
259
  # allowed for a single API call. For best results, divide the input into
260
260
  # smaller batches.
261
261
  class InspectResult
262
- include Google::Protobuf::MessageExts
263
- extend Google::Protobuf::MessageExts::ClassMethods
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
264
  end
265
265
 
266
266
  # Represents a piece of potentially sensitive content.
267
267
  # @!attribute [rw] name
268
- # @return [String]
268
+ # @return [::String]
269
269
  # Resource name in format
270
270
  # projects/\\{project}/locations/\\{location}/findings/\\{finding}
271
271
  # Populated only when viewing persisted findings.
272
272
  # @!attribute [rw] quote
273
- # @return [String]
273
+ # @return [::String]
274
274
  # The content that was found. Even if the content is not textual, it
275
275
  # may be converted to a textual representation here.
276
276
  # Provided if `include_quote` is true and the finding is
277
277
  # less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
278
278
  # in length, the quote may be omitted.
279
279
  # @!attribute [rw] info_type
280
- # @return [Google::Cloud::Dlp::V2::InfoType]
280
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
281
281
  # The type of content that might have been found.
282
282
  # Provided if `excluded_types` is false.
283
283
  # @!attribute [rw] likelihood
284
- # @return [Google::Cloud::Dlp::V2::Likelihood]
284
+ # @return [::Google::Cloud::Dlp::V2::Likelihood]
285
285
  # Confidence of how likely it is that the `info_type` is correct.
286
286
  # @!attribute [rw] location
287
- # @return [Google::Cloud::Dlp::V2::Location]
287
+ # @return [::Google::Cloud::Dlp::V2::Location]
288
288
  # Where the content was found.
289
289
  # @!attribute [rw] create_time
290
- # @return [Google::Protobuf::Timestamp]
290
+ # @return [::Google::Protobuf::Timestamp]
291
291
  # Timestamp when finding was detected.
292
292
  # @!attribute [rw] quote_info
293
- # @return [Google::Cloud::Dlp::V2::QuoteInfo]
293
+ # @return [::Google::Cloud::Dlp::V2::QuoteInfo]
294
294
  # Contains data parsed from quotes. Only populated if include_quote was set
295
295
  # to true and a supported infoType was requested. Currently supported
296
296
  # infoTypes: DATE, DATE_OF_BIRTH and TIME.
297
297
  # @!attribute [rw] resource_name
298
- # @return [String]
298
+ # @return [::String]
299
299
  # The job that stored the finding.
300
300
  # @!attribute [rw] trigger_name
301
- # @return [String]
301
+ # @return [::String]
302
302
  # Job trigger name, if applicable, for this finding.
303
303
  # (-- api-linter: core::0122::name-suffix=disabled
304
304
  # aip.dev/not-precedent: AIP-122 discourages _name suffixes for
305
305
  # resource names, but this has existed as part of the bigquery schema
306
306
  # before this rule existed. --)
307
307
  # @!attribute [rw] labels
308
- # @return [Google::Protobuf::Map{String => String}]
308
+ # @return [::Google::Protobuf::Map{::String => ::String}]
309
309
  # The labels associated with this `InspectFinding`.
310
310
  #
311
311
  # Label keys must be between 1 and 63 characters long and must conform
@@ -320,58 +320,58 @@ module Google
320
320
  # * `"environment" : "production"`
321
321
  # * `"pipeline" : "etl"`
322
322
  # @!attribute [rw] job_create_time
323
- # @return [Google::Protobuf::Timestamp]
323
+ # @return [::Google::Protobuf::Timestamp]
324
324
  # Time the job started that produced this finding.
325
325
  # @!attribute [rw] job_name
326
- # @return [String]
326
+ # @return [::String]
327
327
  # The job that stored the finding.
328
328
  # (-- api-linter: core::0122::name-suffix=disabled
329
329
  # aip.dev/not-precedent: AIP-122 discourages _name suffixes for
330
330
  # resource names, but this has existed as part of the bigquery schema
331
331
  # before this rule existed. --)
332
332
  class Finding
333
- include Google::Protobuf::MessageExts
334
- extend Google::Protobuf::MessageExts::ClassMethods
333
+ include ::Google::Protobuf::MessageExts
334
+ extend ::Google::Protobuf::MessageExts::ClassMethods
335
335
 
336
336
  # @!attribute [rw] key
337
- # @return [String]
337
+ # @return [::String]
338
338
  # @!attribute [rw] value
339
- # @return [String]
339
+ # @return [::String]
340
340
  class LabelsEntry
341
- include Google::Protobuf::MessageExts
342
- extend Google::Protobuf::MessageExts::ClassMethods
341
+ include ::Google::Protobuf::MessageExts
342
+ extend ::Google::Protobuf::MessageExts::ClassMethods
343
343
  end
344
344
  end
345
345
 
346
346
  # Specifies the location of the finding.
347
347
  # @!attribute [rw] byte_range
348
- # @return [Google::Cloud::Dlp::V2::Range]
348
+ # @return [::Google::Cloud::Dlp::V2::Range]
349
349
  # Zero-based byte offsets delimiting the finding.
350
350
  # These are relative to the finding's containing element.
351
351
  # Note that when the content is not textual, this references
352
352
  # the UTF-8 encoded textual representation of the content.
353
353
  # Omitted if content is an image.
354
354
  # @!attribute [rw] codepoint_range
355
- # @return [Google::Cloud::Dlp::V2::Range]
355
+ # @return [::Google::Cloud::Dlp::V2::Range]
356
356
  # Unicode character offsets delimiting the finding.
357
357
  # These are relative to the finding's containing element.
358
358
  # Provided when the content is text.
359
359
  # @!attribute [rw] content_locations
360
- # @return [Array<Google::Cloud::Dlp::V2::ContentLocation>]
360
+ # @return [::Array<::Google::Cloud::Dlp::V2::ContentLocation>]
361
361
  # List of nested objects pointing to the precise location of the finding
362
362
  # within the file or record.
363
363
  # @!attribute [rw] container
364
- # @return [Google::Cloud::Dlp::V2::Container]
364
+ # @return [::Google::Cloud::Dlp::V2::Container]
365
365
  # Information about the container where this finding occurred, if available.
366
366
  class Location
367
- include Google::Protobuf::MessageExts
368
- extend Google::Protobuf::MessageExts::ClassMethods
367
+ include ::Google::Protobuf::MessageExts
368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
369
369
  end
370
370
 
371
371
  # Precise location of the finding within a document, record, image, or metadata
372
372
  # container.
373
373
  # @!attribute [rw] container_name
374
- # @return [String]
374
+ # @return [::String]
375
375
  # Name of the container where the finding is located.
376
376
  # The top level name is the source file name or table name. Names of some
377
377
  # common storage containers are formatted as follows:
@@ -383,80 +383,80 @@ module Google
383
383
  # Nested names could be absent if the embedded object has no string
384
384
  # identifier (for an example an image contained within a document).
385
385
  # @!attribute [rw] record_location
386
- # @return [Google::Cloud::Dlp::V2::RecordLocation]
386
+ # @return [::Google::Cloud::Dlp::V2::RecordLocation]
387
387
  # Location within a row or record of a database table.
388
388
  # @!attribute [rw] image_location
389
- # @return [Google::Cloud::Dlp::V2::ImageLocation]
389
+ # @return [::Google::Cloud::Dlp::V2::ImageLocation]
390
390
  # Location within an image's pixels.
391
391
  # @!attribute [rw] document_location
392
- # @return [Google::Cloud::Dlp::V2::DocumentLocation]
392
+ # @return [::Google::Cloud::Dlp::V2::DocumentLocation]
393
393
  # Location data for document files.
394
394
  # @!attribute [rw] container_timestamp
395
- # @return [Google::Protobuf::Timestamp]
395
+ # @return [::Google::Protobuf::Timestamp]
396
396
  # Findings container modification timestamp, if applicable.
397
397
  # For Google Cloud Storage contains last file modification timestamp.
398
398
  # For BigQuery table contains last_modified_time property.
399
399
  # For Datastore - not populated.
400
400
  # @!attribute [rw] container_version
401
- # @return [String]
401
+ # @return [::String]
402
402
  # Findings container version, if available
403
403
  # ("generation" for Google Cloud Storage).
404
404
  class ContentLocation
405
- include Google::Protobuf::MessageExts
406
- extend Google::Protobuf::MessageExts::ClassMethods
405
+ include ::Google::Protobuf::MessageExts
406
+ extend ::Google::Protobuf::MessageExts::ClassMethods
407
407
  end
408
408
 
409
409
  # Location of a finding within a document.
410
410
  # @!attribute [rw] file_offset
411
- # @return [Integer]
411
+ # @return [::Integer]
412
412
  # Offset of the line, from the beginning of the file, where the finding
413
413
  # is located.
414
414
  class DocumentLocation
415
- include Google::Protobuf::MessageExts
416
- extend Google::Protobuf::MessageExts::ClassMethods
415
+ include ::Google::Protobuf::MessageExts
416
+ extend ::Google::Protobuf::MessageExts::ClassMethods
417
417
  end
418
418
 
419
419
  # Location of a finding within a row or record.
420
420
  # @!attribute [rw] record_key
421
- # @return [Google::Cloud::Dlp::V2::RecordKey]
421
+ # @return [::Google::Cloud::Dlp::V2::RecordKey]
422
422
  # Key of the finding.
423
423
  # @!attribute [rw] field_id
424
- # @return [Google::Cloud::Dlp::V2::FieldId]
424
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
425
425
  # Field id of the field containing the finding.
426
426
  # @!attribute [rw] table_location
427
- # @return [Google::Cloud::Dlp::V2::TableLocation]
427
+ # @return [::Google::Cloud::Dlp::V2::TableLocation]
428
428
  # Location within a `ContentItem.Table`.
429
429
  class RecordLocation
430
- include Google::Protobuf::MessageExts
431
- extend Google::Protobuf::MessageExts::ClassMethods
430
+ include ::Google::Protobuf::MessageExts
431
+ extend ::Google::Protobuf::MessageExts::ClassMethods
432
432
  end
433
433
 
434
434
  # Location of a finding within a table.
435
435
  # @!attribute [rw] row_index
436
- # @return [Integer]
436
+ # @return [::Integer]
437
437
  # The zero-based index of the row where the finding is located.
438
438
  class TableLocation
439
- include Google::Protobuf::MessageExts
440
- extend Google::Protobuf::MessageExts::ClassMethods
439
+ include ::Google::Protobuf::MessageExts
440
+ extend ::Google::Protobuf::MessageExts::ClassMethods
441
441
  end
442
442
 
443
443
  # Represents a container that may contain DLP findings.
444
444
  # Examples of a container include a file, table, or database record.
445
445
  # @!attribute [rw] type
446
- # @return [String]
446
+ # @return [::String]
447
447
  # Container type, for example BigQuery or Google Cloud Storage.
448
448
  # @!attribute [rw] project_id
449
- # @return [String]
449
+ # @return [::String]
450
450
  # Project where the finding was found.
451
451
  # Can be different from the project that owns the finding.
452
452
  # @!attribute [rw] full_path
453
- # @return [String]
453
+ # @return [::String]
454
454
  # A string representation of the full container name.
455
455
  # Examples:
456
456
  # - BigQuery: 'Project:DataSetId.TableId'
457
457
  # - Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
458
458
  # @!attribute [rw] root_path
459
- # @return [String]
459
+ # @return [::String]
460
460
  # The root of the container.
461
461
  # Examples:
462
462
  # - For BigQuery table `project_id:dataset_id.table_id`, the root is
@@ -464,7 +464,7 @@ module Google
464
464
  # - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
465
465
  # is `gs://bucket`
466
466
  # @!attribute [rw] relative_path
467
- # @return [String]
467
+ # @return [::String]
468
468
  # The rest of the path after the root.
469
469
  # Examples:
470
470
  # - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
@@ -472,196 +472,196 @@ module Google
472
472
  # - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
473
473
  # path is `folder/filename.txt`
474
474
  # @!attribute [rw] update_time
475
- # @return [Google::Protobuf::Timestamp]
475
+ # @return [::Google::Protobuf::Timestamp]
476
476
  # Findings container modification timestamp, if applicable.
477
477
  # For Google Cloud Storage contains last file modification timestamp.
478
478
  # For BigQuery table contains last_modified_time property.
479
479
  # For Datastore - not populated.
480
480
  # @!attribute [rw] version
481
- # @return [String]
481
+ # @return [::String]
482
482
  # Findings container version, if available
483
483
  # ("generation" for Google Cloud Storage).
484
484
  class Container
485
- include Google::Protobuf::MessageExts
486
- extend Google::Protobuf::MessageExts::ClassMethods
485
+ include ::Google::Protobuf::MessageExts
486
+ extend ::Google::Protobuf::MessageExts::ClassMethods
487
487
  end
488
488
 
489
489
  # Generic half-open interval [start, end)
490
490
  # @!attribute [rw] start
491
- # @return [Integer]
491
+ # @return [::Integer]
492
492
  # Index of the first character of the range (inclusive).
493
493
  # @!attribute [rw] end
494
- # @return [Integer]
494
+ # @return [::Integer]
495
495
  # Index of the last character of the range (exclusive).
496
496
  class Range
497
- include Google::Protobuf::MessageExts
498
- extend Google::Protobuf::MessageExts::ClassMethods
497
+ include ::Google::Protobuf::MessageExts
498
+ extend ::Google::Protobuf::MessageExts::ClassMethods
499
499
  end
500
500
 
501
501
  # Location of the finding within an image.
502
502
  # @!attribute [rw] bounding_boxes
503
- # @return [Array<Google::Cloud::Dlp::V2::BoundingBox>]
503
+ # @return [::Array<::Google::Cloud::Dlp::V2::BoundingBox>]
504
504
  # Bounding boxes locating the pixels within the image containing the finding.
505
505
  class ImageLocation
506
- include Google::Protobuf::MessageExts
507
- extend Google::Protobuf::MessageExts::ClassMethods
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
508
  end
509
509
 
510
510
  # Bounding box encompassing detected text within an image.
511
511
  # @!attribute [rw] top
512
- # @return [Integer]
512
+ # @return [::Integer]
513
513
  # Top coordinate of the bounding box. (0,0) is upper left.
514
514
  # @!attribute [rw] left
515
- # @return [Integer]
515
+ # @return [::Integer]
516
516
  # Left coordinate of the bounding box. (0,0) is upper left.
517
517
  # @!attribute [rw] width
518
- # @return [Integer]
518
+ # @return [::Integer]
519
519
  # Width of the bounding box in pixels.
520
520
  # @!attribute [rw] height
521
- # @return [Integer]
521
+ # @return [::Integer]
522
522
  # Height of the bounding box in pixels.
523
523
  class BoundingBox
524
- include Google::Protobuf::MessageExts
525
- extend Google::Protobuf::MessageExts::ClassMethods
524
+ include ::Google::Protobuf::MessageExts
525
+ extend ::Google::Protobuf::MessageExts::ClassMethods
526
526
  end
527
527
 
528
528
  # Request to search for potentially sensitive info in an image and redact it
529
529
  # by covering it with a colored rectangle.
530
530
  # @!attribute [rw] parent
531
- # @return [String]
531
+ # @return [::String]
532
532
  # The parent resource name, for example projects/my-project-id.
533
533
  # @!attribute [rw] location_id
534
- # @return [String]
534
+ # @return [::String]
535
535
  # The geographic location to process the request. Reserved for future
536
536
  # extensions.
537
537
  # @!attribute [rw] inspect_config
538
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
538
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
539
539
  # Configuration for the inspector.
540
540
  # @!attribute [rw] image_redaction_configs
541
- # @return [Array<Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig>]
541
+ # @return [::Array<::Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig>]
542
542
  # The configuration for specifying what content to redact from images.
543
543
  # @!attribute [rw] include_findings
544
- # @return [Boolean]
544
+ # @return [::Boolean]
545
545
  # Whether the response should include findings along with the redacted
546
546
  # image.
547
547
  # @!attribute [rw] byte_item
548
- # @return [Google::Cloud::Dlp::V2::ByteContentItem]
548
+ # @return [::Google::Cloud::Dlp::V2::ByteContentItem]
549
549
  # The content must be PNG, JPEG, SVG or BMP.
550
550
  class RedactImageRequest
551
- include Google::Protobuf::MessageExts
552
- extend Google::Protobuf::MessageExts::ClassMethods
551
+ include ::Google::Protobuf::MessageExts
552
+ extend ::Google::Protobuf::MessageExts::ClassMethods
553
553
 
554
554
  # Configuration for determining how redaction of images should occur.
555
555
  # @!attribute [rw] info_type
556
- # @return [Google::Cloud::Dlp::V2::InfoType]
556
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
557
557
  # Only one per info_type should be provided per request. If not
558
558
  # specified, and redact_all_text is false, the DLP API will redact all
559
559
  # text that it matches against all info_types that are found, but not
560
560
  # specified in another ImageRedactionConfig.
561
561
  # @!attribute [rw] redact_all_text
562
- # @return [Boolean]
562
+ # @return [::Boolean]
563
563
  # If true, all text found in the image, regardless whether it matches an
564
564
  # info_type, is redacted. Only one should be provided.
565
565
  # @!attribute [rw] redaction_color
566
- # @return [Google::Cloud::Dlp::V2::Color]
566
+ # @return [::Google::Cloud::Dlp::V2::Color]
567
567
  # The color to use when redacting content from an image. If not specified,
568
568
  # the default is black.
569
569
  class ImageRedactionConfig
570
- include Google::Protobuf::MessageExts
571
- extend Google::Protobuf::MessageExts::ClassMethods
570
+ include ::Google::Protobuf::MessageExts
571
+ extend ::Google::Protobuf::MessageExts::ClassMethods
572
572
  end
573
573
  end
574
574
 
575
575
  # Represents a color in the RGB color space.
576
576
  # @!attribute [rw] red
577
- # @return [Float]
577
+ # @return [::Float]
578
578
  # The amount of red in the color as a value in the interval [0, 1].
579
579
  # @!attribute [rw] green
580
- # @return [Float]
580
+ # @return [::Float]
581
581
  # The amount of green in the color as a value in the interval [0, 1].
582
582
  # @!attribute [rw] blue
583
- # @return [Float]
583
+ # @return [::Float]
584
584
  # The amount of blue in the color as a value in the interval [0, 1].
585
585
  class Color
586
- include Google::Protobuf::MessageExts
587
- extend Google::Protobuf::MessageExts::ClassMethods
586
+ include ::Google::Protobuf::MessageExts
587
+ extend ::Google::Protobuf::MessageExts::ClassMethods
588
588
  end
589
589
 
590
590
  # Results of redacting an image.
591
591
  # @!attribute [rw] redacted_image
592
- # @return [String]
592
+ # @return [::String]
593
593
  # The redacted image. The type will be the same as the original image.
594
594
  # @!attribute [rw] extracted_text
595
- # @return [String]
595
+ # @return [::String]
596
596
  # If an image was being inspected and the InspectConfig's include_quote was
597
597
  # set to true, then this field will include all text, if any, that was found
598
598
  # in the image.
599
599
  # @!attribute [rw] inspect_result
600
- # @return [Google::Cloud::Dlp::V2::InspectResult]
600
+ # @return [::Google::Cloud::Dlp::V2::InspectResult]
601
601
  # The findings. Populated when include_findings in the request is true.
602
602
  class RedactImageResponse
603
- include Google::Protobuf::MessageExts
604
- extend Google::Protobuf::MessageExts::ClassMethods
603
+ include ::Google::Protobuf::MessageExts
604
+ extend ::Google::Protobuf::MessageExts::ClassMethods
605
605
  end
606
606
 
607
607
  # Request to de-identify a list of items.
608
608
  # @!attribute [rw] parent
609
- # @return [String]
609
+ # @return [::String]
610
610
  # The parent resource name, for example projects/my-project-id.
611
611
  # @!attribute [rw] deidentify_config
612
- # @return [Google::Cloud::Dlp::V2::DeidentifyConfig]
612
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
613
613
  # Configuration for the de-identification of the content item.
614
614
  # Items specified here will override the template referenced by the
615
615
  # deidentify_template_name argument.
616
616
  # @!attribute [rw] inspect_config
617
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
617
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
618
618
  # Configuration for the inspector.
619
619
  # Items specified here will override the template referenced by the
620
620
  # inspect_template_name argument.
621
621
  # @!attribute [rw] item
622
- # @return [Google::Cloud::Dlp::V2::ContentItem]
622
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
623
623
  # The item to de-identify. Will be treated as text.
624
624
  # @!attribute [rw] inspect_template_name
625
- # @return [String]
625
+ # @return [::String]
626
626
  # Template to use. Any configuration directly specified in
627
627
  # inspect_config will override those set in the template. Singular fields
628
628
  # that are set in this request will replace their corresponding fields in the
629
629
  # template. Repeated fields are appended. Singular sub-messages and groups
630
630
  # are recursively merged.
631
631
  # @!attribute [rw] deidentify_template_name
632
- # @return [String]
632
+ # @return [::String]
633
633
  # Template to use. Any configuration directly specified in
634
634
  # deidentify_config will override those set in the template. Singular fields
635
635
  # that are set in this request will replace their corresponding fields in the
636
636
  # template. Repeated fields are appended. Singular sub-messages and groups
637
637
  # are recursively merged.
638
638
  # @!attribute [rw] location_id
639
- # @return [String]
639
+ # @return [::String]
640
640
  # The geographic location to process de-identification. Reserved for future
641
641
  # extensions.
642
642
  class DeidentifyContentRequest
643
- include Google::Protobuf::MessageExts
644
- extend Google::Protobuf::MessageExts::ClassMethods
643
+ include ::Google::Protobuf::MessageExts
644
+ extend ::Google::Protobuf::MessageExts::ClassMethods
645
645
  end
646
646
 
647
647
  # Results of de-identifying a ContentItem.
648
648
  # @!attribute [rw] item
649
- # @return [Google::Cloud::Dlp::V2::ContentItem]
649
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
650
650
  # The de-identified item.
651
651
  # @!attribute [rw] overview
652
- # @return [Google::Cloud::Dlp::V2::TransformationOverview]
652
+ # @return [::Google::Cloud::Dlp::V2::TransformationOverview]
653
653
  # An overview of the changes that were made on the `item`.
654
654
  class DeidentifyContentResponse
655
- include Google::Protobuf::MessageExts
656
- extend Google::Protobuf::MessageExts::ClassMethods
655
+ include ::Google::Protobuf::MessageExts
656
+ extend ::Google::Protobuf::MessageExts::ClassMethods
657
657
  end
658
658
 
659
659
  # Request to re-identify an item.
660
660
  # @!attribute [rw] parent
661
- # @return [String]
661
+ # @return [::String]
662
662
  # Required. The parent resource name.
663
663
  # @!attribute [rw] reidentify_config
664
- # @return [Google::Cloud::Dlp::V2::DeidentifyConfig]
664
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
665
665
  # Configuration for the re-identification of the content item.
666
666
  # This field shares the same proto message type that is used for
667
667
  # de-identification, however its usage here is for the reversal of the
@@ -673,20 +673,20 @@ module Google
673
673
  # - `CryptoDeterministicConfig`
674
674
  # - `CryptoReplaceFfxFpeConfig`
675
675
  # @!attribute [rw] inspect_config
676
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
676
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
677
677
  # Configuration for the inspector.
678
678
  # @!attribute [rw] item
679
- # @return [Google::Cloud::Dlp::V2::ContentItem]
679
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
680
680
  # The item to re-identify. Will be treated as text.
681
681
  # @!attribute [rw] inspect_template_name
682
- # @return [String]
682
+ # @return [::String]
683
683
  # Template to use. Any configuration directly specified in
684
684
  # `inspect_config` will override those set in the template. Singular fields
685
685
  # that are set in this request will replace their corresponding fields in the
686
686
  # template. Repeated fields are appended. Singular sub-messages and groups
687
687
  # are recursively merged.
688
688
  # @!attribute [rw] reidentify_template_name
689
- # @return [String]
689
+ # @return [::String]
690
690
  # Template to use. References an instance of `DeidentifyTemplate`.
691
691
  # Any configuration directly specified in `reidentify_config` or
692
692
  # `inspect_config` will override those set in the template. Singular fields
@@ -694,65 +694,65 @@ module Google
694
694
  # template. Repeated fields are appended. Singular sub-messages and groups
695
695
  # are recursively merged.
696
696
  # @!attribute [rw] location_id
697
- # @return [String]
697
+ # @return [::String]
698
698
  # The geographic location to process content reidentification. Reserved for
699
699
  # future extensions.
700
700
  class ReidentifyContentRequest
701
- include Google::Protobuf::MessageExts
702
- extend Google::Protobuf::MessageExts::ClassMethods
701
+ include ::Google::Protobuf::MessageExts
702
+ extend ::Google::Protobuf::MessageExts::ClassMethods
703
703
  end
704
704
 
705
705
  # Results of re-identifying a item.
706
706
  # @!attribute [rw] item
707
- # @return [Google::Cloud::Dlp::V2::ContentItem]
707
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
708
708
  # The re-identified item.
709
709
  # @!attribute [rw] overview
710
- # @return [Google::Cloud::Dlp::V2::TransformationOverview]
710
+ # @return [::Google::Cloud::Dlp::V2::TransformationOverview]
711
711
  # An overview of the changes that were made to the `item`.
712
712
  class ReidentifyContentResponse
713
- include Google::Protobuf::MessageExts
714
- extend Google::Protobuf::MessageExts::ClassMethods
713
+ include ::Google::Protobuf::MessageExts
714
+ extend ::Google::Protobuf::MessageExts::ClassMethods
715
715
  end
716
716
 
717
717
  # Request to search for potentially sensitive info in a ContentItem.
718
718
  # @!attribute [rw] parent
719
- # @return [String]
719
+ # @return [::String]
720
720
  # The parent resource name, for example projects/my-project-id.
721
721
  # @!attribute [rw] inspect_config
722
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
722
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
723
723
  # Configuration for the inspector. What specified here will override
724
724
  # the template referenced by the inspect_template_name argument.
725
725
  # @!attribute [rw] item
726
- # @return [Google::Cloud::Dlp::V2::ContentItem]
726
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
727
727
  # The item to inspect.
728
728
  # @!attribute [rw] inspect_template_name
729
- # @return [String]
729
+ # @return [::String]
730
730
  # Template to use. Any configuration directly specified in
731
731
  # inspect_config will override those set in the template. Singular fields
732
732
  # that are set in this request will replace their corresponding fields in the
733
733
  # template. Repeated fields are appended. Singular sub-messages and groups
734
734
  # are recursively merged.
735
735
  # @!attribute [rw] location_id
736
- # @return [String]
736
+ # @return [::String]
737
737
  # The geographic location to process content inspection. Reserved for future
738
738
  # extensions.
739
739
  class InspectContentRequest
740
- include Google::Protobuf::MessageExts
741
- extend Google::Protobuf::MessageExts::ClassMethods
740
+ include ::Google::Protobuf::MessageExts
741
+ extend ::Google::Protobuf::MessageExts::ClassMethods
742
742
  end
743
743
 
744
744
  # Results of inspecting an item.
745
745
  # @!attribute [rw] result
746
- # @return [Google::Cloud::Dlp::V2::InspectResult]
746
+ # @return [::Google::Cloud::Dlp::V2::InspectResult]
747
747
  # The findings.
748
748
  class InspectContentResponse
749
- include Google::Protobuf::MessageExts
750
- extend Google::Protobuf::MessageExts::ClassMethods
749
+ include ::Google::Protobuf::MessageExts
750
+ extend ::Google::Protobuf::MessageExts::ClassMethods
751
751
  end
752
752
 
753
753
  # Cloud repository for storing output.
754
754
  # @!attribute [rw] table
755
- # @return [Google::Cloud::Dlp::V2::BigQueryTable]
755
+ # @return [::Google::Cloud::Dlp::V2::BigQueryTable]
756
756
  # Store findings in an existing table or a new table in an existing
757
757
  # dataset. If table_id is not set a new one will be generated
758
758
  # for you with the following format:
@@ -768,7 +768,7 @@ module Google
768
768
  # compute a different privacy metric, or use different sets of
769
769
  # quasi-identifiers, cannot store their results in the same table.
770
770
  # @!attribute [rw] output_schema
771
- # @return [Google::Cloud::Dlp::V2::OutputStorageConfig::OutputSchema]
771
+ # @return [::Google::Cloud::Dlp::V2::OutputStorageConfig::OutputSchema]
772
772
  # Schema used for writing the findings for Inspect jobs. This field is only
773
773
  # used for Inspect and must be unspecified for Risk jobs. Columns are derived
774
774
  # from the `Finding` object. If appending to an existing table, any columns
@@ -780,8 +780,8 @@ module Google
780
780
  # existing table that has a schema.
781
781
  # Only for use with external storage.
782
782
  class OutputStorageConfig
783
- include Google::Protobuf::MessageExts
784
- extend Google::Protobuf::MessageExts::ClassMethods
783
+ include ::Google::Protobuf::MessageExts
784
+ extend ::Google::Protobuf::MessageExts::ClassMethods
785
785
 
786
786
  # Predefined schemas for storing findings.
787
787
  # Only for use with external storage.
@@ -809,170 +809,170 @@ module Google
809
809
 
810
810
  # Statistics regarding a specific InfoType.
811
811
  # @!attribute [rw] info_type
812
- # @return [Google::Cloud::Dlp::V2::InfoType]
812
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
813
813
  # The type of finding this stat is for.
814
814
  # @!attribute [rw] count
815
- # @return [Integer]
815
+ # @return [::Integer]
816
816
  # Number of findings for this infoType.
817
817
  class InfoTypeStats
818
- include Google::Protobuf::MessageExts
819
- extend Google::Protobuf::MessageExts::ClassMethods
818
+ include ::Google::Protobuf::MessageExts
819
+ extend ::Google::Protobuf::MessageExts::ClassMethods
820
820
  end
821
821
 
822
822
  # The results of an inspect DataSource job.
823
823
  # @!attribute [rw] requested_options
824
- # @return [Google::Cloud::Dlp::V2::InspectDataSourceDetails::RequestedOptions]
824
+ # @return [::Google::Cloud::Dlp::V2::InspectDataSourceDetails::RequestedOptions]
825
825
  # The configuration used for this job.
826
826
  # @!attribute [rw] result
827
- # @return [Google::Cloud::Dlp::V2::InspectDataSourceDetails::Result]
827
+ # @return [::Google::Cloud::Dlp::V2::InspectDataSourceDetails::Result]
828
828
  # A summary of the outcome of this inspect job.
829
829
  class InspectDataSourceDetails
830
- include Google::Protobuf::MessageExts
831
- extend Google::Protobuf::MessageExts::ClassMethods
830
+ include ::Google::Protobuf::MessageExts
831
+ extend ::Google::Protobuf::MessageExts::ClassMethods
832
832
 
833
833
  # Snapshot of the inspection configuration.
834
834
  # @!attribute [rw] snapshot_inspect_template
835
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
835
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
836
836
  # If run with an InspectTemplate, a snapshot of its state at the time of
837
837
  # this run.
838
838
  # @!attribute [rw] job_config
839
- # @return [Google::Cloud::Dlp::V2::InspectJobConfig]
839
+ # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
840
840
  # Inspect config.
841
841
  class RequestedOptions
842
- include Google::Protobuf::MessageExts
843
- extend Google::Protobuf::MessageExts::ClassMethods
842
+ include ::Google::Protobuf::MessageExts
843
+ extend ::Google::Protobuf::MessageExts::ClassMethods
844
844
  end
845
845
 
846
846
  # All result fields mentioned below are updated while the job is processing.
847
847
  # @!attribute [rw] processed_bytes
848
- # @return [Integer]
848
+ # @return [::Integer]
849
849
  # Total size in bytes that were processed.
850
850
  # @!attribute [rw] total_estimated_bytes
851
- # @return [Integer]
851
+ # @return [::Integer]
852
852
  # Estimate of the number of bytes to process.
853
853
  # @!attribute [rw] info_type_stats
854
- # @return [Array<Google::Cloud::Dlp::V2::InfoTypeStats>]
854
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoTypeStats>]
855
855
  # Statistics of how many instances of each info type were found during
856
856
  # inspect job.
857
857
  # @!attribute [rw] hybrid_stats
858
- # @return [Google::Cloud::Dlp::V2::HybridInspectStatistics]
858
+ # @return [::Google::Cloud::Dlp::V2::HybridInspectStatistics]
859
859
  # Statistics related to the processing of hybrid inspect.
860
860
  # Early access feature is in a pre-release state and might change or have
861
861
  # limited support. For more information, see
862
862
  # https://cloud.google.com/products#product-launch-stages.
863
863
  class Result
864
- include Google::Protobuf::MessageExts
865
- extend Google::Protobuf::MessageExts::ClassMethods
864
+ include ::Google::Protobuf::MessageExts
865
+ extend ::Google::Protobuf::MessageExts::ClassMethods
866
866
  end
867
867
  end
868
868
 
869
869
  # Statistics related to processing hybrid inspect requests.s
870
870
  # @!attribute [rw] processed_count
871
- # @return [Integer]
871
+ # @return [::Integer]
872
872
  # The number of hybrid inspection requests processed within this job.
873
873
  # @!attribute [rw] aborted_count
874
- # @return [Integer]
874
+ # @return [::Integer]
875
875
  # The number of hybrid inspection requests aborted because the job ran
876
876
  # out of quota or was ended before they could be processed.
877
877
  # @!attribute [rw] pending_count
878
- # @return [Integer]
878
+ # @return [::Integer]
879
879
  # The number of hybrid requests currently being processed. Only populated
880
880
  # when called via method `getDlpJob`.
881
881
  # A burst of traffic may cause hybrid inspect requests to be enqueued.
882
882
  # Processing will take place as quickly as possible, but resource limitations
883
883
  # may impact how long a request is enqueued for.
884
884
  class HybridInspectStatistics
885
- include Google::Protobuf::MessageExts
886
- extend Google::Protobuf::MessageExts::ClassMethods
885
+ include ::Google::Protobuf::MessageExts
886
+ extend ::Google::Protobuf::MessageExts::ClassMethods
887
887
  end
888
888
 
889
889
  # InfoType description.
890
890
  # @!attribute [rw] name
891
- # @return [String]
891
+ # @return [::String]
892
892
  # Internal name of the infoType.
893
893
  # @!attribute [rw] display_name
894
- # @return [String]
894
+ # @return [::String]
895
895
  # Human readable form of the infoType name.
896
896
  # @!attribute [rw] supported_by
897
- # @return [Array<Google::Cloud::Dlp::V2::InfoTypeSupportedBy>]
897
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoTypeSupportedBy>]
898
898
  # Which parts of the API supports this InfoType.
899
899
  # @!attribute [rw] description
900
- # @return [String]
900
+ # @return [::String]
901
901
  # Description of the infotype. Translated when language is provided in the
902
902
  # request.
903
903
  class InfoTypeDescription
904
- include Google::Protobuf::MessageExts
905
- extend Google::Protobuf::MessageExts::ClassMethods
904
+ include ::Google::Protobuf::MessageExts
905
+ extend ::Google::Protobuf::MessageExts::ClassMethods
906
906
  end
907
907
 
908
908
  # Request for the list of infoTypes.
909
909
  # @!attribute [rw] language_code
910
- # @return [String]
910
+ # @return [::String]
911
911
  # BCP-47 language code for localized infoType friendly
912
912
  # names. If omitted, or if localized strings are not available,
913
913
  # en-US strings will be returned.
914
914
  # @!attribute [rw] filter
915
- # @return [String]
915
+ # @return [::String]
916
916
  # filter to only return infoTypes supported by certain parts of the
917
917
  # API. Defaults to supported_by=INSPECT.
918
918
  # @!attribute [rw] location_id
919
- # @return [String]
919
+ # @return [::String]
920
920
  # The geographic location to list info types. Reserved for future
921
921
  # extensions.
922
922
  class ListInfoTypesRequest
923
- include Google::Protobuf::MessageExts
924
- extend Google::Protobuf::MessageExts::ClassMethods
923
+ include ::Google::Protobuf::MessageExts
924
+ extend ::Google::Protobuf::MessageExts::ClassMethods
925
925
  end
926
926
 
927
927
  # Response to the ListInfoTypes request.
928
928
  # @!attribute [rw] info_types
929
- # @return [Array<Google::Cloud::Dlp::V2::InfoTypeDescription>]
929
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoTypeDescription>]
930
930
  # Set of sensitive infoTypes.
931
931
  class ListInfoTypesResponse
932
- include Google::Protobuf::MessageExts
933
- extend Google::Protobuf::MessageExts::ClassMethods
932
+ include ::Google::Protobuf::MessageExts
933
+ extend ::Google::Protobuf::MessageExts::ClassMethods
934
934
  end
935
935
 
936
936
  # Configuration for a risk analysis job. See
937
937
  # https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more.
938
938
  # @!attribute [rw] privacy_metric
939
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric]
939
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric]
940
940
  # Privacy metric to compute.
941
941
  # @!attribute [rw] source_table
942
- # @return [Google::Cloud::Dlp::V2::BigQueryTable]
942
+ # @return [::Google::Cloud::Dlp::V2::BigQueryTable]
943
943
  # Input dataset to compute metrics over.
944
944
  # @!attribute [rw] actions
945
- # @return [Array<Google::Cloud::Dlp::V2::Action>]
945
+ # @return [::Array<::Google::Cloud::Dlp::V2::Action>]
946
946
  # Actions to execute at the completion of the job. Are executed in the order
947
947
  # provided.
948
948
  class RiskAnalysisJobConfig
949
- include Google::Protobuf::MessageExts
950
- extend Google::Protobuf::MessageExts::ClassMethods
949
+ include ::Google::Protobuf::MessageExts
950
+ extend ::Google::Protobuf::MessageExts::ClassMethods
951
951
  end
952
952
 
953
953
  # A column with a semantic tag attached.
954
954
  # @!attribute [rw] field
955
- # @return [Google::Cloud::Dlp::V2::FieldId]
955
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
956
956
  # Required. Identifies the column.
957
957
  # @!attribute [rw] info_type
958
- # @return [Google::Cloud::Dlp::V2::InfoType]
958
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
959
959
  # A column can be tagged with a InfoType to use the relevant public
960
960
  # dataset as a statistical model of population, if available. We
961
961
  # currently support US ZIP codes, region codes, ages and genders.
962
962
  # To programmatically obtain the list of supported InfoTypes, use
963
963
  # ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
964
964
  # @!attribute [rw] custom_tag
965
- # @return [String]
965
+ # @return [::String]
966
966
  # A column can be tagged with a custom tag. In this case, the user must
967
967
  # indicate an auxiliary table that contains statistical information on
968
968
  # the possible values of this column (below).
969
969
  # @!attribute [rw] inferred
970
- # @return [Google::Protobuf::Empty]
970
+ # @return [::Google::Protobuf::Empty]
971
971
  # If no semantic tag is indicated, we infer the statistical model from
972
972
  # the distribution of values in the input data
973
973
  class QuasiId
974
- include Google::Protobuf::MessageExts
975
- extend Google::Protobuf::MessageExts::ClassMethods
974
+ include ::Google::Protobuf::MessageExts
975
+ extend ::Google::Protobuf::MessageExts::ClassMethods
976
976
  end
977
977
 
978
978
  # An auxiliary table containing statistical information on the relative
@@ -983,92 +983,92 @@ module Google
983
983
  # corresponding relative frequency is assumed to be zero (and thus, the
984
984
  # tuple is highly reidentifiable).
985
985
  # @!attribute [rw] table
986
- # @return [Google::Cloud::Dlp::V2::BigQueryTable]
986
+ # @return [::Google::Cloud::Dlp::V2::BigQueryTable]
987
987
  # Required. Auxiliary table location.
988
988
  # @!attribute [rw] quasi_ids
989
- # @return [Array<Google::Cloud::Dlp::V2::StatisticalTable::QuasiIdentifierField>]
989
+ # @return [::Array<::Google::Cloud::Dlp::V2::StatisticalTable::QuasiIdentifierField>]
990
990
  # Required. Quasi-identifier columns.
991
991
  # @!attribute [rw] relative_frequency
992
- # @return [Google::Cloud::Dlp::V2::FieldId]
992
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
993
993
  # Required. The relative frequency column must contain a floating-point
994
994
  # number between 0 and 1 (inclusive). Null values are assumed to be zero.
995
995
  class StatisticalTable
996
- include Google::Protobuf::MessageExts
997
- extend Google::Protobuf::MessageExts::ClassMethods
996
+ include ::Google::Protobuf::MessageExts
997
+ extend ::Google::Protobuf::MessageExts::ClassMethods
998
998
 
999
999
  # A quasi-identifier column has a custom_tag, used to know which column
1000
1000
  # in the data corresponds to which column in the statistical model.
1001
1001
  # @!attribute [rw] field
1002
- # @return [Google::Cloud::Dlp::V2::FieldId]
1002
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1003
1003
  # Identifies the column.
1004
1004
  # @!attribute [rw] custom_tag
1005
- # @return [String]
1005
+ # @return [::String]
1006
1006
  # A column can be tagged with a custom tag. In this case, the user must
1007
1007
  # indicate an auxiliary table that contains statistical information on
1008
1008
  # the possible values of this column (below).
1009
1009
  class QuasiIdentifierField
1010
- include Google::Protobuf::MessageExts
1011
- extend Google::Protobuf::MessageExts::ClassMethods
1010
+ include ::Google::Protobuf::MessageExts
1011
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1012
1012
  end
1013
1013
  end
1014
1014
 
1015
1015
  # Privacy metric to compute for reidentification risk analysis.
1016
1016
  # @!attribute [rw] numerical_stats_config
1017
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::NumericalStatsConfig]
1017
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::NumericalStatsConfig]
1018
1018
  # Numerical stats
1019
1019
  # @!attribute [rw] categorical_stats_config
1020
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::CategoricalStatsConfig]
1020
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::CategoricalStatsConfig]
1021
1021
  # Categorical stats
1022
1022
  # @!attribute [rw] k_anonymity_config
1023
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::KAnonymityConfig]
1023
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::KAnonymityConfig]
1024
1024
  # K-anonymity
1025
1025
  # @!attribute [rw] l_diversity_config
1026
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::LDiversityConfig]
1026
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::LDiversityConfig]
1027
1027
  # l-diversity
1028
1028
  # @!attribute [rw] k_map_estimation_config
1029
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig]
1029
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig]
1030
1030
  # k-map
1031
1031
  # @!attribute [rw] delta_presence_estimation_config
1032
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric::DeltaPresenceEstimationConfig]
1032
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::DeltaPresenceEstimationConfig]
1033
1033
  # delta-presence
1034
1034
  class PrivacyMetric
1035
- include Google::Protobuf::MessageExts
1036
- extend Google::Protobuf::MessageExts::ClassMethods
1035
+ include ::Google::Protobuf::MessageExts
1036
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1037
1037
 
1038
1038
  # Compute numerical stats over an individual column, including
1039
1039
  # min, max, and quantiles.
1040
1040
  # @!attribute [rw] field
1041
- # @return [Google::Cloud::Dlp::V2::FieldId]
1041
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1042
1042
  # Field to compute numerical stats on. Supported types are
1043
1043
  # integer, float, date, datetime, timestamp, time.
1044
1044
  class NumericalStatsConfig
1045
- include Google::Protobuf::MessageExts
1046
- extend Google::Protobuf::MessageExts::ClassMethods
1045
+ include ::Google::Protobuf::MessageExts
1046
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1047
1047
  end
1048
1048
 
1049
1049
  # Compute numerical stats over an individual column, including
1050
1050
  # number of distinct values and value count distribution.
1051
1051
  # @!attribute [rw] field
1052
- # @return [Google::Cloud::Dlp::V2::FieldId]
1052
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1053
1053
  # Field to compute categorical stats on. All column types are
1054
1054
  # supported except for arrays and structs. However, it may be more
1055
1055
  # informative to use NumericalStats when the field type is supported,
1056
1056
  # depending on the data.
1057
1057
  class CategoricalStatsConfig
1058
- include Google::Protobuf::MessageExts
1059
- extend Google::Protobuf::MessageExts::ClassMethods
1058
+ include ::Google::Protobuf::MessageExts
1059
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1060
1060
  end
1061
1061
 
1062
1062
  # k-anonymity metric, used for analysis of reidentification risk.
1063
1063
  # @!attribute [rw] quasi_ids
1064
- # @return [Array<Google::Cloud::Dlp::V2::FieldId>]
1064
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
1065
1065
  # Set of fields to compute k-anonymity over. When multiple fields are
1066
1066
  # specified, they are considered a single composite key. Structs and
1067
1067
  # repeated data types are not supported; however, nested fields are
1068
1068
  # supported so long as they are not structs themselves or nested within
1069
1069
  # a repeated field.
1070
1070
  # @!attribute [rw] entity_id
1071
- # @return [Google::Cloud::Dlp::V2::EntityId]
1071
+ # @return [::Google::Cloud::Dlp::V2::EntityId]
1072
1072
  # Message indicating that multiple rows might be associated to a
1073
1073
  # single individual. If the same entity_id is associated to multiple
1074
1074
  # quasi-identifier tuples over distinct rows, we consider the entire
@@ -1080,22 +1080,22 @@ module Google
1080
1080
  # entity ID. If more rows are associated with the same entity ID, some
1081
1081
  # might be ignored.
1082
1082
  class KAnonymityConfig
1083
- include Google::Protobuf::MessageExts
1084
- extend Google::Protobuf::MessageExts::ClassMethods
1083
+ include ::Google::Protobuf::MessageExts
1084
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1085
1085
  end
1086
1086
 
1087
1087
  # l-diversity metric, used for analysis of reidentification risk.
1088
1088
  # @!attribute [rw] quasi_ids
1089
- # @return [Array<Google::Cloud::Dlp::V2::FieldId>]
1089
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
1090
1090
  # Set of quasi-identifiers indicating how equivalence classes are
1091
1091
  # defined for the l-diversity computation. When multiple fields are
1092
1092
  # specified, they are considered a single composite key.
1093
1093
  # @!attribute [rw] sensitive_attribute
1094
- # @return [Google::Cloud::Dlp::V2::FieldId]
1094
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1095
1095
  # Sensitive field for computing the l-value.
1096
1096
  class LDiversityConfig
1097
- include Google::Protobuf::MessageExts
1098
- extend Google::Protobuf::MessageExts::ClassMethods
1097
+ include ::Google::Protobuf::MessageExts
1098
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1099
1099
  end
1100
1100
 
1101
1101
  # Reidentifiability metric. This corresponds to a risk model similar to what
@@ -1105,46 +1105,46 @@ module Google
1105
1105
  # statistical model (indicated as one or several BigQuery tables), or by
1106
1106
  # extrapolating from the distribution of values in the input dataset.
1107
1107
  # @!attribute [rw] quasi_ids
1108
- # @return [Array<Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::TaggedField>]
1108
+ # @return [::Array<::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::TaggedField>]
1109
1109
  # Required. Fields considered to be quasi-identifiers. No two columns can
1110
1110
  # have the same tag.
1111
1111
  # @!attribute [rw] region_code
1112
- # @return [String]
1112
+ # @return [::String]
1113
1113
  # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
1114
1114
  # Set if no column is tagged with a region-specific InfoType (like
1115
1115
  # US_ZIP_5) or a region code.
1116
1116
  # @!attribute [rw] auxiliary_tables
1117
- # @return [Array<Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::AuxiliaryTable>]
1117
+ # @return [::Array<::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::AuxiliaryTable>]
1118
1118
  # Several auxiliary tables can be used in the analysis. Each custom_tag
1119
1119
  # used to tag a quasi-identifiers column must appear in exactly one column
1120
1120
  # of one auxiliary table.
1121
1121
  class KMapEstimationConfig
1122
- include Google::Protobuf::MessageExts
1123
- extend Google::Protobuf::MessageExts::ClassMethods
1122
+ include ::Google::Protobuf::MessageExts
1123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1124
1124
 
1125
1125
  # A column with a semantic tag attached.
1126
1126
  # @!attribute [rw] field
1127
- # @return [Google::Cloud::Dlp::V2::FieldId]
1127
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1128
1128
  # Required. Identifies the column.
1129
1129
  # @!attribute [rw] info_type
1130
- # @return [Google::Cloud::Dlp::V2::InfoType]
1130
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
1131
1131
  # A column can be tagged with a InfoType to use the relevant public
1132
1132
  # dataset as a statistical model of population, if available. We
1133
1133
  # currently support US ZIP codes, region codes, ages and genders.
1134
1134
  # To programmatically obtain the list of supported InfoTypes, use
1135
1135
  # ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
1136
1136
  # @!attribute [rw] custom_tag
1137
- # @return [String]
1137
+ # @return [::String]
1138
1138
  # A column can be tagged with a custom tag. In this case, the user must
1139
1139
  # indicate an auxiliary table that contains statistical information on
1140
1140
  # the possible values of this column (below).
1141
1141
  # @!attribute [rw] inferred
1142
- # @return [Google::Protobuf::Empty]
1142
+ # @return [::Google::Protobuf::Empty]
1143
1143
  # If no semantic tag is indicated, we infer the statistical model from
1144
1144
  # the distribution of values in the input data
1145
1145
  class TaggedField
1146
- include Google::Protobuf::MessageExts
1147
- extend Google::Protobuf::MessageExts::ClassMethods
1146
+ include ::Google::Protobuf::MessageExts
1147
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1148
1148
  end
1149
1149
 
1150
1150
  # An auxiliary table contains statistical information on the relative
@@ -1155,30 +1155,30 @@ module Google
1155
1155
  # corresponding relative frequency is assumed to be zero (and thus, the
1156
1156
  # tuple is highly reidentifiable).
1157
1157
  # @!attribute [rw] table
1158
- # @return [Google::Cloud::Dlp::V2::BigQueryTable]
1158
+ # @return [::Google::Cloud::Dlp::V2::BigQueryTable]
1159
1159
  # Required. Auxiliary table location.
1160
1160
  # @!attribute [rw] quasi_ids
1161
- # @return [Array<Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::AuxiliaryTable::QuasiIdField>]
1161
+ # @return [::Array<::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig::AuxiliaryTable::QuasiIdField>]
1162
1162
  # Required. Quasi-identifier columns.
1163
1163
  # @!attribute [rw] relative_frequency
1164
- # @return [Google::Cloud::Dlp::V2::FieldId]
1164
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1165
1165
  # Required. The relative frequency column must contain a floating-point
1166
1166
  # number between 0 and 1 (inclusive). Null values are assumed to be zero.
1167
1167
  class AuxiliaryTable
1168
- include Google::Protobuf::MessageExts
1169
- extend Google::Protobuf::MessageExts::ClassMethods
1168
+ include ::Google::Protobuf::MessageExts
1169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1170
1170
 
1171
1171
  # A quasi-identifier column has a custom_tag, used to know which column
1172
1172
  # in the data corresponds to which column in the statistical model.
1173
1173
  # @!attribute [rw] field
1174
- # @return [Google::Cloud::Dlp::V2::FieldId]
1174
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1175
1175
  # Identifies the column.
1176
1176
  # @!attribute [rw] custom_tag
1177
- # @return [String]
1177
+ # @return [::String]
1178
1178
  # A auxiliary field.
1179
1179
  class QuasiIdField
1180
- include Google::Protobuf::MessageExts
1181
- extend Google::Protobuf::MessageExts::ClassMethods
1180
+ include ::Google::Protobuf::MessageExts
1181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1182
1182
  end
1183
1183
  end
1184
1184
  end
@@ -1188,203 +1188,203 @@ module Google
1188
1188
  # Similarly to the k-map metric, we cannot compute δ-presence exactly without
1189
1189
  # knowing the attack dataset, so we use a statistical model instead.
1190
1190
  # @!attribute [rw] quasi_ids
1191
- # @return [Array<Google::Cloud::Dlp::V2::QuasiId>]
1191
+ # @return [::Array<::Google::Cloud::Dlp::V2::QuasiId>]
1192
1192
  # Required. Fields considered to be quasi-identifiers. No two fields can
1193
1193
  # have the same tag.
1194
1194
  # @!attribute [rw] region_code
1195
- # @return [String]
1195
+ # @return [::String]
1196
1196
  # ISO 3166-1 alpha-2 region code to use in the statistical modeling.
1197
1197
  # Set if no column is tagged with a region-specific InfoType (like
1198
1198
  # US_ZIP_5) or a region code.
1199
1199
  # @!attribute [rw] auxiliary_tables
1200
- # @return [Array<Google::Cloud::Dlp::V2::StatisticalTable>]
1200
+ # @return [::Array<::Google::Cloud::Dlp::V2::StatisticalTable>]
1201
1201
  # Several auxiliary tables can be used in the analysis. Each custom_tag
1202
1202
  # used to tag a quasi-identifiers field must appear in exactly one
1203
1203
  # field of one auxiliary table.
1204
1204
  class DeltaPresenceEstimationConfig
1205
- include Google::Protobuf::MessageExts
1206
- extend Google::Protobuf::MessageExts::ClassMethods
1205
+ include ::Google::Protobuf::MessageExts
1206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1207
1207
  end
1208
1208
  end
1209
1209
 
1210
1210
  # Result of a risk analysis operation request.
1211
1211
  # @!attribute [rw] requested_privacy_metric
1212
- # @return [Google::Cloud::Dlp::V2::PrivacyMetric]
1212
+ # @return [::Google::Cloud::Dlp::V2::PrivacyMetric]
1213
1213
  # Privacy metric to compute.
1214
1214
  # @!attribute [rw] requested_source_table
1215
- # @return [Google::Cloud::Dlp::V2::BigQueryTable]
1215
+ # @return [::Google::Cloud::Dlp::V2::BigQueryTable]
1216
1216
  # Input dataset to compute metrics over.
1217
1217
  # @!attribute [rw] numerical_stats_result
1218
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult]
1218
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult]
1219
1219
  # Numerical stats result
1220
1220
  # @!attribute [rw] categorical_stats_result
1221
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult]
1221
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult]
1222
1222
  # Categorical stats result
1223
1223
  # @!attribute [rw] k_anonymity_result
1224
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult]
1224
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult]
1225
1225
  # K-anonymity result
1226
1226
  # @!attribute [rw] l_diversity_result
1227
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult]
1227
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult]
1228
1228
  # L-divesity result
1229
1229
  # @!attribute [rw] k_map_estimation_result
1230
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult]
1230
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult]
1231
1231
  # K-map result
1232
1232
  # @!attribute [rw] delta_presence_estimation_result
1233
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult]
1233
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult]
1234
1234
  # Delta-presence result
1235
1235
  class AnalyzeDataSourceRiskDetails
1236
- include Google::Protobuf::MessageExts
1237
- extend Google::Protobuf::MessageExts::ClassMethods
1236
+ include ::Google::Protobuf::MessageExts
1237
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1238
1238
 
1239
1239
  # Result of the numerical stats computation.
1240
1240
  # @!attribute [rw] min_value
1241
- # @return [Google::Cloud::Dlp::V2::Value]
1241
+ # @return [::Google::Cloud::Dlp::V2::Value]
1242
1242
  # Minimum value appearing in the column.
1243
1243
  # @!attribute [rw] max_value
1244
- # @return [Google::Cloud::Dlp::V2::Value]
1244
+ # @return [::Google::Cloud::Dlp::V2::Value]
1245
1245
  # Maximum value appearing in the column.
1246
1246
  # @!attribute [rw] quantile_values
1247
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
1247
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
1248
1248
  # List of 99 values that partition the set of field values into 100 equal
1249
1249
  # sized buckets.
1250
1250
  class NumericalStatsResult
1251
- include Google::Protobuf::MessageExts
1252
- extend Google::Protobuf::MessageExts::ClassMethods
1251
+ include ::Google::Protobuf::MessageExts
1252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1253
1253
  end
1254
1254
 
1255
1255
  # Result of the categorical stats computation.
1256
1256
  # @!attribute [rw] value_frequency_histogram_buckets
1257
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult::CategoricalStatsHistogramBucket>]
1257
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult::CategoricalStatsHistogramBucket>]
1258
1258
  # Histogram of value frequencies in the column.
1259
1259
  class CategoricalStatsResult
1260
- include Google::Protobuf::MessageExts
1261
- extend Google::Protobuf::MessageExts::ClassMethods
1260
+ include ::Google::Protobuf::MessageExts
1261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1262
1262
 
1263
1263
  # Histogram of value frequencies in the column.
1264
1264
  # @!attribute [rw] value_frequency_lower_bound
1265
- # @return [Integer]
1265
+ # @return [::Integer]
1266
1266
  # Lower bound on the value frequency of the values in this bucket.
1267
1267
  # @!attribute [rw] value_frequency_upper_bound
1268
- # @return [Integer]
1268
+ # @return [::Integer]
1269
1269
  # Upper bound on the value frequency of the values in this bucket.
1270
1270
  # @!attribute [rw] bucket_size
1271
- # @return [Integer]
1271
+ # @return [::Integer]
1272
1272
  # Total number of values in this bucket.
1273
1273
  # @!attribute [rw] bucket_values
1274
- # @return [Array<Google::Cloud::Dlp::V2::ValueFrequency>]
1274
+ # @return [::Array<::Google::Cloud::Dlp::V2::ValueFrequency>]
1275
1275
  # Sample of value frequencies in this bucket. The total number of
1276
1276
  # values returned per bucket is capped at 20.
1277
1277
  # @!attribute [rw] bucket_value_count
1278
- # @return [Integer]
1278
+ # @return [::Integer]
1279
1279
  # Total number of distinct values in this bucket.
1280
1280
  class CategoricalStatsHistogramBucket
1281
- include Google::Protobuf::MessageExts
1282
- extend Google::Protobuf::MessageExts::ClassMethods
1281
+ include ::Google::Protobuf::MessageExts
1282
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1283
1283
  end
1284
1284
  end
1285
1285
 
1286
1286
  # Result of the k-anonymity computation.
1287
1287
  # @!attribute [rw] equivalence_class_histogram_buckets
1288
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityHistogramBucket>]
1288
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityHistogramBucket>]
1289
1289
  # Histogram of k-anonymity equivalence classes.
1290
1290
  class KAnonymityResult
1291
- include Google::Protobuf::MessageExts
1292
- extend Google::Protobuf::MessageExts::ClassMethods
1291
+ include ::Google::Protobuf::MessageExts
1292
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1293
1293
 
1294
1294
  # The set of columns' values that share the same ldiversity value
1295
1295
  # @!attribute [rw] quasi_ids_values
1296
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
1296
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
1297
1297
  # Set of values defining the equivalence class. One value per
1298
1298
  # quasi-identifier column in the original KAnonymity metric message.
1299
1299
  # The order is always the same as the original request.
1300
1300
  # @!attribute [rw] equivalence_class_size
1301
- # @return [Integer]
1301
+ # @return [::Integer]
1302
1302
  # Size of the equivalence class, for example number of rows with the
1303
1303
  # above set of values.
1304
1304
  class KAnonymityEquivalenceClass
1305
- include Google::Protobuf::MessageExts
1306
- extend Google::Protobuf::MessageExts::ClassMethods
1305
+ include ::Google::Protobuf::MessageExts
1306
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1307
1307
  end
1308
1308
 
1309
1309
  # Histogram of k-anonymity equivalence classes.
1310
1310
  # @!attribute [rw] equivalence_class_size_lower_bound
1311
- # @return [Integer]
1311
+ # @return [::Integer]
1312
1312
  # Lower bound on the size of the equivalence classes in this bucket.
1313
1313
  # @!attribute [rw] equivalence_class_size_upper_bound
1314
- # @return [Integer]
1314
+ # @return [::Integer]
1315
1315
  # Upper bound on the size of the equivalence classes in this bucket.
1316
1316
  # @!attribute [rw] bucket_size
1317
- # @return [Integer]
1317
+ # @return [::Integer]
1318
1318
  # Total number of equivalence classes in this bucket.
1319
1319
  # @!attribute [rw] bucket_values
1320
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityEquivalenceClass>]
1320
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult::KAnonymityEquivalenceClass>]
1321
1321
  # Sample of equivalence classes in this bucket. The total number of
1322
1322
  # classes returned per bucket is capped at 20.
1323
1323
  # @!attribute [rw] bucket_value_count
1324
- # @return [Integer]
1324
+ # @return [::Integer]
1325
1325
  # Total number of distinct equivalence classes in this bucket.
1326
1326
  class KAnonymityHistogramBucket
1327
- include Google::Protobuf::MessageExts
1328
- extend Google::Protobuf::MessageExts::ClassMethods
1327
+ include ::Google::Protobuf::MessageExts
1328
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1329
1329
  end
1330
1330
  end
1331
1331
 
1332
1332
  # Result of the l-diversity computation.
1333
1333
  # @!attribute [rw] sensitive_value_frequency_histogram_buckets
1334
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityHistogramBucket>]
1334
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityHistogramBucket>]
1335
1335
  # Histogram of l-diversity equivalence class sensitive value frequencies.
1336
1336
  class LDiversityResult
1337
- include Google::Protobuf::MessageExts
1338
- extend Google::Protobuf::MessageExts::ClassMethods
1337
+ include ::Google::Protobuf::MessageExts
1338
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1339
1339
 
1340
1340
  # The set of columns' values that share the same ldiversity value.
1341
1341
  # @!attribute [rw] quasi_ids_values
1342
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
1342
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
1343
1343
  # Quasi-identifier values defining the k-anonymity equivalence
1344
1344
  # class. The order is always the same as the original request.
1345
1345
  # @!attribute [rw] equivalence_class_size
1346
- # @return [Integer]
1346
+ # @return [::Integer]
1347
1347
  # Size of the k-anonymity equivalence class.
1348
1348
  # @!attribute [rw] num_distinct_sensitive_values
1349
- # @return [Integer]
1349
+ # @return [::Integer]
1350
1350
  # Number of distinct sensitive values in this equivalence class.
1351
1351
  # @!attribute [rw] top_sensitive_values
1352
- # @return [Array<Google::Cloud::Dlp::V2::ValueFrequency>]
1352
+ # @return [::Array<::Google::Cloud::Dlp::V2::ValueFrequency>]
1353
1353
  # Estimated frequencies of top sensitive values.
1354
1354
  class LDiversityEquivalenceClass
1355
- include Google::Protobuf::MessageExts
1356
- extend Google::Protobuf::MessageExts::ClassMethods
1355
+ include ::Google::Protobuf::MessageExts
1356
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1357
1357
  end
1358
1358
 
1359
1359
  # Histogram of l-diversity equivalence class sensitive value frequencies.
1360
1360
  # @!attribute [rw] sensitive_value_frequency_lower_bound
1361
- # @return [Integer]
1361
+ # @return [::Integer]
1362
1362
  # Lower bound on the sensitive value frequencies of the equivalence
1363
1363
  # classes in this bucket.
1364
1364
  # @!attribute [rw] sensitive_value_frequency_upper_bound
1365
- # @return [Integer]
1365
+ # @return [::Integer]
1366
1366
  # Upper bound on the sensitive value frequencies of the equivalence
1367
1367
  # classes in this bucket.
1368
1368
  # @!attribute [rw] bucket_size
1369
- # @return [Integer]
1369
+ # @return [::Integer]
1370
1370
  # Total number of equivalence classes in this bucket.
1371
1371
  # @!attribute [rw] bucket_values
1372
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityEquivalenceClass>]
1372
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult::LDiversityEquivalenceClass>]
1373
1373
  # Sample of equivalence classes in this bucket. The total number of
1374
1374
  # classes returned per bucket is capped at 20.
1375
1375
  # @!attribute [rw] bucket_value_count
1376
- # @return [Integer]
1376
+ # @return [::Integer]
1377
1377
  # Total number of distinct equivalence classes in this bucket.
1378
1378
  class LDiversityHistogramBucket
1379
- include Google::Protobuf::MessageExts
1380
- extend Google::Protobuf::MessageExts::ClassMethods
1379
+ include ::Google::Protobuf::MessageExts
1380
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1381
1381
  end
1382
1382
  end
1383
1383
 
1384
1384
  # Result of the reidentifiability analysis. Note that these results are an
1385
1385
  # estimation, not exact values.
1386
1386
  # @!attribute [rw] k_map_estimation_histogram
1387
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationHistogramBucket>]
1387
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationHistogramBucket>]
1388
1388
  # The intervals [min_anonymity, max_anonymity] do not overlap. If a value
1389
1389
  # doesn't correspond to any such interval, the associated frequency is
1390
1390
  # zero. For example, the following records:
@@ -1394,19 +1394,19 @@ module Google
1394
1394
  # mean that there are no record with an estimated anonymity of 4, 5, or
1395
1395
  # larger than 10.
1396
1396
  class KMapEstimationResult
1397
- include Google::Protobuf::MessageExts
1398
- extend Google::Protobuf::MessageExts::ClassMethods
1397
+ include ::Google::Protobuf::MessageExts
1398
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1399
1399
 
1400
1400
  # A tuple of values for the quasi-identifier columns.
1401
1401
  # @!attribute [rw] quasi_ids_values
1402
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
1402
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
1403
1403
  # The quasi-identifier values.
1404
1404
  # @!attribute [rw] estimated_anonymity
1405
- # @return [Integer]
1405
+ # @return [::Integer]
1406
1406
  # The estimated anonymity for these quasi-identifier values.
1407
1407
  class KMapEstimationQuasiIdValues
1408
- include Google::Protobuf::MessageExts
1409
- extend Google::Protobuf::MessageExts::ClassMethods
1408
+ include ::Google::Protobuf::MessageExts
1409
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1410
1410
  end
1411
1411
 
1412
1412
  # A KMapEstimationHistogramBucket message with the following values:
@@ -1418,31 +1418,31 @@ module Google
1418
1418
  # case is when min_anonymity = max_anonymity = 1: the frequency field then
1419
1419
  # corresponds to the number of uniquely identifiable records.
1420
1420
  # @!attribute [rw] min_anonymity
1421
- # @return [Integer]
1421
+ # @return [::Integer]
1422
1422
  # Always positive.
1423
1423
  # @!attribute [rw] max_anonymity
1424
- # @return [Integer]
1424
+ # @return [::Integer]
1425
1425
  # Always greater than or equal to min_anonymity.
1426
1426
  # @!attribute [rw] bucket_size
1427
- # @return [Integer]
1427
+ # @return [::Integer]
1428
1428
  # Number of records within these anonymity bounds.
1429
1429
  # @!attribute [rw] bucket_values
1430
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationQuasiIdValues>]
1430
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult::KMapEstimationQuasiIdValues>]
1431
1431
  # Sample of quasi-identifier tuple values in this bucket. The total
1432
1432
  # number of classes returned per bucket is capped at 20.
1433
1433
  # @!attribute [rw] bucket_value_count
1434
- # @return [Integer]
1434
+ # @return [::Integer]
1435
1435
  # Total number of distinct quasi-identifier tuple values in this bucket.
1436
1436
  class KMapEstimationHistogramBucket
1437
- include Google::Protobuf::MessageExts
1438
- extend Google::Protobuf::MessageExts::ClassMethods
1437
+ include ::Google::Protobuf::MessageExts
1438
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1439
1439
  end
1440
1440
  end
1441
1441
 
1442
1442
  # Result of the δ-presence computation. Note that these results are an
1443
1443
  # estimation, not exact values.
1444
1444
  # @!attribute [rw] delta_presence_estimation_histogram
1445
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket>]
1445
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket>]
1446
1446
  # The intervals [min_probability, max_probability) do not overlap. If a
1447
1447
  # value doesn't correspond to any such interval, the associated frequency
1448
1448
  # is zero. For example, the following records:
@@ -1452,15 +1452,15 @@ module Google
1452
1452
  # mean that there are no record with an estimated probability in [0.1, 0.2)
1453
1453
  # nor larger or equal to 0.4.
1454
1454
  class DeltaPresenceEstimationResult
1455
- include Google::Protobuf::MessageExts
1456
- extend Google::Protobuf::MessageExts::ClassMethods
1455
+ include ::Google::Protobuf::MessageExts
1456
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1457
1457
 
1458
1458
  # A tuple of values for the quasi-identifier columns.
1459
1459
  # @!attribute [rw] quasi_ids_values
1460
- # @return [Array<Google::Cloud::Dlp::V2::Value>]
1460
+ # @return [::Array<::Google::Cloud::Dlp::V2::Value>]
1461
1461
  # The quasi-identifier values.
1462
1462
  # @!attribute [rw] estimated_probability
1463
- # @return [Float]
1463
+ # @return [::Float]
1464
1464
  # The estimated probability that a given individual sharing these
1465
1465
  # quasi-identifier values is in the dataset. This value, typically called
1466
1466
  # δ, is the ratio between the number of records in the dataset with these
@@ -1470,8 +1470,8 @@ module Google
1470
1470
  # same quasi-identifier values, and an estimated 100 people in the entire
1471
1471
  # population with these values, then δ is 0.15.
1472
1472
  class DeltaPresenceEstimationQuasiIdValues
1473
- include Google::Protobuf::MessageExts
1474
- extend Google::Protobuf::MessageExts::ClassMethods
1473
+ include ::Google::Protobuf::MessageExts
1474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1475
1475
  end
1476
1476
 
1477
1477
  # A DeltaPresenceEstimationHistogramBucket message with the following
@@ -1484,38 +1484,38 @@ module Google
1484
1484
  # then, every individual who shares this quasi-identifier combination is in
1485
1485
  # the dataset.
1486
1486
  # @!attribute [rw] min_probability
1487
- # @return [Float]
1487
+ # @return [::Float]
1488
1488
  # Between 0 and 1.
1489
1489
  # @!attribute [rw] max_probability
1490
- # @return [Float]
1490
+ # @return [::Float]
1491
1491
  # Always greater than or equal to min_probability.
1492
1492
  # @!attribute [rw] bucket_size
1493
- # @return [Integer]
1493
+ # @return [::Integer]
1494
1494
  # Number of records within these probability bounds.
1495
1495
  # @!attribute [rw] bucket_values
1496
- # @return [Array<Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationQuasiIdValues>]
1496
+ # @return [::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationQuasiIdValues>]
1497
1497
  # Sample of quasi-identifier tuple values in this bucket. The total
1498
1498
  # number of classes returned per bucket is capped at 20.
1499
1499
  # @!attribute [rw] bucket_value_count
1500
- # @return [Integer]
1500
+ # @return [::Integer]
1501
1501
  # Total number of distinct quasi-identifier tuple values in this bucket.
1502
1502
  class DeltaPresenceEstimationHistogramBucket
1503
- include Google::Protobuf::MessageExts
1504
- extend Google::Protobuf::MessageExts::ClassMethods
1503
+ include ::Google::Protobuf::MessageExts
1504
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1505
1505
  end
1506
1506
  end
1507
1507
  end
1508
1508
 
1509
1509
  # A value of a field, including its frequency.
1510
1510
  # @!attribute [rw] value
1511
- # @return [Google::Cloud::Dlp::V2::Value]
1511
+ # @return [::Google::Cloud::Dlp::V2::Value]
1512
1512
  # A value contained in the field in question.
1513
1513
  # @!attribute [rw] count
1514
- # @return [Integer]
1514
+ # @return [::Integer]
1515
1515
  # How many times the value is contained in the field.
1516
1516
  class ValueFrequency
1517
- include Google::Protobuf::MessageExts
1518
- extend Google::Protobuf::MessageExts::ClassMethods
1517
+ include ::Google::Protobuf::MessageExts
1518
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1519
1519
  end
1520
1520
 
1521
1521
  # Set of primitive values supported by the system.
@@ -1525,90 +1525,90 @@ module Google
1525
1525
  # 123456789, the number of bytes would be counted as 9, even though an
1526
1526
  # int64 only holds up to 8 bytes of data.
1527
1527
  # @!attribute [rw] integer_value
1528
- # @return [Integer]
1528
+ # @return [::Integer]
1529
1529
  # integer
1530
1530
  # @!attribute [rw] float_value
1531
- # @return [Float]
1531
+ # @return [::Float]
1532
1532
  # float
1533
1533
  # @!attribute [rw] string_value
1534
- # @return [String]
1534
+ # @return [::String]
1535
1535
  # string
1536
1536
  # @!attribute [rw] boolean_value
1537
- # @return [Boolean]
1537
+ # @return [::Boolean]
1538
1538
  # boolean
1539
1539
  # @!attribute [rw] timestamp_value
1540
- # @return [Google::Protobuf::Timestamp]
1540
+ # @return [::Google::Protobuf::Timestamp]
1541
1541
  # timestamp
1542
1542
  # @!attribute [rw] time_value
1543
- # @return [Google::Type::TimeOfDay]
1543
+ # @return [::Google::Type::TimeOfDay]
1544
1544
  # time of day
1545
1545
  # @!attribute [rw] date_value
1546
- # @return [Google::Type::Date]
1546
+ # @return [::Google::Type::Date]
1547
1547
  # date
1548
1548
  # @!attribute [rw] day_of_week_value
1549
- # @return [Google::Type::DayOfWeek]
1549
+ # @return [::Google::Type::DayOfWeek]
1550
1550
  # day of week
1551
1551
  class Value
1552
- include Google::Protobuf::MessageExts
1553
- extend Google::Protobuf::MessageExts::ClassMethods
1552
+ include ::Google::Protobuf::MessageExts
1553
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1554
1554
  end
1555
1555
 
1556
1556
  # Message for infoType-dependent details parsed from quote.
1557
1557
  # @!attribute [rw] date_time
1558
- # @return [Google::Cloud::Dlp::V2::DateTime]
1558
+ # @return [::Google::Cloud::Dlp::V2::DateTime]
1559
1559
  # The date time indicated by the quote.
1560
1560
  class QuoteInfo
1561
- include Google::Protobuf::MessageExts
1562
- extend Google::Protobuf::MessageExts::ClassMethods
1561
+ include ::Google::Protobuf::MessageExts
1562
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1563
1563
  end
1564
1564
 
1565
1565
  # Message for a date time object.
1566
1566
  # e.g. 2018-01-01, 5th August.
1567
1567
  # @!attribute [rw] date
1568
- # @return [Google::Type::Date]
1568
+ # @return [::Google::Type::Date]
1569
1569
  # One or more of the following must be set.
1570
1570
  # Must be a valid date or time value.
1571
1571
  # @!attribute [rw] day_of_week
1572
- # @return [Google::Type::DayOfWeek]
1572
+ # @return [::Google::Type::DayOfWeek]
1573
1573
  # Day of week
1574
1574
  # @!attribute [rw] time
1575
- # @return [Google::Type::TimeOfDay]
1575
+ # @return [::Google::Type::TimeOfDay]
1576
1576
  # Time of day
1577
1577
  # @!attribute [rw] time_zone
1578
- # @return [Google::Cloud::Dlp::V2::DateTime::TimeZone]
1578
+ # @return [::Google::Cloud::Dlp::V2::DateTime::TimeZone]
1579
1579
  # Time zone
1580
1580
  class DateTime
1581
- include Google::Protobuf::MessageExts
1582
- extend Google::Protobuf::MessageExts::ClassMethods
1581
+ include ::Google::Protobuf::MessageExts
1582
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1583
1583
 
1584
1584
  # Time zone of the date time object.
1585
1585
  # @!attribute [rw] offset_minutes
1586
- # @return [Integer]
1586
+ # @return [::Integer]
1587
1587
  # Set only if the offset can be determined. Positive for time ahead of UTC.
1588
1588
  # E.g. For "UTC-9", this value is -540.
1589
1589
  class TimeZone
1590
- include Google::Protobuf::MessageExts
1591
- extend Google::Protobuf::MessageExts::ClassMethods
1590
+ include ::Google::Protobuf::MessageExts
1591
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1592
1592
  end
1593
1593
  end
1594
1594
 
1595
1595
  # The configuration that controls how the data will change.
1596
1596
  # @!attribute [rw] info_type_transformations
1597
- # @return [Google::Cloud::Dlp::V2::InfoTypeTransformations]
1597
+ # @return [::Google::Cloud::Dlp::V2::InfoTypeTransformations]
1598
1598
  # Treat the dataset as free-form text and apply the same free text
1599
1599
  # transformation everywhere.
1600
1600
  # @!attribute [rw] record_transformations
1601
- # @return [Google::Cloud::Dlp::V2::RecordTransformations]
1601
+ # @return [::Google::Cloud::Dlp::V2::RecordTransformations]
1602
1602
  # Treat the dataset as structured. Transformations can be applied to
1603
1603
  # specific locations within structured datasets, such as transforming
1604
1604
  # a column within a table.
1605
1605
  # @!attribute [rw] transformation_error_handling
1606
- # @return [Google::Cloud::Dlp::V2::TransformationErrorHandling]
1606
+ # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling]
1607
1607
  # Mode for handling transformation errors. If left unspecified, the default
1608
1608
  # mode is `TransformationErrorHandling.ThrowError`.
1609
1609
  class DeidentifyConfig
1610
- include Google::Protobuf::MessageExts
1611
- extend Google::Protobuf::MessageExts::ClassMethods
1610
+ include ::Google::Protobuf::MessageExts
1611
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1612
1612
  end
1613
1613
 
1614
1614
  # How to handle transformation errors during de-identification. A
@@ -1620,19 +1620,19 @@ module Google
1620
1620
  # handled, is returned in the response as part of the
1621
1621
  # `TransformationOverviews`.
1622
1622
  # @!attribute [rw] throw_error
1623
- # @return [Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError]
1623
+ # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError]
1624
1624
  # Throw an error
1625
1625
  # @!attribute [rw] leave_untransformed
1626
- # @return [Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed]
1626
+ # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed]
1627
1627
  # Ignore errors
1628
1628
  class TransformationErrorHandling
1629
- include Google::Protobuf::MessageExts
1630
- extend Google::Protobuf::MessageExts::ClassMethods
1629
+ include ::Google::Protobuf::MessageExts
1630
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1631
1631
 
1632
1632
  # Throw an error and fail the request when a transformation error occurs.
1633
1633
  class ThrowError
1634
- include Google::Protobuf::MessageExts
1635
- extend Google::Protobuf::MessageExts::ClassMethods
1634
+ include ::Google::Protobuf::MessageExts
1635
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1636
1636
  end
1637
1637
 
1638
1638
  # Skips the data without modifying it if the requested transformation would
@@ -1640,58 +1640,58 @@ module Google
1640
1640
  # an an IP address, this mode would leave the IP address unchanged in the
1641
1641
  # response.
1642
1642
  class LeaveUntransformed
1643
- include Google::Protobuf::MessageExts
1644
- extend Google::Protobuf::MessageExts::ClassMethods
1643
+ include ::Google::Protobuf::MessageExts
1644
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1645
1645
  end
1646
1646
  end
1647
1647
 
1648
1648
  # A rule for transforming a value.
1649
1649
  # @!attribute [rw] replace_config
1650
- # @return [Google::Cloud::Dlp::V2::ReplaceValueConfig]
1650
+ # @return [::Google::Cloud::Dlp::V2::ReplaceValueConfig]
1651
1651
  # Replace
1652
1652
  # @!attribute [rw] redact_config
1653
- # @return [Google::Cloud::Dlp::V2::RedactConfig]
1653
+ # @return [::Google::Cloud::Dlp::V2::RedactConfig]
1654
1654
  # Redact
1655
1655
  # @!attribute [rw] character_mask_config
1656
- # @return [Google::Cloud::Dlp::V2::CharacterMaskConfig]
1656
+ # @return [::Google::Cloud::Dlp::V2::CharacterMaskConfig]
1657
1657
  # Mask
1658
1658
  # @!attribute [rw] crypto_replace_ffx_fpe_config
1659
- # @return [Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig]
1659
+ # @return [::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig]
1660
1660
  # Ffx-Fpe
1661
1661
  # @!attribute [rw] fixed_size_bucketing_config
1662
- # @return [Google::Cloud::Dlp::V2::FixedSizeBucketingConfig]
1662
+ # @return [::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig]
1663
1663
  # Fixed size bucketing
1664
1664
  # @!attribute [rw] bucketing_config
1665
- # @return [Google::Cloud::Dlp::V2::BucketingConfig]
1665
+ # @return [::Google::Cloud::Dlp::V2::BucketingConfig]
1666
1666
  # Bucketing
1667
1667
  # @!attribute [rw] replace_with_info_type_config
1668
- # @return [Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig]
1668
+ # @return [::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig]
1669
1669
  # Replace with infotype
1670
1670
  # @!attribute [rw] time_part_config
1671
- # @return [Google::Cloud::Dlp::V2::TimePartConfig]
1671
+ # @return [::Google::Cloud::Dlp::V2::TimePartConfig]
1672
1672
  # Time extraction
1673
1673
  # @!attribute [rw] crypto_hash_config
1674
- # @return [Google::Cloud::Dlp::V2::CryptoHashConfig]
1674
+ # @return [::Google::Cloud::Dlp::V2::CryptoHashConfig]
1675
1675
  # Crypto
1676
1676
  # @!attribute [rw] date_shift_config
1677
- # @return [Google::Cloud::Dlp::V2::DateShiftConfig]
1677
+ # @return [::Google::Cloud::Dlp::V2::DateShiftConfig]
1678
1678
  # Date Shift
1679
1679
  # @!attribute [rw] crypto_deterministic_config
1680
- # @return [Google::Cloud::Dlp::V2::CryptoDeterministicConfig]
1680
+ # @return [::Google::Cloud::Dlp::V2::CryptoDeterministicConfig]
1681
1681
  # Deterministic Crypto
1682
1682
  class PrimitiveTransformation
1683
- include Google::Protobuf::MessageExts
1684
- extend Google::Protobuf::MessageExts::ClassMethods
1683
+ include ::Google::Protobuf::MessageExts
1684
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1685
1685
  end
1686
1686
 
1687
1687
  # For use with `Date`, `Timestamp`, and `TimeOfDay`, extract or preserve a
1688
1688
  # portion of the value.
1689
1689
  # @!attribute [rw] part_to_extract
1690
- # @return [Google::Cloud::Dlp::V2::TimePartConfig::TimePart]
1690
+ # @return [::Google::Cloud::Dlp::V2::TimePartConfig::TimePart]
1691
1691
  # The part of the time to keep.
1692
1692
  class TimePartConfig
1693
- include Google::Protobuf::MessageExts
1694
- extend Google::Protobuf::MessageExts::ClassMethods
1693
+ include ::Google::Protobuf::MessageExts
1694
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1695
1695
 
1696
1696
  # Components that make up time.
1697
1697
  module TimePart
@@ -1726,21 +1726,21 @@ module Google
1726
1726
  # Currently, only string and integer values can be hashed.
1727
1727
  # See https://cloud.google.com/dlp/docs/pseudonymization to learn more.
1728
1728
  # @!attribute [rw] crypto_key
1729
- # @return [Google::Cloud::Dlp::V2::CryptoKey]
1729
+ # @return [::Google::Cloud::Dlp::V2::CryptoKey]
1730
1730
  # The key used by the hash function.
1731
1731
  class CryptoHashConfig
1732
- include Google::Protobuf::MessageExts
1733
- extend Google::Protobuf::MessageExts::ClassMethods
1732
+ include ::Google::Protobuf::MessageExts
1733
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1734
1734
  end
1735
1735
 
1736
1736
  # Pseudonymization method that generates deterministic encryption for the given
1737
1737
  # input. Outputs a base64 encoded representation of the encrypted output.
1738
1738
  # Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297.
1739
1739
  # @!attribute [rw] crypto_key
1740
- # @return [Google::Cloud::Dlp::V2::CryptoKey]
1740
+ # @return [::Google::Cloud::Dlp::V2::CryptoKey]
1741
1741
  # The key used by the encryption function.
1742
1742
  # @!attribute [rw] surrogate_info_type
1743
- # @return [Google::Cloud::Dlp::V2::InfoType]
1743
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
1744
1744
  # The custom info type to annotate the surrogate with.
1745
1745
  # This annotation will be applied to the surrogate by prefixing it with
1746
1746
  # the name of the custom info type followed by the number of
@@ -1774,7 +1774,7 @@ module Google
1774
1774
  # the symbol with the hex code point 29DD might be used like so:
1775
1775
  # ⧝MY_TOKEN_TYPE.
1776
1776
  # @!attribute [rw] context
1777
- # @return [Google::Cloud::Dlp::V2::FieldId]
1777
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1778
1778
  # A context may be used for higher security and maintaining
1779
1779
  # referential integrity such that the same identifier in two different
1780
1780
  # contexts will be given a distinct surrogate. The context is appended to
@@ -1794,45 +1794,45 @@ module Google
1794
1794
  # Note that case (1) is expected when an `InfoTypeTransformation` is
1795
1795
  # applied to both structured and non-structured `ContentItem`s.
1796
1796
  class CryptoDeterministicConfig
1797
- include Google::Protobuf::MessageExts
1798
- extend Google::Protobuf::MessageExts::ClassMethods
1797
+ include ::Google::Protobuf::MessageExts
1798
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1799
1799
  end
1800
1800
 
1801
1801
  # Replace each input value with a given `Value`.
1802
1802
  # @!attribute [rw] new_value
1803
- # @return [Google::Cloud::Dlp::V2::Value]
1803
+ # @return [::Google::Cloud::Dlp::V2::Value]
1804
1804
  # Value to replace it with.
1805
1805
  class ReplaceValueConfig
1806
- include Google::Protobuf::MessageExts
1807
- extend Google::Protobuf::MessageExts::ClassMethods
1806
+ include ::Google::Protobuf::MessageExts
1807
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1808
1808
  end
1809
1809
 
1810
1810
  # Replace each matching finding with the name of the info_type.
1811
1811
  class ReplaceWithInfoTypeConfig
1812
- include Google::Protobuf::MessageExts
1813
- extend Google::Protobuf::MessageExts::ClassMethods
1812
+ include ::Google::Protobuf::MessageExts
1813
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1814
1814
  end
1815
1815
 
1816
1816
  # Redact a given value. For example, if used with an `InfoTypeTransformation`
1817
1817
  # transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the
1818
1818
  # output would be 'My phone number is '.
1819
1819
  class RedactConfig
1820
- include Google::Protobuf::MessageExts
1821
- extend Google::Protobuf::MessageExts::ClassMethods
1820
+ include ::Google::Protobuf::MessageExts
1821
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1822
1822
  end
1823
1823
 
1824
1824
  # Characters to skip when doing deidentification of a value. These will be left
1825
1825
  # alone and skipped.
1826
1826
  # @!attribute [rw] characters_to_skip
1827
- # @return [String]
1827
+ # @return [::String]
1828
1828
  # Characters to not transform when masking.
1829
1829
  # @!attribute [rw] common_characters_to_ignore
1830
- # @return [Google::Cloud::Dlp::V2::CharsToIgnore::CommonCharsToIgnore]
1830
+ # @return [::Google::Cloud::Dlp::V2::CharsToIgnore::CommonCharsToIgnore]
1831
1831
  # Common characters to not transform when masking. Useful to avoid removing
1832
1832
  # punctuation.
1833
1833
  class CharsToIgnore
1834
- include Google::Protobuf::MessageExts
1835
- extend Google::Protobuf::MessageExts::ClassMethods
1834
+ include ::Google::Protobuf::MessageExts
1835
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1836
1836
 
1837
1837
  # Convenience enum for indication common characters to not transform.
1838
1838
  module CommonCharsToIgnore
@@ -1863,31 +1863,31 @@ module Google
1863
1863
  # type. (This allows you to take a long like 123 and modify it to a string like
1864
1864
  # **3.
1865
1865
  # @!attribute [rw] masking_character
1866
- # @return [String]
1866
+ # @return [::String]
1867
1867
  # Character to use to mask the sensitive values&mdash;for example, `*` for an
1868
1868
  # alphabetic string such as a name, or `0` for a numeric string such as ZIP
1869
1869
  # code or credit card number. This string must have a length of 1. If not
1870
1870
  # supplied, this value defaults to `*` for strings, and `0` for digits.
1871
1871
  # @!attribute [rw] number_to_mask
1872
- # @return [Integer]
1872
+ # @return [::Integer]
1873
1873
  # Number of characters to mask. If not set, all matching chars will be
1874
1874
  # masked. Skipped characters do not count towards this tally.
1875
1875
  # @!attribute [rw] reverse_order
1876
- # @return [Boolean]
1876
+ # @return [::Boolean]
1877
1877
  # Mask characters in reverse order. For example, if `masking_character` is
1878
1878
  # `0`, `number_to_mask` is `14`, and `reverse_order` is `false`, then the
1879
1879
  # input string `1234-5678-9012-3456` is masked as `00000000000000-3456`.
1880
1880
  # If `masking_character` is `*`, `number_to_mask` is `3`, and `reverse_order`
1881
1881
  # is `true`, then the string `12345` is masked as `12***`.
1882
1882
  # @!attribute [rw] characters_to_ignore
1883
- # @return [Array<Google::Cloud::Dlp::V2::CharsToIgnore>]
1883
+ # @return [::Array<::Google::Cloud::Dlp::V2::CharsToIgnore>]
1884
1884
  # When masking a string, items in this list will be skipped when replacing
1885
1885
  # characters. For example, if the input string is `555-555-5555` and you
1886
1886
  # instruct Cloud DLP to skip `-` and mask 5 characters with `*`, Cloud DLP
1887
1887
  # returns `***-**5-5555`.
1888
1888
  class CharacterMaskConfig
1889
- include Google::Protobuf::MessageExts
1890
- extend Google::Protobuf::MessageExts::ClassMethods
1889
+ include ::Google::Protobuf::MessageExts
1890
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1891
1891
  end
1892
1892
 
1893
1893
  # Buckets values based on fixed size ranges. The
@@ -1907,24 +1907,24 @@ module Google
1907
1907
  #
1908
1908
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
1909
1909
  # @!attribute [rw] lower_bound
1910
- # @return [Google::Cloud::Dlp::V2::Value]
1910
+ # @return [::Google::Cloud::Dlp::V2::Value]
1911
1911
  # Required. Lower bound value of buckets. All values less than `lower_bound`
1912
1912
  # are grouped together into a single bucket; for example if `lower_bound` =
1913
1913
  # 10, then all values less than 10 are replaced with the value “-10”.
1914
1914
  # @!attribute [rw] upper_bound
1915
- # @return [Google::Cloud::Dlp::V2::Value]
1915
+ # @return [::Google::Cloud::Dlp::V2::Value]
1916
1916
  # Required. Upper bound value of buckets. All values greater than upper_bound
1917
1917
  # are grouped together into a single bucket; for example if `upper_bound` =
1918
1918
  # 89, then all values greater than 89 are replaced with the value “89+”.
1919
1919
  # @!attribute [rw] bucket_size
1920
- # @return [Float]
1920
+ # @return [::Float]
1921
1921
  # Required. Size of each bucket (except for minimum and maximum buckets). So
1922
1922
  # if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the
1923
1923
  # following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60,
1924
1924
  # 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.
1925
1925
  class FixedSizeBucketingConfig
1926
- include Google::Protobuf::MessageExts
1927
- extend Google::Protobuf::MessageExts::ClassMethods
1926
+ include ::Google::Protobuf::MessageExts
1927
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1928
1928
  end
1929
1929
 
1930
1930
  # Generalization function that buckets values based on ranges. The ranges and
@@ -1937,27 +1937,27 @@ module Google
1937
1937
  # the type of the bound before comparing.
1938
1938
  # See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more.
1939
1939
  # @!attribute [rw] buckets
1940
- # @return [Array<Google::Cloud::Dlp::V2::BucketingConfig::Bucket>]
1940
+ # @return [::Array<::Google::Cloud::Dlp::V2::BucketingConfig::Bucket>]
1941
1941
  # Set of buckets. Ranges must be non-overlapping.
1942
1942
  class BucketingConfig
1943
- include Google::Protobuf::MessageExts
1944
- extend Google::Protobuf::MessageExts::ClassMethods
1943
+ include ::Google::Protobuf::MessageExts
1944
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1945
1945
 
1946
1946
  # Bucket is represented as a range, along with replacement values.
1947
1947
  # @!attribute [rw] min
1948
- # @return [Google::Cloud::Dlp::V2::Value]
1948
+ # @return [::Google::Cloud::Dlp::V2::Value]
1949
1949
  # Lower bound of the range, inclusive. Type should be the same as max if
1950
1950
  # used.
1951
1951
  # @!attribute [rw] max
1952
- # @return [Google::Cloud::Dlp::V2::Value]
1952
+ # @return [::Google::Cloud::Dlp::V2::Value]
1953
1953
  # Upper bound of the range, exclusive; type must match min.
1954
1954
  # @!attribute [rw] replacement_value
1955
- # @return [Google::Cloud::Dlp::V2::Value]
1955
+ # @return [::Google::Cloud::Dlp::V2::Value]
1956
1956
  # Replacement value for this bucket. If not provided
1957
1957
  # the default behavior will be to hyphenate the min-max range.
1958
1958
  class Bucket
1959
- include Google::Protobuf::MessageExts
1960
- extend Google::Protobuf::MessageExts::ClassMethods
1959
+ include ::Google::Protobuf::MessageExts
1960
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1961
1961
  end
1962
1962
  end
1963
1963
 
@@ -1975,10 +1975,10 @@ module Google
1975
1975
  # do not require preserving the input alphabet space and size, plus warrant
1976
1976
  # referential integrity.
1977
1977
  # @!attribute [rw] crypto_key
1978
- # @return [Google::Cloud::Dlp::V2::CryptoKey]
1978
+ # @return [::Google::Cloud::Dlp::V2::CryptoKey]
1979
1979
  # Required. The key used by the encryption algorithm.
1980
1980
  # @!attribute [rw] context
1981
- # @return [Google::Cloud::Dlp::V2::FieldId]
1981
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
1982
1982
  # The 'tweak', a context may be used for higher security since the same
1983
1983
  # identifier in two different contexts won't be given the same surrogate. If
1984
1984
  # the context is not set, a default tweak will be used.
@@ -2000,10 +2000,10 @@ module Google
2000
2000
  # - a 64 bit integer is encoded followed by a single byte of value 1
2001
2001
  # - a string is encoded in UTF-8 format followed by a single byte of value 2
2002
2002
  # @!attribute [rw] common_alphabet
2003
- # @return [Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig::FfxCommonNativeAlphabet]
2003
+ # @return [::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig::FfxCommonNativeAlphabet]
2004
2004
  # Common alphabets.
2005
2005
  # @!attribute [rw] custom_alphabet
2006
- # @return [String]
2006
+ # @return [::String]
2007
2007
  # This is supported by mapping these to the alphanumeric characters
2008
2008
  # that the FFX mode natively supports. This happens before/after
2009
2009
  # encryption/decryption.
@@ -2012,10 +2012,10 @@ module Google
2012
2012
  # This must be encoded as ASCII.
2013
2013
  # The order of characters does not matter.
2014
2014
  # @!attribute [rw] radix
2015
- # @return [Integer]
2015
+ # @return [::Integer]
2016
2016
  # The native way to select the alphabet. Must be in the range [2, 95].
2017
2017
  # @!attribute [rw] surrogate_info_type
2018
- # @return [Google::Cloud::Dlp::V2::InfoType]
2018
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
2019
2019
  # The custom infoType to annotate the surrogate with.
2020
2020
  # This annotation will be applied to the surrogate by prefixing it with
2021
2021
  # the name of the custom infoType followed by the number of
@@ -2042,8 +2042,8 @@ module Google
2042
2042
  # the symbol with the hex code point 29DD might be used like so:
2043
2043
  # ⧝MY_TOKEN_TYPE
2044
2044
  class CryptoReplaceFfxFpeConfig
2045
- include Google::Protobuf::MessageExts
2046
- extend Google::Protobuf::MessageExts::ClassMethods
2045
+ include ::Google::Protobuf::MessageExts
2046
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2047
2047
 
2048
2048
  # These are commonly used subsets of the alphabet that the FFX mode
2049
2049
  # natively supports. In the algorithm, the alphabet is selected using
@@ -2072,23 +2072,23 @@ module Google
2072
2072
  # IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
2073
2073
  # unwrap the data crypto key.
2074
2074
  # @!attribute [rw] transient
2075
- # @return [Google::Cloud::Dlp::V2::TransientCryptoKey]
2075
+ # @return [::Google::Cloud::Dlp::V2::TransientCryptoKey]
2076
2076
  # Transient crypto key
2077
2077
  # @!attribute [rw] unwrapped
2078
- # @return [Google::Cloud::Dlp::V2::UnwrappedCryptoKey]
2078
+ # @return [::Google::Cloud::Dlp::V2::UnwrappedCryptoKey]
2079
2079
  # Unwrapped crypto key
2080
2080
  # @!attribute [rw] kms_wrapped
2081
- # @return [Google::Cloud::Dlp::V2::KmsWrappedCryptoKey]
2081
+ # @return [::Google::Cloud::Dlp::V2::KmsWrappedCryptoKey]
2082
2082
  # Kms wrapped key
2083
2083
  class CryptoKey
2084
- include Google::Protobuf::MessageExts
2085
- extend Google::Protobuf::MessageExts::ClassMethods
2084
+ include ::Google::Protobuf::MessageExts
2085
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2086
2086
  end
2087
2087
 
2088
2088
  # Use this to have a random data crypto key generated.
2089
2089
  # It will be discarded after the request finishes.
2090
2090
  # @!attribute [rw] name
2091
- # @return [String]
2091
+ # @return [::String]
2092
2092
  # Required. Name of the key.
2093
2093
  # This is an arbitrary string used to differentiate different keys.
2094
2094
  # A unique key is generated per name: two separate `TransientCryptoKey`
@@ -2096,18 +2096,18 @@ module Google
2096
2096
  # When the data crypto key is generated, this name is not used in any way
2097
2097
  # (repeating the api call will result in a different key being generated).
2098
2098
  class TransientCryptoKey
2099
- include Google::Protobuf::MessageExts
2100
- extend Google::Protobuf::MessageExts::ClassMethods
2099
+ include ::Google::Protobuf::MessageExts
2100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2101
2101
  end
2102
2102
 
2103
2103
  # Using raw keys is prone to security risks due to accidentally
2104
2104
  # leaking the key. Choose another type of key if possible.
2105
2105
  # @!attribute [rw] key
2106
- # @return [String]
2106
+ # @return [::String]
2107
2107
  # Required. A 128/192/256 bit key.
2108
2108
  class UnwrappedCryptoKey
2109
- include Google::Protobuf::MessageExts
2110
- extend Google::Protobuf::MessageExts::ClassMethods
2109
+ include ::Google::Protobuf::MessageExts
2110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2111
2111
  end
2112
2112
 
2113
2113
  # Include to use an existing data crypto key wrapped by KMS.
@@ -2116,43 +2116,43 @@ module Google
2116
2116
  # to perform a crypto transformation using a kms-wrapped crypto key:
2117
2117
  # dlp.kms.encrypt
2118
2118
  # @!attribute [rw] wrapped_key
2119
- # @return [String]
2119
+ # @return [::String]
2120
2120
  # Required. The wrapped data crypto key.
2121
2121
  # @!attribute [rw] crypto_key_name
2122
- # @return [String]
2122
+ # @return [::String]
2123
2123
  # Required. The resource name of the KMS CryptoKey to use for unwrapping.
2124
2124
  class KmsWrappedCryptoKey
2125
- include Google::Protobuf::MessageExts
2126
- extend Google::Protobuf::MessageExts::ClassMethods
2125
+ include ::Google::Protobuf::MessageExts
2126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2127
2127
  end
2128
2128
 
2129
2129
  # Shifts dates by random number of days, with option to be consistent for the
2130
2130
  # same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting
2131
2131
  # to learn more.
2132
2132
  # @!attribute [rw] upper_bound_days
2133
- # @return [Integer]
2133
+ # @return [::Integer]
2134
2134
  # Required. Range of shift in days. Actual shift will be selected at random
2135
2135
  # within this range (inclusive ends). Negative means shift to earlier in
2136
2136
  # time. Must not be more than 365250 days (1000 years) each direction.
2137
2137
  #
2138
2138
  # For example, 3 means shift date to at most 3 days into the future.
2139
2139
  # @!attribute [rw] lower_bound_days
2140
- # @return [Integer]
2140
+ # @return [::Integer]
2141
2141
  # Required. For example, -5 means shift date to at most 5 days back in the
2142
2142
  # past.
2143
2143
  # @!attribute [rw] context
2144
- # @return [Google::Cloud::Dlp::V2::FieldId]
2144
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
2145
2145
  # Points to the field that contains the context, for example, an entity id.
2146
2146
  # If set, must also set cryptoKey. If set, shift will be consistent for the
2147
2147
  # given context.
2148
2148
  # @!attribute [rw] crypto_key
2149
- # @return [Google::Cloud::Dlp::V2::CryptoKey]
2149
+ # @return [::Google::Cloud::Dlp::V2::CryptoKey]
2150
2150
  # Causes the shift to be computed based on this key and the context. This
2151
2151
  # results in the same shift for the same context and crypto_key. If
2152
2152
  # set, must also set context. Can only be applied to table items.
2153
2153
  class DateShiftConfig
2154
- include Google::Protobuf::MessageExts
2155
- extend Google::Protobuf::MessageExts::ClassMethods
2154
+ include ::Google::Protobuf::MessageExts
2155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2156
2156
  end
2157
2157
 
2158
2158
  # A type of transformation that will scan unstructured text and
@@ -2160,35 +2160,35 @@ module Google
2160
2160
  # transformation is applied to only values that were identified as a specific
2161
2161
  # info_type.
2162
2162
  # @!attribute [rw] transformations
2163
- # @return [Array<Google::Cloud::Dlp::V2::InfoTypeTransformations::InfoTypeTransformation>]
2163
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoTypeTransformations::InfoTypeTransformation>]
2164
2164
  # Required. Transformation for each infoType. Cannot specify more than one
2165
2165
  # for a given infoType.
2166
2166
  class InfoTypeTransformations
2167
- include Google::Protobuf::MessageExts
2168
- extend Google::Protobuf::MessageExts::ClassMethods
2167
+ include ::Google::Protobuf::MessageExts
2168
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2169
2169
 
2170
2170
  # A transformation to apply to text that is identified as a specific
2171
2171
  # info_type.
2172
2172
  # @!attribute [rw] info_types
2173
- # @return [Array<Google::Cloud::Dlp::V2::InfoType>]
2173
+ # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>]
2174
2174
  # InfoTypes to apply the transformation to. An empty list will cause
2175
2175
  # this transformation to apply to all findings that correspond to
2176
2176
  # infoTypes that were requested in `InspectConfig`.
2177
2177
  # @!attribute [rw] primitive_transformation
2178
- # @return [Google::Cloud::Dlp::V2::PrimitiveTransformation]
2178
+ # @return [::Google::Cloud::Dlp::V2::PrimitiveTransformation]
2179
2179
  # Required. Primitive transformation to apply to the infoType.
2180
2180
  class InfoTypeTransformation
2181
- include Google::Protobuf::MessageExts
2182
- extend Google::Protobuf::MessageExts::ClassMethods
2181
+ include ::Google::Protobuf::MessageExts
2182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2183
2183
  end
2184
2184
  end
2185
2185
 
2186
2186
  # The transformation to apply to the field.
2187
2187
  # @!attribute [rw] fields
2188
- # @return [Array<Google::Cloud::Dlp::V2::FieldId>]
2188
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldId>]
2189
2189
  # Required. Input field(s) to apply the transformation to.
2190
2190
  # @!attribute [rw] condition
2191
- # @return [Google::Cloud::Dlp::V2::RecordCondition]
2191
+ # @return [::Google::Cloud::Dlp::V2::RecordCondition]
2192
2192
  # Only apply the transformation if the condition evaluates to true for the
2193
2193
  # given `RecordCondition`. The conditions are allowed to reference fields
2194
2194
  # that are not used in the actual transformation.
@@ -2199,50 +2199,50 @@ module Google
2199
2199
  # column for the same record is within a specific range.
2200
2200
  # - Redact a field if the date of birth field is greater than 85.
2201
2201
  # @!attribute [rw] primitive_transformation
2202
- # @return [Google::Cloud::Dlp::V2::PrimitiveTransformation]
2202
+ # @return [::Google::Cloud::Dlp::V2::PrimitiveTransformation]
2203
2203
  # Apply the transformation to the entire field.
2204
2204
  # @!attribute [rw] info_type_transformations
2205
- # @return [Google::Cloud::Dlp::V2::InfoTypeTransformations]
2205
+ # @return [::Google::Cloud::Dlp::V2::InfoTypeTransformations]
2206
2206
  # Treat the contents of the field as free text, and selectively
2207
2207
  # transform content that matches an `InfoType`.
2208
2208
  class FieldTransformation
2209
- include Google::Protobuf::MessageExts
2210
- extend Google::Protobuf::MessageExts::ClassMethods
2209
+ include ::Google::Protobuf::MessageExts
2210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2211
2211
  end
2212
2212
 
2213
2213
  # A type of transformation that is applied over structured data such as a
2214
2214
  # table.
2215
2215
  # @!attribute [rw] field_transformations
2216
- # @return [Array<Google::Cloud::Dlp::V2::FieldTransformation>]
2216
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldTransformation>]
2217
2217
  # Transform the record by applying various field transformations.
2218
2218
  # @!attribute [rw] record_suppressions
2219
- # @return [Array<Google::Cloud::Dlp::V2::RecordSuppression>]
2219
+ # @return [::Array<::Google::Cloud::Dlp::V2::RecordSuppression>]
2220
2220
  # Configuration defining which records get suppressed entirely. Records that
2221
2221
  # match any suppression rule are omitted from the output.
2222
2222
  class RecordTransformations
2223
- include Google::Protobuf::MessageExts
2224
- extend Google::Protobuf::MessageExts::ClassMethods
2223
+ include ::Google::Protobuf::MessageExts
2224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2225
2225
  end
2226
2226
 
2227
2227
  # Configuration to suppress records whose suppression conditions evaluate to
2228
2228
  # true.
2229
2229
  # @!attribute [rw] condition
2230
- # @return [Google::Cloud::Dlp::V2::RecordCondition]
2230
+ # @return [::Google::Cloud::Dlp::V2::RecordCondition]
2231
2231
  # A condition that when it evaluates to true will result in the record being
2232
2232
  # evaluated to be suppressed from the transformed content.
2233
2233
  class RecordSuppression
2234
- include Google::Protobuf::MessageExts
2235
- extend Google::Protobuf::MessageExts::ClassMethods
2234
+ include ::Google::Protobuf::MessageExts
2235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2236
2236
  end
2237
2237
 
2238
2238
  # A condition for determining whether a transformation should be applied to
2239
2239
  # a field.
2240
2240
  # @!attribute [rw] expressions
2241
- # @return [Google::Cloud::Dlp::V2::RecordCondition::Expressions]
2241
+ # @return [::Google::Cloud::Dlp::V2::RecordCondition::Expressions]
2242
2242
  # An expression.
2243
2243
  class RecordCondition
2244
- include Google::Protobuf::MessageExts
2245
- extend Google::Protobuf::MessageExts::ClassMethods
2244
+ include ::Google::Protobuf::MessageExts
2245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2246
2246
 
2247
2247
  # The field type of `value` and `field` do not need to match to be
2248
2248
  # considered equal, but not all comparisons are possible.
@@ -2264,39 +2264,39 @@ module Google
2264
2264
  # If we fail to compare do to type mismatch, a warning will be given and
2265
2265
  # the condition will evaluate to false.
2266
2266
  # @!attribute [rw] field
2267
- # @return [Google::Cloud::Dlp::V2::FieldId]
2267
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
2268
2268
  # Required. Field within the record this condition is evaluated against.
2269
2269
  # @!attribute [rw] operator
2270
- # @return [Google::Cloud::Dlp::V2::RelationalOperator]
2270
+ # @return [::Google::Cloud::Dlp::V2::RelationalOperator]
2271
2271
  # Required. Operator used to compare the field or infoType to the value.
2272
2272
  # @!attribute [rw] value
2273
- # @return [Google::Cloud::Dlp::V2::Value]
2273
+ # @return [::Google::Cloud::Dlp::V2::Value]
2274
2274
  # Value to compare against. [Mandatory, except for `EXISTS` tests.]
2275
2275
  class Condition
2276
- include Google::Protobuf::MessageExts
2277
- extend Google::Protobuf::MessageExts::ClassMethods
2276
+ include ::Google::Protobuf::MessageExts
2277
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2278
2278
  end
2279
2279
 
2280
2280
  # A collection of conditions.
2281
2281
  # @!attribute [rw] conditions
2282
- # @return [Array<Google::Cloud::Dlp::V2::RecordCondition::Condition>]
2282
+ # @return [::Array<::Google::Cloud::Dlp::V2::RecordCondition::Condition>]
2283
2283
  # A collection of conditions.
2284
2284
  class Conditions
2285
- include Google::Protobuf::MessageExts
2286
- extend Google::Protobuf::MessageExts::ClassMethods
2285
+ include ::Google::Protobuf::MessageExts
2286
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2287
2287
  end
2288
2288
 
2289
2289
  # An expression, consisting or an operator and conditions.
2290
2290
  # @!attribute [rw] logical_operator
2291
- # @return [Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator]
2291
+ # @return [::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator]
2292
2292
  # The operator to apply to the result of conditions. Default and currently
2293
2293
  # only supported value is `AND`.
2294
2294
  # @!attribute [rw] conditions
2295
- # @return [Google::Cloud::Dlp::V2::RecordCondition::Conditions]
2295
+ # @return [::Google::Cloud::Dlp::V2::RecordCondition::Conditions]
2296
2296
  # Conditions to apply to the expression.
2297
2297
  class Expressions
2298
- include Google::Protobuf::MessageExts
2299
- extend Google::Protobuf::MessageExts::ClassMethods
2298
+ include ::Google::Protobuf::MessageExts
2299
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2300
2300
 
2301
2301
  # Logical operators for conditional checks.
2302
2302
  module LogicalOperator
@@ -2311,61 +2311,61 @@ module Google
2311
2311
 
2312
2312
  # Overview of the modifications that occurred.
2313
2313
  # @!attribute [rw] transformed_bytes
2314
- # @return [Integer]
2314
+ # @return [::Integer]
2315
2315
  # Total size in bytes that were transformed in some way.
2316
2316
  # @!attribute [rw] transformation_summaries
2317
- # @return [Array<Google::Cloud::Dlp::V2::TransformationSummary>]
2317
+ # @return [::Array<::Google::Cloud::Dlp::V2::TransformationSummary>]
2318
2318
  # Transformations applied to the dataset.
2319
2319
  class TransformationOverview
2320
- include Google::Protobuf::MessageExts
2321
- extend Google::Protobuf::MessageExts::ClassMethods
2320
+ include ::Google::Protobuf::MessageExts
2321
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2322
2322
  end
2323
2323
 
2324
2324
  # Summary of a single transformation.
2325
2325
  # Only one of 'transformation', 'field_transformation', or 'record_suppress'
2326
2326
  # will be set.
2327
2327
  # @!attribute [rw] info_type
2328
- # @return [Google::Cloud::Dlp::V2::InfoType]
2328
+ # @return [::Google::Cloud::Dlp::V2::InfoType]
2329
2329
  # Set if the transformation was limited to a specific InfoType.
2330
2330
  # @!attribute [rw] field
2331
- # @return [Google::Cloud::Dlp::V2::FieldId]
2331
+ # @return [::Google::Cloud::Dlp::V2::FieldId]
2332
2332
  # Set if the transformation was limited to a specific FieldId.
2333
2333
  # @!attribute [rw] transformation
2334
- # @return [Google::Cloud::Dlp::V2::PrimitiveTransformation]
2334
+ # @return [::Google::Cloud::Dlp::V2::PrimitiveTransformation]
2335
2335
  # The specific transformation these stats apply to.
2336
2336
  # @!attribute [rw] field_transformations
2337
- # @return [Array<Google::Cloud::Dlp::V2::FieldTransformation>]
2337
+ # @return [::Array<::Google::Cloud::Dlp::V2::FieldTransformation>]
2338
2338
  # The field transformation that was applied.
2339
2339
  # If multiple field transformations are requested for a single field,
2340
2340
  # this list will contain all of them; otherwise, only one is supplied.
2341
2341
  # @!attribute [rw] record_suppress
2342
- # @return [Google::Cloud::Dlp::V2::RecordSuppression]
2342
+ # @return [::Google::Cloud::Dlp::V2::RecordSuppression]
2343
2343
  # The specific suppression option these stats apply to.
2344
2344
  # @!attribute [rw] results
2345
- # @return [Array<Google::Cloud::Dlp::V2::TransformationSummary::SummaryResult>]
2345
+ # @return [::Array<::Google::Cloud::Dlp::V2::TransformationSummary::SummaryResult>]
2346
2346
  # Collection of all transformations that took place or had an error.
2347
2347
  # @!attribute [rw] transformed_bytes
2348
- # @return [Integer]
2348
+ # @return [::Integer]
2349
2349
  # Total size in bytes that were transformed in some way.
2350
2350
  class TransformationSummary
2351
- include Google::Protobuf::MessageExts
2352
- extend Google::Protobuf::MessageExts::ClassMethods
2351
+ include ::Google::Protobuf::MessageExts
2352
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2353
2353
 
2354
2354
  # A collection that informs the user the number of times a particular
2355
2355
  # `TransformationResultCode` and error details occurred.
2356
2356
  # @!attribute [rw] count
2357
- # @return [Integer]
2357
+ # @return [::Integer]
2358
2358
  # Number of transformations counted by this result.
2359
2359
  # @!attribute [rw] code
2360
- # @return [Google::Cloud::Dlp::V2::TransformationSummary::TransformationResultCode]
2360
+ # @return [::Google::Cloud::Dlp::V2::TransformationSummary::TransformationResultCode]
2361
2361
  # Outcome of the transformation.
2362
2362
  # @!attribute [rw] details
2363
- # @return [String]
2363
+ # @return [::String]
2364
2364
  # A place for warnings or errors to show up if a transformation didn't
2365
2365
  # work as expected.
2366
2366
  class SummaryResult
2367
- include Google::Protobuf::MessageExts
2368
- extend Google::Protobuf::MessageExts::ClassMethods
2367
+ include ::Google::Protobuf::MessageExts
2368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2369
2369
  end
2370
2370
 
2371
2371
  # Possible outcomes of transformations.
@@ -2383,7 +2383,7 @@ module Google
2383
2383
 
2384
2384
  # Schedule for triggeredJobs.
2385
2385
  # @!attribute [rw] recurrence_period_duration
2386
- # @return [Google::Protobuf::Duration]
2386
+ # @return [::Google::Protobuf::Duration]
2387
2387
  # With this option a job is started a regular periodic basis. For
2388
2388
  # example: every day (86400 seconds).
2389
2389
  #
@@ -2393,15 +2393,15 @@ module Google
2393
2393
  # This value must be set to a time duration greater than or equal
2394
2394
  # to 1 day and can be no longer than 60 days.
2395
2395
  class Schedule
2396
- include Google::Protobuf::MessageExts
2397
- extend Google::Protobuf::MessageExts::ClassMethods
2396
+ include ::Google::Protobuf::MessageExts
2397
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2398
2398
  end
2399
2399
 
2400
2400
  # Job trigger option for hybrid jobs. Jobs must be manually created
2401
2401
  # and finished.
2402
2402
  class Manual
2403
- include Google::Protobuf::MessageExts
2404
- extend Google::Protobuf::MessageExts::ClassMethods
2403
+ include ::Google::Protobuf::MessageExts
2404
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2405
2405
  end
2406
2406
 
2407
2407
  # The inspectTemplate contains a configuration (set of types of sensitive data
@@ -2409,130 +2409,130 @@ module Google
2409
2409
  # InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates
2410
2410
  # to learn more.
2411
2411
  # @!attribute [r] name
2412
- # @return [String]
2412
+ # @return [::String]
2413
2413
  # Output only. The template name.
2414
2414
  #
2415
2415
  # The template will have one of the following formats:
2416
2416
  # `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
2417
2417
  # `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
2418
2418
  # @!attribute [rw] display_name
2419
- # @return [String]
2419
+ # @return [::String]
2420
2420
  # Display name (max 256 chars).
2421
2421
  # @!attribute [rw] description
2422
- # @return [String]
2422
+ # @return [::String]
2423
2423
  # Short description (max 256 chars).
2424
2424
  # @!attribute [r] create_time
2425
- # @return [Google::Protobuf::Timestamp]
2425
+ # @return [::Google::Protobuf::Timestamp]
2426
2426
  # Output only. The creation timestamp of an inspectTemplate.
2427
2427
  # @!attribute [r] update_time
2428
- # @return [Google::Protobuf::Timestamp]
2428
+ # @return [::Google::Protobuf::Timestamp]
2429
2429
  # Output only. The last update timestamp of an inspectTemplate.
2430
2430
  # @!attribute [rw] inspect_config
2431
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
2431
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
2432
2432
  # The core content of the template. Configuration of the scanning process.
2433
2433
  class InspectTemplate
2434
- include Google::Protobuf::MessageExts
2435
- extend Google::Protobuf::MessageExts::ClassMethods
2434
+ include ::Google::Protobuf::MessageExts
2435
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2436
2436
  end
2437
2437
 
2438
2438
  # DeidentifyTemplates contains instructions on how to de-identify content.
2439
2439
  # See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
2440
2440
  # @!attribute [r] name
2441
- # @return [String]
2441
+ # @return [::String]
2442
2442
  # Output only. The template name.
2443
2443
  #
2444
2444
  # The template will have one of the following formats:
2445
2445
  # `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR
2446
2446
  # `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
2447
2447
  # @!attribute [rw] display_name
2448
- # @return [String]
2448
+ # @return [::String]
2449
2449
  # Display name (max 256 chars).
2450
2450
  # @!attribute [rw] description
2451
- # @return [String]
2451
+ # @return [::String]
2452
2452
  # Short description (max 256 chars).
2453
2453
  # @!attribute [r] create_time
2454
- # @return [Google::Protobuf::Timestamp]
2454
+ # @return [::Google::Protobuf::Timestamp]
2455
2455
  # Output only. The creation timestamp of an inspectTemplate.
2456
2456
  # @!attribute [r] update_time
2457
- # @return [Google::Protobuf::Timestamp]
2457
+ # @return [::Google::Protobuf::Timestamp]
2458
2458
  # Output only. The last update timestamp of an inspectTemplate.
2459
2459
  # @!attribute [rw] deidentify_config
2460
- # @return [Google::Cloud::Dlp::V2::DeidentifyConfig]
2460
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyConfig]
2461
2461
  # ///////////// // The core content of the template // ///////////////
2462
2462
  class DeidentifyTemplate
2463
- include Google::Protobuf::MessageExts
2464
- extend Google::Protobuf::MessageExts::ClassMethods
2463
+ include ::Google::Protobuf::MessageExts
2464
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2465
2465
  end
2466
2466
 
2467
2467
  # Details information about an error encountered during job execution or
2468
2468
  # the results of an unsuccessful activation of the JobTrigger.
2469
2469
  # @!attribute [rw] details
2470
- # @return [Google::Rpc::Status]
2470
+ # @return [::Google::Rpc::Status]
2471
2471
  # Detailed error codes and messages.
2472
2472
  # @!attribute [rw] timestamps
2473
- # @return [Array<Google::Protobuf::Timestamp>]
2473
+ # @return [::Array<::Google::Protobuf::Timestamp>]
2474
2474
  # The times the error occurred.
2475
2475
  class Error
2476
- include Google::Protobuf::MessageExts
2477
- extend Google::Protobuf::MessageExts::ClassMethods
2476
+ include ::Google::Protobuf::MessageExts
2477
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2478
2478
  end
2479
2479
 
2480
2480
  # Contains a configuration to make dlp api calls on a repeating basis.
2481
2481
  # See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.
2482
2482
  # @!attribute [rw] name
2483
- # @return [String]
2483
+ # @return [::String]
2484
2484
  # Unique resource name for the triggeredJob, assigned by the service when the
2485
2485
  # triggeredJob is created, for example
2486
2486
  # `projects/dlp-test-project/jobTriggers/53234423`.
2487
2487
  # @!attribute [rw] display_name
2488
- # @return [String]
2488
+ # @return [::String]
2489
2489
  # Display name (max 100 chars)
2490
2490
  # @!attribute [rw] description
2491
- # @return [String]
2491
+ # @return [::String]
2492
2492
  # User provided description (max 256 chars)
2493
2493
  # @!attribute [rw] inspect_job
2494
- # @return [Google::Cloud::Dlp::V2::InspectJobConfig]
2494
+ # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
2495
2495
  # For inspect jobs, a snapshot of the configuration.
2496
2496
  # @!attribute [rw] triggers
2497
- # @return [Array<Google::Cloud::Dlp::V2::JobTrigger::Trigger>]
2497
+ # @return [::Array<::Google::Cloud::Dlp::V2::JobTrigger::Trigger>]
2498
2498
  # A list of triggers which will be OR'ed together. Only one in the list
2499
2499
  # needs to trigger for a job to be started. The list may contain only
2500
2500
  # a single Schedule trigger and must have at least one object.
2501
2501
  # @!attribute [r] errors
2502
- # @return [Array<Google::Cloud::Dlp::V2::Error>]
2502
+ # @return [::Array<::Google::Cloud::Dlp::V2::Error>]
2503
2503
  # Output only. A stream of errors encountered when the trigger was activated.
2504
2504
  # Repeated errors may result in the JobTrigger automatically being paused.
2505
2505
  # Will return the last 100 errors. Whenever the JobTrigger is modified
2506
2506
  # this list will be cleared.
2507
2507
  # @!attribute [r] create_time
2508
- # @return [Google::Protobuf::Timestamp]
2508
+ # @return [::Google::Protobuf::Timestamp]
2509
2509
  # Output only. The creation timestamp of a triggeredJob.
2510
2510
  # @!attribute [r] update_time
2511
- # @return [Google::Protobuf::Timestamp]
2511
+ # @return [::Google::Protobuf::Timestamp]
2512
2512
  # Output only. The last update timestamp of a triggeredJob.
2513
2513
  # @!attribute [r] last_run_time
2514
- # @return [Google::Protobuf::Timestamp]
2514
+ # @return [::Google::Protobuf::Timestamp]
2515
2515
  # Output only. The timestamp of the last time this trigger executed.
2516
2516
  # @!attribute [rw] status
2517
- # @return [Google::Cloud::Dlp::V2::JobTrigger::Status]
2517
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger::Status]
2518
2518
  # Required. A status for this trigger.
2519
2519
  class JobTrigger
2520
- include Google::Protobuf::MessageExts
2521
- extend Google::Protobuf::MessageExts::ClassMethods
2520
+ include ::Google::Protobuf::MessageExts
2521
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2522
2522
 
2523
2523
  # What event needs to occur for a new job to be started.
2524
2524
  # @!attribute [rw] schedule
2525
- # @return [Google::Cloud::Dlp::V2::Schedule]
2525
+ # @return [::Google::Cloud::Dlp::V2::Schedule]
2526
2526
  # Create a job on a repeating basis based on the elapse of time.
2527
2527
  # @!attribute [rw] manual
2528
- # @return [Google::Cloud::Dlp::V2::Manual]
2528
+ # @return [::Google::Cloud::Dlp::V2::Manual]
2529
2529
  # For use with hybrid jobs. Jobs must be manually created and finished.
2530
2530
  # Early access feature is in a pre-release state and might change or have
2531
2531
  # limited support. For more information, see
2532
2532
  # https://cloud.google.com/products#product-launch-stages.
2533
2533
  class Trigger
2534
- include Google::Protobuf::MessageExts
2535
- extend Google::Protobuf::MessageExts::ClassMethods
2534
+ include ::Google::Protobuf::MessageExts
2535
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2536
2536
  end
2537
2537
 
2538
2538
  # Whether the trigger is currently active. If PAUSED or CANCELLED, no jobs
@@ -2557,38 +2557,38 @@ module Google
2557
2557
  # A task to execute on the completion of a job.
2558
2558
  # See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
2559
2559
  # @!attribute [rw] save_findings
2560
- # @return [Google::Cloud::Dlp::V2::Action::SaveFindings]
2560
+ # @return [::Google::Cloud::Dlp::V2::Action::SaveFindings]
2561
2561
  # Save resulting findings in a provided location.
2562
2562
  # @!attribute [rw] pub_sub
2563
- # @return [Google::Cloud::Dlp::V2::Action::PublishToPubSub]
2563
+ # @return [::Google::Cloud::Dlp::V2::Action::PublishToPubSub]
2564
2564
  # Publish a notification to a pubsub topic.
2565
2565
  # @!attribute [rw] publish_summary_to_cscc
2566
- # @return [Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc]
2566
+ # @return [::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc]
2567
2567
  # Publish summary to Cloud Security Command Center (Alpha).
2568
2568
  # @!attribute [rw] publish_findings_to_cloud_data_catalog
2569
- # @return [Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog]
2569
+ # @return [::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog]
2570
2570
  # Publish findings to Cloud Datahub.
2571
2571
  # @!attribute [rw] job_notification_emails
2572
- # @return [Google::Cloud::Dlp::V2::Action::JobNotificationEmails]
2572
+ # @return [::Google::Cloud::Dlp::V2::Action::JobNotificationEmails]
2573
2573
  # Enable email notification for project owners and editors on job's
2574
2574
  # completion/failure.
2575
2575
  # @!attribute [rw] publish_to_stackdriver
2576
- # @return [Google::Cloud::Dlp::V2::Action::PublishToStackdriver]
2576
+ # @return [::Google::Cloud::Dlp::V2::Action::PublishToStackdriver]
2577
2577
  # Enable Stackdriver metric dlp.googleapis.com/finding_count.
2578
2578
  class Action
2579
- include Google::Protobuf::MessageExts
2580
- extend Google::Protobuf::MessageExts::ClassMethods
2579
+ include ::Google::Protobuf::MessageExts
2580
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2581
2581
 
2582
2582
  # If set, the detailed findings will be persisted to the specified
2583
2583
  # OutputStorageConfig. Only a single instance of this action can be
2584
2584
  # specified.
2585
2585
  # Compatible with: Inspect, Risk
2586
2586
  # @!attribute [rw] output_config
2587
- # @return [Google::Cloud::Dlp::V2::OutputStorageConfig]
2587
+ # @return [::Google::Cloud::Dlp::V2::OutputStorageConfig]
2588
2588
  # Location to store findings outside of DLP.
2589
2589
  class SaveFindings
2590
- include Google::Protobuf::MessageExts
2591
- extend Google::Protobuf::MessageExts::ClassMethods
2590
+ include ::Google::Protobuf::MessageExts
2591
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2592
2592
  end
2593
2593
 
2594
2594
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
@@ -2597,14 +2597,14 @@ module Google
2597
2597
  # [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
2598
2598
  # Compatible with: Inspect, Risk
2599
2599
  # @!attribute [rw] topic
2600
- # @return [String]
2600
+ # @return [::String]
2601
2601
  # Cloud Pub/Sub topic to send notifications to. The topic must have given
2602
2602
  # publishing access rights to the DLP API service account executing
2603
2603
  # the long running DlpJob sending the notifications.
2604
2604
  # Format is projects/\\{project}/topics/\\{topic}.
2605
2605
  class PublishToPubSub
2606
- include Google::Protobuf::MessageExts
2607
- extend Google::Protobuf::MessageExts::ClassMethods
2606
+ include ::Google::Protobuf::MessageExts
2607
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2608
2608
  end
2609
2609
 
2610
2610
  # Publish the result summary of a DlpJob to the Cloud Security
@@ -2618,8 +2618,8 @@ module Google
2618
2618
  # Only a single instance of this action can be specified.
2619
2619
  # Compatible with: Inspect
2620
2620
  class PublishSummaryToCscc
2621
- include Google::Protobuf::MessageExts
2622
- extend Google::Protobuf::MessageExts::ClassMethods
2621
+ include ::Google::Protobuf::MessageExts
2622
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2623
2623
  end
2624
2624
 
2625
2625
  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
@@ -2633,15 +2633,15 @@ module Google
2633
2633
  # all resources being scanned are BigQuery tables.
2634
2634
  # Compatible with: Inspect
2635
2635
  class PublishFindingsToCloudDataCatalog
2636
- include Google::Protobuf::MessageExts
2637
- extend Google::Protobuf::MessageExts::ClassMethods
2636
+ include ::Google::Protobuf::MessageExts
2637
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2638
2638
  end
2639
2639
 
2640
2640
  # Enable email notification to project owners and editors on jobs's
2641
2641
  # completion/failure.
2642
2642
  class JobNotificationEmails
2643
- include Google::Protobuf::MessageExts
2644
- extend Google::Protobuf::MessageExts::ClassMethods
2643
+ include ::Google::Protobuf::MessageExts
2644
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2645
2645
  end
2646
2646
 
2647
2647
  # Enable Stackdriver metric dlp.googleapis.com/finding_count. This
@@ -2649,77 +2649,77 @@ module Google
2649
2649
  # how many findings were found for it. CustomDetectors will be bucketed
2650
2650
  # as 'Custom' under the Stackdriver label 'info_type'.
2651
2651
  class PublishToStackdriver
2652
- include Google::Protobuf::MessageExts
2653
- extend Google::Protobuf::MessageExts::ClassMethods
2652
+ include ::Google::Protobuf::MessageExts
2653
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2654
2654
  end
2655
2655
  end
2656
2656
 
2657
2657
  # Request message for CreateInspectTemplate.
2658
2658
  # @!attribute [rw] parent
2659
- # @return [String]
2659
+ # @return [::String]
2660
2660
  # Required. The parent resource name, for example projects/my-project-id or
2661
2661
  # organizations/my-org-id.
2662
2662
  # @!attribute [rw] inspect_template
2663
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
2663
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
2664
2664
  # Required. The InspectTemplate to create.
2665
2665
  # @!attribute [rw] template_id
2666
- # @return [String]
2666
+ # @return [::String]
2667
2667
  # The template id can contain uppercase and lowercase letters,
2668
2668
  # numbers, and hyphens; that is, it must match the regular
2669
2669
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2670
2670
  # characters. Can be empty to allow the system to generate one.
2671
2671
  # @!attribute [rw] location_id
2672
- # @return [String]
2672
+ # @return [::String]
2673
2673
  # The geographic location to store the inspection template. Reserved for
2674
2674
  # future extensions.
2675
2675
  class CreateInspectTemplateRequest
2676
- include Google::Protobuf::MessageExts
2677
- extend Google::Protobuf::MessageExts::ClassMethods
2676
+ include ::Google::Protobuf::MessageExts
2677
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2678
2678
  end
2679
2679
 
2680
2680
  # Request message for UpdateInspectTemplate.
2681
2681
  # @!attribute [rw] name
2682
- # @return [String]
2682
+ # @return [::String]
2683
2683
  # Required. Resource name of organization and inspectTemplate to be updated,
2684
2684
  # for example `organizations/433245324/inspectTemplates/432452342` or
2685
2685
  # projects/project-id/inspectTemplates/432452342.
2686
2686
  # @!attribute [rw] inspect_template
2687
- # @return [Google::Cloud::Dlp::V2::InspectTemplate]
2687
+ # @return [::Google::Cloud::Dlp::V2::InspectTemplate]
2688
2688
  # New InspectTemplate value.
2689
2689
  # @!attribute [rw] update_mask
2690
- # @return [Google::Protobuf::FieldMask]
2690
+ # @return [::Google::Protobuf::FieldMask]
2691
2691
  # Mask to control which fields get updated.
2692
2692
  class UpdateInspectTemplateRequest
2693
- include Google::Protobuf::MessageExts
2694
- extend Google::Protobuf::MessageExts::ClassMethods
2693
+ include ::Google::Protobuf::MessageExts
2694
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2695
2695
  end
2696
2696
 
2697
2697
  # Request message for GetInspectTemplate.
2698
2698
  # @!attribute [rw] name
2699
- # @return [String]
2699
+ # @return [::String]
2700
2700
  # Required. Resource name of the organization and inspectTemplate to be read,
2701
2701
  # for example `organizations/433245324/inspectTemplates/432452342` or
2702
2702
  # projects/project-id/inspectTemplates/432452342.
2703
2703
  class GetInspectTemplateRequest
2704
- include Google::Protobuf::MessageExts
2705
- extend Google::Protobuf::MessageExts::ClassMethods
2704
+ include ::Google::Protobuf::MessageExts
2705
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2706
2706
  end
2707
2707
 
2708
2708
  # Request message for ListInspectTemplates.
2709
2709
  # @!attribute [rw] parent
2710
- # @return [String]
2710
+ # @return [::String]
2711
2711
  # Required. The parent resource name, for example projects/my-project-id or
2712
2712
  # organizations/my-org-id.
2713
2713
  # @!attribute [rw] page_token
2714
- # @return [String]
2714
+ # @return [::String]
2715
2715
  # Page token to continue retrieval. Comes from previous call
2716
2716
  # to `ListInspectTemplates`.
2717
2717
  # @!attribute [rw] page_size
2718
- # @return [Integer]
2718
+ # @return [::Integer]
2719
2719
  # Size of the page, can be limited by server. If zero server returns
2720
2720
  # a page of max size 100.
2721
2721
  # @!attribute [rw] order_by
2722
- # @return [String]
2722
+ # @return [::String]
2723
2723
  # Comma separated list of fields to order by,
2724
2724
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
2725
2725
  # default sorting order is ascending, redundant space characters are
@@ -2734,137 +2734,137 @@ module Google
2734
2734
  # - `name`: corresponds to template's name.
2735
2735
  # - `display_name`: corresponds to template's display name.
2736
2736
  # @!attribute [rw] location_id
2737
- # @return [String]
2737
+ # @return [::String]
2738
2738
  # The geographic location where inspection templates will be retrieved from.
2739
2739
  # Use `-` for all locations. Reserved for future extensions.
2740
2740
  class ListInspectTemplatesRequest
2741
- include Google::Protobuf::MessageExts
2742
- extend Google::Protobuf::MessageExts::ClassMethods
2741
+ include ::Google::Protobuf::MessageExts
2742
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2743
2743
  end
2744
2744
 
2745
2745
  # Response message for ListInspectTemplates.
2746
2746
  # @!attribute [rw] inspect_templates
2747
- # @return [Array<Google::Cloud::Dlp::V2::InspectTemplate>]
2747
+ # @return [::Array<::Google::Cloud::Dlp::V2::InspectTemplate>]
2748
2748
  # List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.
2749
2749
  # @!attribute [rw] next_page_token
2750
- # @return [String]
2750
+ # @return [::String]
2751
2751
  # If the next page is available then the next page token to be used
2752
2752
  # in following ListInspectTemplates request.
2753
2753
  class ListInspectTemplatesResponse
2754
- include Google::Protobuf::MessageExts
2755
- extend Google::Protobuf::MessageExts::ClassMethods
2754
+ include ::Google::Protobuf::MessageExts
2755
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2756
2756
  end
2757
2757
 
2758
2758
  # Request message for DeleteInspectTemplate.
2759
2759
  # @!attribute [rw] name
2760
- # @return [String]
2760
+ # @return [::String]
2761
2761
  # Required. Resource name of the organization and inspectTemplate to be
2762
2762
  # deleted, for example `organizations/433245324/inspectTemplates/432452342`
2763
2763
  # or projects/project-id/inspectTemplates/432452342.
2764
2764
  class DeleteInspectTemplateRequest
2765
- include Google::Protobuf::MessageExts
2766
- extend Google::Protobuf::MessageExts::ClassMethods
2765
+ include ::Google::Protobuf::MessageExts
2766
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2767
2767
  end
2768
2768
 
2769
2769
  # Request message for CreateJobTrigger.
2770
2770
  # @!attribute [rw] parent
2771
- # @return [String]
2771
+ # @return [::String]
2772
2772
  # Required. The parent resource name, for example projects/my-project-id.
2773
2773
  # @!attribute [rw] job_trigger
2774
- # @return [Google::Cloud::Dlp::V2::JobTrigger]
2774
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger]
2775
2775
  # Required. The JobTrigger to create.
2776
2776
  # @!attribute [rw] trigger_id
2777
- # @return [String]
2777
+ # @return [::String]
2778
2778
  # The trigger id can contain uppercase and lowercase letters,
2779
2779
  # numbers, and hyphens; that is, it must match the regular
2780
2780
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2781
2781
  # characters. Can be empty to allow the system to generate one.
2782
2782
  # @!attribute [rw] location_id
2783
- # @return [String]
2783
+ # @return [::String]
2784
2784
  # The geographic location to store the job trigger. Reserved for
2785
2785
  # future extensions.
2786
2786
  class CreateJobTriggerRequest
2787
- include Google::Protobuf::MessageExts
2788
- extend Google::Protobuf::MessageExts::ClassMethods
2787
+ include ::Google::Protobuf::MessageExts
2788
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2789
2789
  end
2790
2790
 
2791
2791
  # Request message for ActivateJobTrigger.
2792
2792
  # @!attribute [rw] name
2793
- # @return [String]
2793
+ # @return [::String]
2794
2794
  # Required. Resource name of the trigger to activate, for example
2795
2795
  # `projects/dlp-test-project/jobTriggers/53234423`.
2796
2796
  class ActivateJobTriggerRequest
2797
- include Google::Protobuf::MessageExts
2798
- extend Google::Protobuf::MessageExts::ClassMethods
2797
+ include ::Google::Protobuf::MessageExts
2798
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2799
2799
  end
2800
2800
 
2801
2801
  # Request message for UpdateJobTrigger.
2802
2802
  # @!attribute [rw] name
2803
- # @return [String]
2803
+ # @return [::String]
2804
2804
  # Required. Resource name of the project and the triggeredJob, for example
2805
2805
  # `projects/dlp-test-project/jobTriggers/53234423`.
2806
2806
  # @!attribute [rw] job_trigger
2807
- # @return [Google::Cloud::Dlp::V2::JobTrigger]
2807
+ # @return [::Google::Cloud::Dlp::V2::JobTrigger]
2808
2808
  # New JobTrigger value.
2809
2809
  # @!attribute [rw] update_mask
2810
- # @return [Google::Protobuf::FieldMask]
2810
+ # @return [::Google::Protobuf::FieldMask]
2811
2811
  # Mask to control which fields get updated.
2812
2812
  class UpdateJobTriggerRequest
2813
- include Google::Protobuf::MessageExts
2814
- extend Google::Protobuf::MessageExts::ClassMethods
2813
+ include ::Google::Protobuf::MessageExts
2814
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2815
2815
  end
2816
2816
 
2817
2817
  # Request message for GetJobTrigger.
2818
2818
  # @!attribute [rw] name
2819
- # @return [String]
2819
+ # @return [::String]
2820
2820
  # Required. Resource name of the project and the triggeredJob, for example
2821
2821
  # `projects/dlp-test-project/jobTriggers/53234423`.
2822
2822
  class GetJobTriggerRequest
2823
- include Google::Protobuf::MessageExts
2824
- extend Google::Protobuf::MessageExts::ClassMethods
2823
+ include ::Google::Protobuf::MessageExts
2824
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2825
2825
  end
2826
2826
 
2827
2827
  # Request message for CreateDlpJobRequest. Used to initiate long running
2828
2828
  # jobs such as calculating risk metrics or inspecting Google Cloud
2829
2829
  # Storage.
2830
2830
  # @!attribute [rw] parent
2831
- # @return [String]
2831
+ # @return [::String]
2832
2832
  # Required. The parent resource name, for example projects/my-project-id.
2833
2833
  # @!attribute [rw] inspect_job
2834
- # @return [Google::Cloud::Dlp::V2::InspectJobConfig]
2834
+ # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
2835
2835
  # Set to control what and how to inspect.
2836
2836
  # @!attribute [rw] risk_job
2837
- # @return [Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
2837
+ # @return [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
2838
2838
  # Set to choose what metric to calculate.
2839
2839
  # @!attribute [rw] job_id
2840
- # @return [String]
2840
+ # @return [::String]
2841
2841
  # The job id can contain uppercase and lowercase letters,
2842
2842
  # numbers, and hyphens; that is, it must match the regular
2843
2843
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
2844
2844
  # characters. Can be empty to allow the system to generate one.
2845
2845
  # @!attribute [rw] location_id
2846
- # @return [String]
2846
+ # @return [::String]
2847
2847
  # The geographic location to store and process the job. Reserved for
2848
2848
  # future extensions.
2849
2849
  class CreateDlpJobRequest
2850
- include Google::Protobuf::MessageExts
2851
- extend Google::Protobuf::MessageExts::ClassMethods
2850
+ include ::Google::Protobuf::MessageExts
2851
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2852
2852
  end
2853
2853
 
2854
2854
  # Request message for ListJobTriggers.
2855
2855
  # @!attribute [rw] parent
2856
- # @return [String]
2856
+ # @return [::String]
2857
2857
  # Required. The parent resource name, for example `projects/my-project-id`.
2858
2858
  # @!attribute [rw] page_token
2859
- # @return [String]
2859
+ # @return [::String]
2860
2860
  # Page token to continue retrieval. Comes from previous call
2861
2861
  # to ListJobTriggers. `order_by` field must not
2862
2862
  # change for subsequent calls.
2863
2863
  # @!attribute [rw] page_size
2864
- # @return [Integer]
2864
+ # @return [::Integer]
2865
2865
  # Size of the page, can be limited by a server.
2866
2866
  # @!attribute [rw] order_by
2867
- # @return [String]
2867
+ # @return [::String]
2868
2868
  # Comma separated list of triggeredJob fields to order by,
2869
2869
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
2870
2870
  # default sorting order is ascending, redundant space characters are
@@ -2881,7 +2881,7 @@ module Google
2881
2881
  # - `display_name`: corresponds to JobTrigger's display name.
2882
2882
  # - `status`: corresponds to JobTrigger's status.
2883
2883
  # @!attribute [rw] filter
2884
- # @return [String]
2884
+ # @return [::String]
2885
2885
  # Allows filtering.
2886
2886
  #
2887
2887
  # Supported syntax:
@@ -2907,92 +2907,92 @@ module Google
2907
2907
  #
2908
2908
  # The length of this field should be no more than 500 characters.
2909
2909
  # @!attribute [rw] location_id
2910
- # @return [String]
2910
+ # @return [::String]
2911
2911
  # The geographic location where job triggers will be retrieved from.
2912
2912
  # Use `-` for all locations. Reserved for future extensions.
2913
2913
  class ListJobTriggersRequest
2914
- include Google::Protobuf::MessageExts
2915
- extend Google::Protobuf::MessageExts::ClassMethods
2914
+ include ::Google::Protobuf::MessageExts
2915
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2916
2916
  end
2917
2917
 
2918
2918
  # Response message for ListJobTriggers.
2919
2919
  # @!attribute [rw] job_triggers
2920
- # @return [Array<Google::Cloud::Dlp::V2::JobTrigger>]
2920
+ # @return [::Array<::Google::Cloud::Dlp::V2::JobTrigger>]
2921
2921
  # List of triggeredJobs, up to page_size in ListJobTriggersRequest.
2922
2922
  # @!attribute [rw] next_page_token
2923
- # @return [String]
2923
+ # @return [::String]
2924
2924
  # If the next page is available then the next page token to be used
2925
2925
  # in following ListJobTriggers request.
2926
2926
  class ListJobTriggersResponse
2927
- include Google::Protobuf::MessageExts
2928
- extend Google::Protobuf::MessageExts::ClassMethods
2927
+ include ::Google::Protobuf::MessageExts
2928
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2929
2929
  end
2930
2930
 
2931
2931
  # Request message for DeleteJobTrigger.
2932
2932
  # @!attribute [rw] name
2933
- # @return [String]
2933
+ # @return [::String]
2934
2934
  # Required. Resource name of the project and the triggeredJob, for example
2935
2935
  # `projects/dlp-test-project/jobTriggers/53234423`.
2936
2936
  class DeleteJobTriggerRequest
2937
- include Google::Protobuf::MessageExts
2938
- extend Google::Protobuf::MessageExts::ClassMethods
2937
+ include ::Google::Protobuf::MessageExts
2938
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2939
2939
  end
2940
2940
 
2941
2941
  # Controls what and how to inspect for findings.
2942
2942
  # @!attribute [rw] storage_config
2943
- # @return [Google::Cloud::Dlp::V2::StorageConfig]
2943
+ # @return [::Google::Cloud::Dlp::V2::StorageConfig]
2944
2944
  # The data to scan.
2945
2945
  # @!attribute [rw] inspect_config
2946
- # @return [Google::Cloud::Dlp::V2::InspectConfig]
2946
+ # @return [::Google::Cloud::Dlp::V2::InspectConfig]
2947
2947
  # How and what to scan for.
2948
2948
  # @!attribute [rw] inspect_template_name
2949
- # @return [String]
2949
+ # @return [::String]
2950
2950
  # If provided, will be used as the default for all values in InspectConfig.
2951
2951
  # `inspect_config` will be merged into the values persisted as part of the
2952
2952
  # template.
2953
2953
  # @!attribute [rw] actions
2954
- # @return [Array<Google::Cloud::Dlp::V2::Action>]
2954
+ # @return [::Array<::Google::Cloud::Dlp::V2::Action>]
2955
2955
  # Actions to execute at the completion of the job.
2956
2956
  class InspectJobConfig
2957
- include Google::Protobuf::MessageExts
2958
- extend Google::Protobuf::MessageExts::ClassMethods
2957
+ include ::Google::Protobuf::MessageExts
2958
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2959
2959
  end
2960
2960
 
2961
2961
  # Combines all of the information about a DLP job.
2962
2962
  # @!attribute [rw] name
2963
- # @return [String]
2963
+ # @return [::String]
2964
2964
  # The server-assigned name.
2965
2965
  # @!attribute [rw] type
2966
- # @return [Google::Cloud::Dlp::V2::DlpJobType]
2966
+ # @return [::Google::Cloud::Dlp::V2::DlpJobType]
2967
2967
  # The type of job.
2968
2968
  # @!attribute [rw] state
2969
- # @return [Google::Cloud::Dlp::V2::DlpJob::JobState]
2969
+ # @return [::Google::Cloud::Dlp::V2::DlpJob::JobState]
2970
2970
  # State of a job.
2971
2971
  # @!attribute [rw] risk_details
2972
- # @return [Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails]
2972
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails]
2973
2973
  # Results from analyzing risk of a data source.
2974
2974
  # @!attribute [rw] inspect_details
2975
- # @return [Google::Cloud::Dlp::V2::InspectDataSourceDetails]
2975
+ # @return [::Google::Cloud::Dlp::V2::InspectDataSourceDetails]
2976
2976
  # Results from inspecting a data source.
2977
2977
  # @!attribute [rw] create_time
2978
- # @return [Google::Protobuf::Timestamp]
2978
+ # @return [::Google::Protobuf::Timestamp]
2979
2979
  # Time when the job was created.
2980
2980
  # @!attribute [rw] start_time
2981
- # @return [Google::Protobuf::Timestamp]
2981
+ # @return [::Google::Protobuf::Timestamp]
2982
2982
  # Time when the job started.
2983
2983
  # @!attribute [rw] end_time
2984
- # @return [Google::Protobuf::Timestamp]
2984
+ # @return [::Google::Protobuf::Timestamp]
2985
2985
  # Time when the job finished.
2986
2986
  # @!attribute [rw] job_trigger_name
2987
- # @return [String]
2987
+ # @return [::String]
2988
2988
  # If created by a job trigger, the resource name of the trigger that
2989
2989
  # instantiated the job.
2990
2990
  # @!attribute [rw] errors
2991
- # @return [Array<Google::Cloud::Dlp::V2::Error>]
2991
+ # @return [::Array<::Google::Cloud::Dlp::V2::Error>]
2992
2992
  # A stream of errors encountered running the job.
2993
2993
  class DlpJob
2994
- include Google::Protobuf::MessageExts
2995
- extend Google::Protobuf::MessageExts::ClassMethods
2994
+ include ::Google::Protobuf::MessageExts
2995
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2996
2996
 
2997
2997
  # Possible states of a job. New items may be added.
2998
2998
  module JobState
@@ -3025,19 +3025,19 @@ module Google
3025
3025
 
3026
3026
  # The request message for [DlpJobs.GetDlpJob][].
3027
3027
  # @!attribute [rw] name
3028
- # @return [String]
3028
+ # @return [::String]
3029
3029
  # Required. The name of the DlpJob resource.
3030
3030
  class GetDlpJobRequest
3031
- include Google::Protobuf::MessageExts
3032
- extend Google::Protobuf::MessageExts::ClassMethods
3031
+ include ::Google::Protobuf::MessageExts
3032
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3033
3033
  end
3034
3034
 
3035
3035
  # The request message for listing DLP jobs.
3036
3036
  # @!attribute [rw] parent
3037
- # @return [String]
3037
+ # @return [::String]
3038
3038
  # Required. The parent resource name, for example projects/my-project-id.
3039
3039
  # @!attribute [rw] filter
3040
- # @return [String]
3040
+ # @return [::String]
3041
3041
  # Allows filtering.
3042
3042
  #
3043
3043
  # Supported syntax:
@@ -3067,16 +3067,16 @@ module Google
3067
3067
  #
3068
3068
  # The length of this field should be no more than 500 characters.
3069
3069
  # @!attribute [rw] page_size
3070
- # @return [Integer]
3070
+ # @return [::Integer]
3071
3071
  # The standard list page size.
3072
3072
  # @!attribute [rw] page_token
3073
- # @return [String]
3073
+ # @return [::String]
3074
3074
  # The standard list page token.
3075
3075
  # @!attribute [rw] type
3076
- # @return [Google::Cloud::Dlp::V2::DlpJobType]
3076
+ # @return [::Google::Cloud::Dlp::V2::DlpJobType]
3077
3077
  # The type of job. Defaults to `DlpJobType.INSPECT`
3078
3078
  # @!attribute [rw] order_by
3079
- # @return [String]
3079
+ # @return [::String]
3080
3080
  # Comma separated list of fields to order by,
3081
3081
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
3082
3082
  # default sorting order is ascending, redundant space characters are
@@ -3091,120 +3091,120 @@ module Google
3091
3091
  # - `name`: corresponds to job's name.
3092
3092
  # - `state`: corresponds to `state`
3093
3093
  # @!attribute [rw] location_id
3094
- # @return [String]
3094
+ # @return [::String]
3095
3095
  # The geographic location where jobs will be retrieved from.
3096
3096
  # Use `-` for all locations. Reserved for future extensions.
3097
3097
  class ListDlpJobsRequest
3098
- include Google::Protobuf::MessageExts
3099
- extend Google::Protobuf::MessageExts::ClassMethods
3098
+ include ::Google::Protobuf::MessageExts
3099
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3100
3100
  end
3101
3101
 
3102
3102
  # The response message for listing DLP jobs.
3103
3103
  # @!attribute [rw] jobs
3104
- # @return [Array<Google::Cloud::Dlp::V2::DlpJob>]
3104
+ # @return [::Array<::Google::Cloud::Dlp::V2::DlpJob>]
3105
3105
  # A list of DlpJobs that matches the specified filter in the request.
3106
3106
  # @!attribute [rw] next_page_token
3107
- # @return [String]
3107
+ # @return [::String]
3108
3108
  # The standard List next-page token.
3109
3109
  class ListDlpJobsResponse
3110
- include Google::Protobuf::MessageExts
3111
- extend Google::Protobuf::MessageExts::ClassMethods
3110
+ include ::Google::Protobuf::MessageExts
3111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3112
3112
  end
3113
3113
 
3114
3114
  # The request message for canceling a DLP job.
3115
3115
  # @!attribute [rw] name
3116
- # @return [String]
3116
+ # @return [::String]
3117
3117
  # Required. The name of the DlpJob resource to be cancelled.
3118
3118
  class CancelDlpJobRequest
3119
- include Google::Protobuf::MessageExts
3120
- extend Google::Protobuf::MessageExts::ClassMethods
3119
+ include ::Google::Protobuf::MessageExts
3120
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3121
3121
  end
3122
3122
 
3123
3123
  # The request message for finishing a DLP hybrid job.
3124
3124
  # @!attribute [rw] name
3125
- # @return [String]
3125
+ # @return [::String]
3126
3126
  # Required. The name of the DlpJob resource to be cancelled.
3127
3127
  class FinishDlpJobRequest
3128
- include Google::Protobuf::MessageExts
3129
- extend Google::Protobuf::MessageExts::ClassMethods
3128
+ include ::Google::Protobuf::MessageExts
3129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3130
3130
  end
3131
3131
 
3132
3132
  # The request message for deleting a DLP job.
3133
3133
  # @!attribute [rw] name
3134
- # @return [String]
3134
+ # @return [::String]
3135
3135
  # Required. The name of the DlpJob resource to be deleted.
3136
3136
  class DeleteDlpJobRequest
3137
- include Google::Protobuf::MessageExts
3138
- extend Google::Protobuf::MessageExts::ClassMethods
3137
+ include ::Google::Protobuf::MessageExts
3138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3139
3139
  end
3140
3140
 
3141
3141
  # Request message for CreateDeidentifyTemplate.
3142
3142
  # @!attribute [rw] parent
3143
- # @return [String]
3143
+ # @return [::String]
3144
3144
  # Required. The parent resource name, for example projects/my-project-id or
3145
3145
  # organizations/my-org-id.
3146
3146
  # @!attribute [rw] deidentify_template
3147
- # @return [Google::Cloud::Dlp::V2::DeidentifyTemplate]
3147
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
3148
3148
  # Required. The DeidentifyTemplate to create.
3149
3149
  # @!attribute [rw] template_id
3150
- # @return [String]
3150
+ # @return [::String]
3151
3151
  # The template id can contain uppercase and lowercase letters,
3152
3152
  # numbers, and hyphens; that is, it must match the regular
3153
3153
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
3154
3154
  # characters. Can be empty to allow the system to generate one.
3155
3155
  # @!attribute [rw] location_id
3156
- # @return [String]
3156
+ # @return [::String]
3157
3157
  # The geographic location to store the deidentification template. Reserved
3158
3158
  # for future extensions.
3159
3159
  class CreateDeidentifyTemplateRequest
3160
- include Google::Protobuf::MessageExts
3161
- extend Google::Protobuf::MessageExts::ClassMethods
3160
+ include ::Google::Protobuf::MessageExts
3161
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3162
3162
  end
3163
3163
 
3164
3164
  # Request message for UpdateDeidentifyTemplate.
3165
3165
  # @!attribute [rw] name
3166
- # @return [String]
3166
+ # @return [::String]
3167
3167
  # Required. Resource name of organization and deidentify template to be
3168
3168
  # updated, for example
3169
3169
  # `organizations/433245324/deidentifyTemplates/432452342` or
3170
3170
  # projects/project-id/deidentifyTemplates/432452342.
3171
3171
  # @!attribute [rw] deidentify_template
3172
- # @return [Google::Cloud::Dlp::V2::DeidentifyTemplate]
3172
+ # @return [::Google::Cloud::Dlp::V2::DeidentifyTemplate]
3173
3173
  # New DeidentifyTemplate value.
3174
3174
  # @!attribute [rw] update_mask
3175
- # @return [Google::Protobuf::FieldMask]
3175
+ # @return [::Google::Protobuf::FieldMask]
3176
3176
  # Mask to control which fields get updated.
3177
3177
  class UpdateDeidentifyTemplateRequest
3178
- include Google::Protobuf::MessageExts
3179
- extend Google::Protobuf::MessageExts::ClassMethods
3178
+ include ::Google::Protobuf::MessageExts
3179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3180
3180
  end
3181
3181
 
3182
3182
  # Request message for GetDeidentifyTemplate.
3183
3183
  # @!attribute [rw] name
3184
- # @return [String]
3184
+ # @return [::String]
3185
3185
  # Required. Resource name of the organization and deidentify template to be
3186
3186
  # read, for example `organizations/433245324/deidentifyTemplates/432452342`
3187
3187
  # or projects/project-id/deidentifyTemplates/432452342.
3188
3188
  class GetDeidentifyTemplateRequest
3189
- include Google::Protobuf::MessageExts
3190
- extend Google::Protobuf::MessageExts::ClassMethods
3189
+ include ::Google::Protobuf::MessageExts
3190
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3191
3191
  end
3192
3192
 
3193
3193
  # Request message for ListDeidentifyTemplates.
3194
3194
  # @!attribute [rw] parent
3195
- # @return [String]
3195
+ # @return [::String]
3196
3196
  # Required. The parent resource name, for example projects/my-project-id or
3197
3197
  # organizations/my-org-id.
3198
3198
  # @!attribute [rw] page_token
3199
- # @return [String]
3199
+ # @return [::String]
3200
3200
  # Page token to continue retrieval. Comes from previous call
3201
3201
  # to `ListDeidentifyTemplates`.
3202
3202
  # @!attribute [rw] page_size
3203
- # @return [Integer]
3203
+ # @return [::Integer]
3204
3204
  # Size of the page, can be limited by server. If zero server returns
3205
3205
  # a page of max size 100.
3206
3206
  # @!attribute [rw] order_by
3207
- # @return [String]
3207
+ # @return [::String]
3208
3208
  # Comma separated list of fields to order by,
3209
3209
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
3210
3210
  # default sorting order is ascending, redundant space characters are
@@ -3219,38 +3219,38 @@ module Google
3219
3219
  # - `name`: corresponds to template's name.
3220
3220
  # - `display_name`: corresponds to template's display name.
3221
3221
  # @!attribute [rw] location_id
3222
- # @return [String]
3222
+ # @return [::String]
3223
3223
  # The geographic location where deidentifications templates will be retrieved
3224
3224
  # from. Use `-` for all locations. Reserved for future extensions.
3225
3225
  class ListDeidentifyTemplatesRequest
3226
- include Google::Protobuf::MessageExts
3227
- extend Google::Protobuf::MessageExts::ClassMethods
3226
+ include ::Google::Protobuf::MessageExts
3227
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3228
3228
  end
3229
3229
 
3230
3230
  # Response message for ListDeidentifyTemplates.
3231
3231
  # @!attribute [rw] deidentify_templates
3232
- # @return [Array<Google::Cloud::Dlp::V2::DeidentifyTemplate>]
3232
+ # @return [::Array<::Google::Cloud::Dlp::V2::DeidentifyTemplate>]
3233
3233
  # List of deidentify templates, up to page_size in
3234
3234
  # ListDeidentifyTemplatesRequest.
3235
3235
  # @!attribute [rw] next_page_token
3236
- # @return [String]
3236
+ # @return [::String]
3237
3237
  # If the next page is available then the next page token to be used
3238
3238
  # in following ListDeidentifyTemplates request.
3239
3239
  class ListDeidentifyTemplatesResponse
3240
- include Google::Protobuf::MessageExts
3241
- extend Google::Protobuf::MessageExts::ClassMethods
3240
+ include ::Google::Protobuf::MessageExts
3241
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3242
3242
  end
3243
3243
 
3244
3244
  # Request message for DeleteDeidentifyTemplate.
3245
3245
  # @!attribute [rw] name
3246
- # @return [String]
3246
+ # @return [::String]
3247
3247
  # Required. Resource name of the organization and deidentify template to be
3248
3248
  # deleted, for example
3249
3249
  # `organizations/433245324/deidentifyTemplates/432452342` or
3250
3250
  # projects/project-id/deidentifyTemplates/432452342.
3251
3251
  class DeleteDeidentifyTemplateRequest
3252
- include Google::Protobuf::MessageExts
3253
- extend Google::Protobuf::MessageExts::ClassMethods
3252
+ include ::Google::Protobuf::MessageExts
3253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3254
3254
  end
3255
3255
 
3256
3256
  # Configuration for a custom dictionary created from a data source of any size
@@ -3260,78 +3260,78 @@ module Google
3260
3260
  # location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries
3261
3261
  # that satisfy the size requirements.
3262
3262
  # @!attribute [rw] output_path
3263
- # @return [Google::Cloud::Dlp::V2::CloudStoragePath]
3263
+ # @return [::Google::Cloud::Dlp::V2::CloudStoragePath]
3264
3264
  # Location to store dictionary artifacts in Google Cloud Storage. These files
3265
3265
  # will only be accessible by project owners and the DLP API. If any of these
3266
3266
  # artifacts are modified, the dictionary is considered invalid and can no
3267
3267
  # longer be used.
3268
3268
  # @!attribute [rw] cloud_storage_file_set
3269
- # @return [Google::Cloud::Dlp::V2::CloudStorageFileSet]
3269
+ # @return [::Google::Cloud::Dlp::V2::CloudStorageFileSet]
3270
3270
  # Set of files containing newline-delimited lists of dictionary phrases.
3271
3271
  # @!attribute [rw] big_query_field
3272
- # @return [Google::Cloud::Dlp::V2::BigQueryField]
3272
+ # @return [::Google::Cloud::Dlp::V2::BigQueryField]
3273
3273
  # Field in a BigQuery table where each cell represents a dictionary phrase.
3274
3274
  class LargeCustomDictionaryConfig
3275
- include Google::Protobuf::MessageExts
3276
- extend Google::Protobuf::MessageExts::ClassMethods
3275
+ include ::Google::Protobuf::MessageExts
3276
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3277
3277
  end
3278
3278
 
3279
3279
  # Summary statistics of a custom dictionary.
3280
3280
  # @!attribute [rw] approx_num_phrases
3281
- # @return [Integer]
3281
+ # @return [::Integer]
3282
3282
  # Approximate number of distinct phrases in the dictionary.
3283
3283
  class LargeCustomDictionaryStats
3284
- include Google::Protobuf::MessageExts
3285
- extend Google::Protobuf::MessageExts::ClassMethods
3284
+ include ::Google::Protobuf::MessageExts
3285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3286
3286
  end
3287
3287
 
3288
3288
  # Configuration for stored infoTypes. All fields and subfield are provided
3289
3289
  # by the user. For more information, see
3290
3290
  # https://cloud.google.com/dlp/docs/creating-custom-infotypes.
3291
3291
  # @!attribute [rw] display_name
3292
- # @return [String]
3292
+ # @return [::String]
3293
3293
  # Display name of the StoredInfoType (max 256 characters).
3294
3294
  # @!attribute [rw] description
3295
- # @return [String]
3295
+ # @return [::String]
3296
3296
  # Description of the StoredInfoType (max 256 characters).
3297
3297
  # @!attribute [rw] large_custom_dictionary
3298
- # @return [Google::Cloud::Dlp::V2::LargeCustomDictionaryConfig]
3298
+ # @return [::Google::Cloud::Dlp::V2::LargeCustomDictionaryConfig]
3299
3299
  # StoredInfoType where findings are defined by a dictionary of phrases.
3300
3300
  # @!attribute [rw] dictionary
3301
- # @return [Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
3301
+ # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
3302
3302
  # Store dictionary-based CustomInfoType.
3303
3303
  # @!attribute [rw] regex
3304
- # @return [Google::Cloud::Dlp::V2::CustomInfoType::Regex]
3304
+ # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
3305
3305
  # Store regular expression-based StoredInfoType.
3306
3306
  class StoredInfoTypeConfig
3307
- include Google::Protobuf::MessageExts
3308
- extend Google::Protobuf::MessageExts::ClassMethods
3307
+ include ::Google::Protobuf::MessageExts
3308
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3309
3309
  end
3310
3310
 
3311
3311
  # Statistics for a StoredInfoType.
3312
3312
  # @!attribute [rw] large_custom_dictionary
3313
- # @return [Google::Cloud::Dlp::V2::LargeCustomDictionaryStats]
3313
+ # @return [::Google::Cloud::Dlp::V2::LargeCustomDictionaryStats]
3314
3314
  # StoredInfoType where findings are defined by a dictionary of phrases.
3315
3315
  class StoredInfoTypeStats
3316
- include Google::Protobuf::MessageExts
3317
- extend Google::Protobuf::MessageExts::ClassMethods
3316
+ include ::Google::Protobuf::MessageExts
3317
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3318
3318
  end
3319
3319
 
3320
3320
  # Version of a StoredInfoType, including the configuration used to build it,
3321
3321
  # create timestamp, and current state.
3322
3322
  # @!attribute [rw] config
3323
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3323
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3324
3324
  # StoredInfoType configuration.
3325
3325
  # @!attribute [rw] create_time
3326
- # @return [Google::Protobuf::Timestamp]
3326
+ # @return [::Google::Protobuf::Timestamp]
3327
3327
  # Create timestamp of the version. Read-only, determined by the system
3328
3328
  # when the version is created.
3329
3329
  # @!attribute [rw] state
3330
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeState]
3330
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeState]
3331
3331
  # Stored info type version state. Read-only, updated by the system
3332
3332
  # during dictionary creation.
3333
3333
  # @!attribute [rw] errors
3334
- # @return [Array<Google::Cloud::Dlp::V2::Error>]
3334
+ # @return [::Array<::Google::Cloud::Dlp::V2::Error>]
3335
3335
  # Errors that occurred when creating this storedInfoType version, or
3336
3336
  # anomalies detected in the storedInfoType data that render it unusable. Only
3337
3337
  # the five most recent errors will be displayed, with the most recent error
@@ -3346,98 +3346,98 @@ module Google
3346
3346
  # storedInfoType to continue using it, reusing the same `config` if it was
3347
3347
  # not the source of the error.
3348
3348
  # @!attribute [rw] stats
3349
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeStats]
3349
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeStats]
3350
3350
  # Statistics about this storedInfoType version.
3351
3351
  class StoredInfoTypeVersion
3352
- include Google::Protobuf::MessageExts
3353
- extend Google::Protobuf::MessageExts::ClassMethods
3352
+ include ::Google::Protobuf::MessageExts
3353
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3354
3354
  end
3355
3355
 
3356
3356
  # StoredInfoType resource message that contains information about the current
3357
3357
  # version and any pending updates.
3358
3358
  # @!attribute [rw] name
3359
- # @return [String]
3359
+ # @return [::String]
3360
3360
  # Resource name.
3361
3361
  # @!attribute [rw] current_version
3362
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeVersion]
3362
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeVersion]
3363
3363
  # Current version of the stored info type.
3364
3364
  # @!attribute [rw] pending_versions
3365
- # @return [Array<Google::Cloud::Dlp::V2::StoredInfoTypeVersion>]
3365
+ # @return [::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>]
3366
3366
  # Pending versions of the stored info type. Empty if no versions are
3367
3367
  # pending.
3368
3368
  class StoredInfoType
3369
- include Google::Protobuf::MessageExts
3370
- extend Google::Protobuf::MessageExts::ClassMethods
3369
+ include ::Google::Protobuf::MessageExts
3370
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3371
3371
  end
3372
3372
 
3373
3373
  # Request message for CreateStoredInfoType.
3374
3374
  # @!attribute [rw] parent
3375
- # @return [String]
3375
+ # @return [::String]
3376
3376
  # Required. The parent resource name, for example projects/my-project-id or
3377
3377
  # organizations/my-org-id.
3378
3378
  # @!attribute [rw] config
3379
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3379
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3380
3380
  # Required. Configuration of the storedInfoType to create.
3381
3381
  # @!attribute [rw] stored_info_type_id
3382
- # @return [String]
3382
+ # @return [::String]
3383
3383
  # The storedInfoType ID can contain uppercase and lowercase letters,
3384
3384
  # numbers, and hyphens; that is, it must match the regular
3385
3385
  # expression: `[a-zA-Z\\d-_]+`. The maximum length is 100
3386
3386
  # characters. Can be empty to allow the system to generate one.
3387
3387
  # @!attribute [rw] location_id
3388
- # @return [String]
3388
+ # @return [::String]
3389
3389
  # The geographic location to store the stored infoType. Reserved for
3390
3390
  # future extensions.
3391
3391
  class CreateStoredInfoTypeRequest
3392
- include Google::Protobuf::MessageExts
3393
- extend Google::Protobuf::MessageExts::ClassMethods
3392
+ include ::Google::Protobuf::MessageExts
3393
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3394
3394
  end
3395
3395
 
3396
3396
  # Request message for UpdateStoredInfoType.
3397
3397
  # @!attribute [rw] name
3398
- # @return [String]
3398
+ # @return [::String]
3399
3399
  # Required. Resource name of organization and storedInfoType to be updated,
3400
3400
  # for example `organizations/433245324/storedInfoTypes/432452342` or
3401
3401
  # projects/project-id/storedInfoTypes/432452342.
3402
3402
  # @!attribute [rw] config
3403
- # @return [Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3403
+ # @return [::Google::Cloud::Dlp::V2::StoredInfoTypeConfig]
3404
3404
  # Updated configuration for the storedInfoType. If not provided, a new
3405
3405
  # version of the storedInfoType will be created with the existing
3406
3406
  # configuration.
3407
3407
  # @!attribute [rw] update_mask
3408
- # @return [Google::Protobuf::FieldMask]
3408
+ # @return [::Google::Protobuf::FieldMask]
3409
3409
  # Mask to control which fields get updated.
3410
3410
  class UpdateStoredInfoTypeRequest
3411
- include Google::Protobuf::MessageExts
3412
- extend Google::Protobuf::MessageExts::ClassMethods
3411
+ include ::Google::Protobuf::MessageExts
3412
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3413
3413
  end
3414
3414
 
3415
3415
  # Request message for GetStoredInfoType.
3416
3416
  # @!attribute [rw] name
3417
- # @return [String]
3417
+ # @return [::String]
3418
3418
  # Required. Resource name of the organization and storedInfoType to be read,
3419
3419
  # for example `organizations/433245324/storedInfoTypes/432452342` or
3420
3420
  # projects/project-id/storedInfoTypes/432452342.
3421
3421
  class GetStoredInfoTypeRequest
3422
- include Google::Protobuf::MessageExts
3423
- extend Google::Protobuf::MessageExts::ClassMethods
3422
+ include ::Google::Protobuf::MessageExts
3423
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3424
3424
  end
3425
3425
 
3426
3426
  # Request message for ListStoredInfoTypes.
3427
3427
  # @!attribute [rw] parent
3428
- # @return [String]
3428
+ # @return [::String]
3429
3429
  # Required. The parent resource name, for example projects/my-project-id or
3430
3430
  # organizations/my-org-id.
3431
3431
  # @!attribute [rw] page_token
3432
- # @return [String]
3432
+ # @return [::String]
3433
3433
  # Page token to continue retrieval. Comes from previous call
3434
3434
  # to `ListStoredInfoTypes`.
3435
3435
  # @!attribute [rw] page_size
3436
- # @return [Integer]
3436
+ # @return [::Integer]
3437
3437
  # Size of the page, can be limited by server. If zero server returns
3438
3438
  # a page of max size 100.
3439
3439
  # @!attribute [rw] order_by
3440
- # @return [String]
3440
+ # @return [::String]
3441
3441
  # Comma separated list of fields to order by,
3442
3442
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
3443
3443
  # default sorting order is ascending, redundant space characters are
@@ -3453,101 +3453,101 @@ module Google
3453
3453
  # - `name`: corresponds to resource name.
3454
3454
  # - `display_name`: corresponds to info type's display name.
3455
3455
  # @!attribute [rw] location_id
3456
- # @return [String]
3456
+ # @return [::String]
3457
3457
  # The geographic location where stored infoTypes will be retrieved from.
3458
3458
  # Use `-` for all locations. Reserved for future extensions.
3459
3459
  class ListStoredInfoTypesRequest
3460
- include Google::Protobuf::MessageExts
3461
- extend Google::Protobuf::MessageExts::ClassMethods
3460
+ include ::Google::Protobuf::MessageExts
3461
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3462
3462
  end
3463
3463
 
3464
3464
  # Response message for ListStoredInfoTypes.
3465
3465
  # @!attribute [rw] stored_info_types
3466
- # @return [Array<Google::Cloud::Dlp::V2::StoredInfoType>]
3466
+ # @return [::Array<::Google::Cloud::Dlp::V2::StoredInfoType>]
3467
3467
  # List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.
3468
3468
  # @!attribute [rw] next_page_token
3469
- # @return [String]
3469
+ # @return [::String]
3470
3470
  # If the next page is available then the next page token to be used
3471
3471
  # in following ListStoredInfoTypes request.
3472
3472
  class ListStoredInfoTypesResponse
3473
- include Google::Protobuf::MessageExts
3474
- extend Google::Protobuf::MessageExts::ClassMethods
3473
+ include ::Google::Protobuf::MessageExts
3474
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3475
3475
  end
3476
3476
 
3477
3477
  # Request message for DeleteStoredInfoType.
3478
3478
  # @!attribute [rw] name
3479
- # @return [String]
3479
+ # @return [::String]
3480
3480
  # Required. Resource name of the organization and storedInfoType to be
3481
3481
  # deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
3482
3482
  # projects/project-id/storedInfoTypes/432452342.
3483
3483
  class DeleteStoredInfoTypeRequest
3484
- include Google::Protobuf::MessageExts
3485
- extend Google::Protobuf::MessageExts::ClassMethods
3484
+ include ::Google::Protobuf::MessageExts
3485
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3486
3486
  end
3487
3487
 
3488
3488
  # Request to search for potentially sensitive info in a custom location.
3489
3489
  # @!attribute [rw] name
3490
- # @return [String]
3490
+ # @return [::String]
3491
3491
  # Required. Resource name of the trigger to execute a hybrid inspect on, for
3492
3492
  # example `projects/dlp-test-project/jobTriggers/53234423`.
3493
3493
  # @!attribute [rw] hybrid_item
3494
- # @return [Google::Cloud::Dlp::V2::HybridContentItem]
3494
+ # @return [::Google::Cloud::Dlp::V2::HybridContentItem]
3495
3495
  # The item to inspect.
3496
3496
  class HybridInspectJobTriggerRequest
3497
- include Google::Protobuf::MessageExts
3498
- extend Google::Protobuf::MessageExts::ClassMethods
3497
+ include ::Google::Protobuf::MessageExts
3498
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3499
3499
  end
3500
3500
 
3501
3501
  # Request to search for potentially sensitive info in a custom location.
3502
3502
  # @!attribute [rw] name
3503
- # @return [String]
3503
+ # @return [::String]
3504
3504
  # Required. Resource name of the job to execute a hybrid inspect on, for
3505
3505
  # example `projects/dlp-test-project/dlpJob/53234423`.
3506
3506
  # @!attribute [rw] hybrid_item
3507
- # @return [Google::Cloud::Dlp::V2::HybridContentItem]
3507
+ # @return [::Google::Cloud::Dlp::V2::HybridContentItem]
3508
3508
  # The item to inspect.
3509
3509
  class HybridInspectDlpJobRequest
3510
- include Google::Protobuf::MessageExts
3511
- extend Google::Protobuf::MessageExts::ClassMethods
3510
+ include ::Google::Protobuf::MessageExts
3511
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3512
3512
  end
3513
3513
 
3514
3514
  # An individual hybrid item to inspect. Will be stored temporarily during
3515
3515
  # processing.
3516
3516
  # @!attribute [rw] item
3517
- # @return [Google::Cloud::Dlp::V2::ContentItem]
3517
+ # @return [::Google::Cloud::Dlp::V2::ContentItem]
3518
3518
  # The item to inspect.
3519
3519
  # @!attribute [rw] finding_details
3520
- # @return [Google::Cloud::Dlp::V2::HybridFindingDetails]
3520
+ # @return [::Google::Cloud::Dlp::V2::HybridFindingDetails]
3521
3521
  # Supplementary information that will be added to each finding.
3522
3522
  class HybridContentItem
3523
- include Google::Protobuf::MessageExts
3524
- extend Google::Protobuf::MessageExts::ClassMethods
3523
+ include ::Google::Protobuf::MessageExts
3524
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3525
3525
  end
3526
3526
 
3527
3527
  # Populate to associate additional data with each finding.
3528
3528
  # @!attribute [rw] container_details
3529
- # @return [Google::Cloud::Dlp::V2::Container]
3529
+ # @return [::Google::Cloud::Dlp::V2::Container]
3530
3530
  # Details about the container where the content being inspected is from.
3531
3531
  # @!attribute [rw] file_offset
3532
- # @return [Integer]
3532
+ # @return [::Integer]
3533
3533
  # Offset in bytes of the line, from the beginning of the file, where the
3534
3534
  # finding is located. Populate if the item being scanned is only part of a
3535
3535
  # bigger item, such as a shard of a file and you want to track the absolute
3536
3536
  # position of the finding.
3537
3537
  # @!attribute [rw] row_offset
3538
- # @return [Integer]
3538
+ # @return [::Integer]
3539
3539
  # Offset of the row for tables. Populate if the row(s) being scanned are
3540
3540
  # part of a bigger dataset and you want to keep track of their absolute
3541
3541
  # position.
3542
3542
  # @!attribute [rw] table_options
3543
- # @return [Google::Cloud::Dlp::V2::TableOptions]
3543
+ # @return [::Google::Cloud::Dlp::V2::TableOptions]
3544
3544
  # If the container is a table, additional information to make findings
3545
3545
  # meaningful such as the columns that are primary keys. If not known ahead
3546
3546
  # of time, can also be set within each inspect hybrid call and the two
3547
3547
  # will be merged. Note that identifying_fields will only be stored to
3548
3548
  # BigQuery, and only if the BigQuery action has been included.
3549
3549
  # @!attribute [rw] labels
3550
- # @return [Google::Protobuf::Map{String => String}]
3550
+ # @return [::Google::Protobuf::Map{::String => ::String}]
3551
3551
  # Labels to represent user provided metadata about the data being inspected.
3552
3552
  # If configured by the job, some key values may be required.
3553
3553
  # The labels associated with `Finding`'s produced by hybrid
@@ -3565,23 +3565,23 @@ module Google
3565
3565
  # * `"environment" : "production"`
3566
3566
  # * `"pipeline" : "etl"`
3567
3567
  class HybridFindingDetails
3568
- include Google::Protobuf::MessageExts
3569
- extend Google::Protobuf::MessageExts::ClassMethods
3568
+ include ::Google::Protobuf::MessageExts
3569
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3570
3570
 
3571
3571
  # @!attribute [rw] key
3572
- # @return [String]
3572
+ # @return [::String]
3573
3573
  # @!attribute [rw] value
3574
- # @return [String]
3574
+ # @return [::String]
3575
3575
  class LabelsEntry
3576
- include Google::Protobuf::MessageExts
3577
- extend Google::Protobuf::MessageExts::ClassMethods
3576
+ include ::Google::Protobuf::MessageExts
3577
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3578
3578
  end
3579
3579
  end
3580
3580
 
3581
3581
  # Quota exceeded errors will be thrown once quota has been met.
3582
3582
  class HybridInspectResponse
3583
- include Google::Protobuf::MessageExts
3584
- extend Google::Protobuf::MessageExts::ClassMethods
3583
+ include ::Google::Protobuf::MessageExts
3584
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3585
3585
  end
3586
3586
 
3587
3587
  # Operators available for comparing the value of fields.