google-apis-dlp_v2 0.103.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cda116b55e60c0a1996cca2b3e8fb5d5a587fe228ded8df71614641d416ace25
4
- data.tar.gz: 8c456d0e7d99b4b8f96c1622b7fca06848d45511428df765ff47e3a6948e543a
3
+ metadata.gz: be2945085099be460a26120522a0f2850dbb26e288b63ee2ed9d411fd78322aa
4
+ data.tar.gz: 9b3810e47797698f4c6a6c80ac3d0fcd783f6367e1d44ac72c2ca2d73bc4d3b9
5
5
  SHA512:
6
- metadata.gz: e49338bf839a52eb61c8747ba5f33ec5aa2e69e30f1ffead085b90b71694898b0f4ffdfa66e6b5967fb790bc78a87b31903a610daef0edd152d9db37bc1dcc1e
7
- data.tar.gz: 6e335575ec91ac4502a04d55ee3c2131311575c440817408f76e0279bee04f0eda70128b704428e6a985090e3b622b49880a823ba0ad5f668101ddad38272060
6
+ metadata.gz: 8769695e8818783368c2440fb7298b67fa95aa1efa1fb3c3b3d96a6b80f2a43706c19e4ec80a8a6a0fdb7af66d1c30ea31508ef8510a8788dc034dfa60f87aef
7
+ data.tar.gz: 411868bce35d9eb1e88745028c19f77dd52013f538e13233c5b2cde4b3cbb53b87b9fba8b04db58b7a3e0c1abe907878c7f231697ffbb312d8598e431d316bc4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.104.0 (2026-01-25)
4
+
5
+ * Regenerated from discovery document revision 20260120
6
+
3
7
  ### v0.103.0 (2026-01-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20260105
@@ -154,6 +154,130 @@ module Google
154
154
  end
155
155
  end
156
156
 
157
+ # AdjustmentRule condition for image findings. This rule is silently ignored if
158
+ # the content being inspected is not an image.
159
+ class GooglePrivacyDlpV2AdjustByImageFindings
160
+ include Google::Apis::Core::Hashable
161
+
162
+ # Specifies the relationship between bounding boxes for image findings.
163
+ # Corresponds to the JSON property `imageContainmentType`
164
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType]
165
+ attr_accessor :image_containment_type
166
+
167
+ # A list of image-supported infoTypes—excluding [document infoTypes](https://
168
+ # cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—
169
+ # to be used as context for the adjustment rule. Sensitive Data Protection
170
+ # adjusts the likelihood of an image finding if its bounding box has the
171
+ # specified spatial relationship (defined by `image_containment_type`) with a
172
+ # finding of an infoType in this list. For example, you can create a rule to
173
+ # adjust the likelihood of a `US_PASSPORT` finding if it is enclosed by a
174
+ # finding of `OBJECT_TYPE/PERSON/PASSPORT`. To configure this, set `US_PASSPORT`
175
+ # in `InspectionRuleSet.info_types`. Add an `adjustment_rule` with an `
176
+ # adjust_by_image_findings.info_types` that contains `OBJECT_TYPE/PERSON/
177
+ # PASSPORT` and `image_containment_type` set to `encloses`. In this case, the
178
+ # likelihood of the `US_PASSPORT` finding is adjusted, but the likelihood of the
179
+ # `OBJECT_TYPE/PERSON/PASSPORT` finding is not.
180
+ # Corresponds to the JSON property `infoTypes`
181
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
182
+ attr_accessor :info_types
183
+
184
+ # Required. Minimum likelihood of the `adjust_by_image_findings.info_types`
185
+ # finding. If the likelihood is lower than this value, Sensitive Data Protection
186
+ # doesn't adjust the likelihood of the `InspectionRuleSet.info_types` finding.
187
+ # Corresponds to the JSON property `minLikelihood`
188
+ # @return [String]
189
+ attr_accessor :min_likelihood
190
+
191
+ def initialize(**args)
192
+ update!(**args)
193
+ end
194
+
195
+ # Update properties of this object
196
+ def update!(**args)
197
+ @image_containment_type = args[:image_containment_type] if args.key?(:image_containment_type)
198
+ @info_types = args[:info_types] if args.key?(:info_types)
199
+ @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
200
+ end
201
+ end
202
+
203
+ # AdjustmentRule condition for matching infoTypes.
204
+ class GooglePrivacyDlpV2AdjustByMatchingInfoTypes
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Sensitive Data Protection adjusts the likelihood of a finding if that finding
208
+ # also matches one of these infoTypes. For example, you can create a rule to
209
+ # adjust the likelihood of a `PHONE_NUMBER` finding if the string is found
210
+ # within a document that is classified as `DOCUMENT_TYPE/HR/RESUME`. To
211
+ # configure this, set `PHONE_NUMBER` in `InspectionRuleSet.info_types`. Add an `
212
+ # adjustment_rule` with an `adjust_by_matching_info_types.info_types` that
213
+ # contains `DOCUMENT_TYPE/HR/RESUME`. In this case, the likelihood of the `
214
+ # PHONE_NUMBER` finding is adjusted, but the likelihood of the `DOCUMENT_TYPE/HR/
215
+ # RESUME` finding is not.
216
+ # Corresponds to the JSON property `infoTypes`
217
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
218
+ attr_accessor :info_types
219
+
220
+ # How the adjustment rule is applied. Only MATCHING_TYPE_PARTIAL_MATCH is
221
+ # supported: - Partial match: adjusts the findings of infoTypes specified in the
222
+ # inspection rule when they have a nonempty intersection with a finding of an
223
+ # infoType specified in this adjustment rule.
224
+ # Corresponds to the JSON property `matchingType`
225
+ # @return [String]
226
+ attr_accessor :matching_type
227
+
228
+ # Required. Minimum likelihood of the `adjust_by_matching_info_types.info_types`
229
+ # finding. If the likelihood is lower than this value, Sensitive Data Protection
230
+ # doesn't adjust the likelihood of the `InspectionRuleSet.info_types` finding.
231
+ # Corresponds to the JSON property `minLikelihood`
232
+ # @return [String]
233
+ attr_accessor :min_likelihood
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @info_types = args[:info_types] if args.key?(:info_types)
242
+ @matching_type = args[:matching_type] if args.key?(:matching_type)
243
+ @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
244
+ end
245
+ end
246
+
247
+ # Rule that specifies conditions when a certain infoType's finding details
248
+ # should be adjusted.
249
+ class GooglePrivacyDlpV2AdjustmentRule
250
+ include Google::Apis::Core::Hashable
251
+
252
+ # AdjustmentRule condition for image findings. This rule is silently ignored if
253
+ # the content being inspected is not an image.
254
+ # Corresponds to the JSON property `adjustByImageFindings`
255
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByImageFindings]
256
+ attr_accessor :adjust_by_image_findings
257
+
258
+ # AdjustmentRule condition for matching infoTypes.
259
+ # Corresponds to the JSON property `adjustByMatchingInfoTypes`
260
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByMatchingInfoTypes]
261
+ attr_accessor :adjust_by_matching_info_types
262
+
263
+ # Message for specifying an adjustment to the likelihood of a finding as part of
264
+ # a detection rule.
265
+ # Corresponds to the JSON property `likelihoodAdjustment`
266
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LikelihoodAdjustment]
267
+ attr_accessor :likelihood_adjustment
268
+
269
+ def initialize(**args)
270
+ update!(**args)
271
+ end
272
+
273
+ # Update properties of this object
274
+ def update!(**args)
275
+ @adjust_by_image_findings = args[:adjust_by_image_findings] if args.key?(:adjust_by_image_findings)
276
+ @adjust_by_matching_info_types = args[:adjust_by_matching_info_types] if args.key?(:adjust_by_matching_info_types)
277
+ @likelihood_adjustment = args[:likelihood_adjustment] if args.key?(:likelihood_adjustment)
278
+ end
279
+ end
280
+
157
281
  # Apply transformation to all findings.
158
282
  class GooglePrivacyDlpV2AllInfoTypes
159
283
  include Google::Apis::Core::Hashable
@@ -4586,6 +4710,19 @@ module Google
4586
4710
  end
4587
4711
  end
4588
4712
 
4713
+ # Defines a condition where one bounding box encloses another.
4714
+ class GooglePrivacyDlpV2Encloses
4715
+ include Google::Apis::Core::Hashable
4716
+
4717
+ def initialize(**args)
4718
+ update!(**args)
4719
+ end
4720
+
4721
+ # Update properties of this object
4722
+ def update!(**args)
4723
+ end
4724
+ end
4725
+
4589
4726
  # An entity in a dataset is a field or set of fields that correspond to a single
4590
4727
  # person. For example, in medical records the `EntityId` might be a patient
4591
4728
  # identifier, or for financial records it might be an account identifier. This
@@ -4674,6 +4811,43 @@ module Google
4674
4811
  end
4675
4812
  end
4676
4813
 
4814
+ # The rule to exclude image findings based on spatial relationships with other
4815
+ # image findings. For example, exclude an image finding if it overlaps with
4816
+ # another image finding. This rule is silently ignored if the content being
4817
+ # inspected is not an image.
4818
+ class GooglePrivacyDlpV2ExcludeByImageFindings
4819
+ include Google::Apis::Core::Hashable
4820
+
4821
+ # Specifies the relationship between bounding boxes for image findings.
4822
+ # Corresponds to the JSON property `imageContainmentType`
4823
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType]
4824
+ attr_accessor :image_containment_type
4825
+
4826
+ # A list of image-supported infoTypes—excluding [document infoTypes](https://
4827
+ # cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—
4828
+ # to be used as context for the exclusion rule. A finding is excluded if its
4829
+ # bounding box has the specified spatial relationship (defined by `
4830
+ # image_containment_type`) with a finding of an infoType in this list. For
4831
+ # example, if `InspectionRuleSet.info_types` includes `OBJECT_TYPE/PERSON` and
4832
+ # this `exclusion_rule` specifies `info_types` as `OBJECT_TYPE/PERSON/PASSPORT`
4833
+ # with `image_containment_type` set to `encloses`, then `OBJECT_TYPE/PERSON`
4834
+ # findings will be excluded if they are fully contained within the bounding box
4835
+ # of an `OBJECT_TYPE/PERSON/PASSPORT` finding.
4836
+ # Corresponds to the JSON property `infoTypes`
4837
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
4838
+ attr_accessor :info_types
4839
+
4840
+ def initialize(**args)
4841
+ update!(**args)
4842
+ end
4843
+
4844
+ # Update properties of this object
4845
+ def update!(**args)
4846
+ @image_containment_type = args[:image_containment_type] if args.key?(:image_containment_type)
4847
+ @info_types = args[:info_types] if args.key?(:info_types)
4848
+ end
4849
+ end
4850
+
4677
4851
  # List of excluded infoTypes.
4678
4852
  class GooglePrivacyDlpV2ExcludeInfoTypes
4679
4853
  include Google::Apis::Core::Hashable
@@ -4733,6 +4907,14 @@ module Google
4733
4907
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword]
4734
4908
  attr_accessor :exclude_by_hotword
4735
4909
 
4910
+ # The rule to exclude image findings based on spatial relationships with other
4911
+ # image findings. For example, exclude an image finding if it overlaps with
4912
+ # another image finding. This rule is silently ignored if the content being
4913
+ # inspected is not an image.
4914
+ # Corresponds to the JSON property `excludeByImageFindings`
4915
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByImageFindings]
4916
+ attr_accessor :exclude_by_image_findings
4917
+
4736
4918
  # List of excluded infoTypes.
4737
4919
  # Corresponds to the JSON property `excludeInfoTypes`
4738
4920
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
@@ -4756,6 +4938,7 @@ module Google
4756
4938
  def update!(**args)
4757
4939
  @dictionary = args[:dictionary] if args.key?(:dictionary)
4758
4940
  @exclude_by_hotword = args[:exclude_by_hotword] if args.key?(:exclude_by_hotword)
4941
+ @exclude_by_image_findings = args[:exclude_by_image_findings] if args.key?(:exclude_by_image_findings)
4759
4942
  @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
4760
4943
  @matching_type = args[:matching_type] if args.key?(:matching_type)
4761
4944
  @regex = args[:regex] if args.key?(:regex)
@@ -5534,6 +5717,19 @@ module Google
5534
5717
  end
5535
5718
  end
5536
5719
 
5720
+ # Defines a condition where one bounding box is fully inside another.
5721
+ class GooglePrivacyDlpV2FullyInside
5722
+ include Google::Apis::Core::Hashable
5723
+
5724
+ def initialize(**args)
5725
+ update!(**args)
5726
+ end
5727
+
5728
+ # Update properties of this object
5729
+ def update!(**args)
5730
+ end
5731
+ end
5732
+
5537
5733
  # Processing occurs in the global region.
5538
5734
  class GooglePrivacyDlpV2GlobalProcessing
5539
5735
  include Google::Apis::Core::Hashable
@@ -5797,6 +5993,37 @@ module Google
5797
5993
  end
5798
5994
  end
5799
5995
 
5996
+ # Specifies the relationship between bounding boxes for image findings.
5997
+ class GooglePrivacyDlpV2ImageContainmentType
5998
+ include Google::Apis::Core::Hashable
5999
+
6000
+ # Defines a condition where one bounding box encloses another.
6001
+ # Corresponds to the JSON property `encloses`
6002
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Encloses]
6003
+ attr_accessor :encloses
6004
+
6005
+ # Defines a condition where one bounding box is fully inside another.
6006
+ # Corresponds to the JSON property `fullyInside`
6007
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FullyInside]
6008
+ attr_accessor :fully_inside
6009
+
6010
+ # Defines a condition for overlapping bounding boxes.
6011
+ # Corresponds to the JSON property `overlaps`
6012
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Overlap]
6013
+ attr_accessor :overlaps
6014
+
6015
+ def initialize(**args)
6016
+ update!(**args)
6017
+ end
6018
+
6019
+ # Update properties of this object
6020
+ def update!(**args)
6021
+ @encloses = args[:encloses] if args.key?(:encloses)
6022
+ @fully_inside = args[:fully_inside] if args.key?(:fully_inside)
6023
+ @overlaps = args[:overlaps] if args.key?(:overlaps)
6024
+ end
6025
+ end
6026
+
5800
6027
  # Configure image processing to fall back to any of the following processing
5801
6028
  # options if image processing is unavailable in the original request location.
5802
6029
  class GooglePrivacyDlpV2ImageFallbackLocation
@@ -6549,6 +6776,12 @@ module Google
6549
6776
  class GooglePrivacyDlpV2InspectionRule
6550
6777
  include Google::Apis::Core::Hashable
6551
6778
 
6779
+ # Rule that specifies conditions when a certain infoType's finding details
6780
+ # should be adjusted.
6781
+ # Corresponds to the JSON property `adjustmentRule`
6782
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustmentRule]
6783
+ attr_accessor :adjustment_rule
6784
+
6552
6785
  # The rule that specifies conditions when findings of infoTypes specified in `
6553
6786
  # InspectionRuleSet` are removed from results.
6554
6787
  # Corresponds to the JSON property `exclusionRule`
@@ -6567,6 +6800,7 @@ module Google
6567
6800
 
6568
6801
  # Update properties of this object
6569
6802
  def update!(**args)
6803
+ @adjustment_rule = args[:adjustment_rule] if args.key?(:adjustment_rule)
6570
6804
  @exclusion_rule = args[:exclusion_rule] if args.key?(:exclusion_rule)
6571
6805
  @hotword_rule = args[:hotword_rule] if args.key?(:hotword_rule)
6572
6806
  end
@@ -8034,6 +8268,19 @@ module Google
8034
8268
  end
8035
8269
  end
8036
8270
 
8271
+ # Defines a condition for overlapping bounding boxes.
8272
+ class GooglePrivacyDlpV2Overlap
8273
+ include Google::Apis::Core::Hashable
8274
+
8275
+ def initialize(**args)
8276
+ update!(**args)
8277
+ end
8278
+
8279
+ # Update properties of this object
8280
+ def update!(**args)
8281
+ end
8282
+ end
8283
+
8037
8284
  # Datastore partition ID. A partition ID identifies a grouping of entities. The
8038
8285
  # grouping is always by project and namespace, however the namespace ID may be
8039
8286
  # empty. A partition ID contains several dimensions: project ID and namespace ID.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DlpV2
18
18
  # Version of the google-apis-dlp_v2 gem
19
- GEM_VERSION = "0.103.0"
19
+ GEM_VERSION = "0.104.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260105"
25
+ REVISION = "20260120"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,24 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GooglePrivacyDlpV2AdjustByImageFindings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GooglePrivacyDlpV2AdjustByMatchingInfoTypes
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GooglePrivacyDlpV2AdjustmentRule
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class GooglePrivacyDlpV2AllInfoTypes
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -772,6 +790,12 @@ module Google
772
790
  include Google::Apis::Core::JsonObjectSupport
773
791
  end
774
792
 
793
+ class GooglePrivacyDlpV2Encloses
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
775
799
  class GooglePrivacyDlpV2EntityId
776
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
801
 
@@ -790,6 +814,12 @@ module Google
790
814
  include Google::Apis::Core::JsonObjectSupport
791
815
  end
792
816
 
817
+ class GooglePrivacyDlpV2ExcludeByImageFindings
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
793
823
  class GooglePrivacyDlpV2ExcludeInfoTypes
794
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
825
 
@@ -904,6 +934,12 @@ module Google
904
934
  include Google::Apis::Core::JsonObjectSupport
905
935
  end
906
936
 
937
+ class GooglePrivacyDlpV2FullyInside
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
907
943
  class GooglePrivacyDlpV2GlobalProcessing
908
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
945
 
@@ -958,6 +994,12 @@ module Google
958
994
  include Google::Apis::Core::JsonObjectSupport
959
995
  end
960
996
 
997
+ class GooglePrivacyDlpV2ImageContainmentType
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
961
1003
  class GooglePrivacyDlpV2ImageFallbackLocation
962
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
1005
 
@@ -1396,6 +1438,12 @@ module Google
1396
1438
  include Google::Apis::Core::JsonObjectSupport
1397
1439
  end
1398
1440
 
1441
+ class GooglePrivacyDlpV2Overlap
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1399
1447
  class GooglePrivacyDlpV2PartitionId
1400
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1449
 
@@ -2116,6 +2164,39 @@ module Google
2116
2164
  end
2117
2165
  end
2118
2166
 
2167
+ class GooglePrivacyDlpV2AdjustByImageFindings
2168
+ # @private
2169
+ class Representation < Google::Apis::Core::JsonRepresentation
2170
+ property :image_containment_type, as: 'imageContainmentType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType::Representation
2171
+
2172
+ collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2173
+
2174
+ property :min_likelihood, as: 'minLikelihood'
2175
+ end
2176
+ end
2177
+
2178
+ class GooglePrivacyDlpV2AdjustByMatchingInfoTypes
2179
+ # @private
2180
+ class Representation < Google::Apis::Core::JsonRepresentation
2181
+ collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2182
+
2183
+ property :matching_type, as: 'matchingType'
2184
+ property :min_likelihood, as: 'minLikelihood'
2185
+ end
2186
+ end
2187
+
2188
+ class GooglePrivacyDlpV2AdjustmentRule
2189
+ # @private
2190
+ class Representation < Google::Apis::Core::JsonRepresentation
2191
+ property :adjust_by_image_findings, as: 'adjustByImageFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByImageFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByImageFindings::Representation
2192
+
2193
+ property :adjust_by_matching_info_types, as: 'adjustByMatchingInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByMatchingInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustByMatchingInfoTypes::Representation
2194
+
2195
+ property :likelihood_adjustment, as: 'likelihoodAdjustment', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LikelihoodAdjustment, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LikelihoodAdjustment::Representation
2196
+
2197
+ end
2198
+ end
2199
+
2119
2200
  class GooglePrivacyDlpV2AllInfoTypes
2120
2201
  # @private
2121
2202
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3410,6 +3491,12 @@ module Google
3410
3491
  end
3411
3492
  end
3412
3493
 
3494
+ class GooglePrivacyDlpV2Encloses
3495
+ # @private
3496
+ class Representation < Google::Apis::Core::JsonRepresentation
3497
+ end
3498
+ end
3499
+
3413
3500
  class GooglePrivacyDlpV2EntityId
3414
3501
  # @private
3415
3502
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3438,6 +3525,16 @@ module Google
3438
3525
  end
3439
3526
  end
3440
3527
 
3528
+ class GooglePrivacyDlpV2ExcludeByImageFindings
3529
+ # @private
3530
+ class Representation < Google::Apis::Core::JsonRepresentation
3531
+ property :image_containment_type, as: 'imageContainmentType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageContainmentType::Representation
3532
+
3533
+ collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
3534
+
3535
+ end
3536
+ end
3537
+
3441
3538
  class GooglePrivacyDlpV2ExcludeInfoTypes
3442
3539
  # @private
3443
3540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3453,6 +3550,8 @@ module Google
3453
3550
 
3454
3551
  property :exclude_by_hotword, as: 'excludeByHotword', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword::Representation
3455
3552
 
3553
+ property :exclude_by_image_findings, as: 'excludeByImageFindings', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByImageFindings, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByImageFindings::Representation
3554
+
3456
3555
  property :exclude_info_types, as: 'excludeInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes::Representation
3457
3556
 
3458
3557
  property :matching_type, as: 'matchingType'
@@ -3673,6 +3772,12 @@ module Google
3673
3772
  end
3674
3773
  end
3675
3774
 
3775
+ class GooglePrivacyDlpV2FullyInside
3776
+ # @private
3777
+ class Representation < Google::Apis::Core::JsonRepresentation
3778
+ end
3779
+ end
3780
+
3676
3781
  class GooglePrivacyDlpV2GlobalProcessing
3677
3782
  # @private
3678
3783
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3756,6 +3861,18 @@ module Google
3756
3861
  end
3757
3862
  end
3758
3863
 
3864
+ class GooglePrivacyDlpV2ImageContainmentType
3865
+ # @private
3866
+ class Representation < Google::Apis::Core::JsonRepresentation
3867
+ property :encloses, as: 'encloses', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Encloses, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Encloses::Representation
3868
+
3869
+ property :fully_inside, as: 'fullyInside', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FullyInside, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FullyInside::Representation
3870
+
3871
+ property :overlaps, as: 'overlaps', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Overlap, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Overlap::Representation
3872
+
3873
+ end
3874
+ end
3875
+
3759
3876
  class GooglePrivacyDlpV2ImageFallbackLocation
3760
3877
  # @private
3761
3878
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3989,6 +4106,8 @@ module Google
3989
4106
  class GooglePrivacyDlpV2InspectionRule
3990
4107
  # @private
3991
4108
  class Representation < Google::Apis::Core::JsonRepresentation
4109
+ property :adjustment_rule, as: 'adjustmentRule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustmentRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AdjustmentRule::Representation
4110
+
3992
4111
  property :exclusion_rule, as: 'exclusionRule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExclusionRule::Representation
3993
4112
 
3994
4113
  property :hotword_rule, as: 'hotwordRule', class: Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2HotwordRule::Representation
@@ -4474,6 +4593,12 @@ module Google
4474
4593
  end
4475
4594
  end
4476
4595
 
4596
+ class GooglePrivacyDlpV2Overlap
4597
+ # @private
4598
+ class Representation < Google::Apis::Core::JsonRepresentation
4599
+ end
4600
+ end
4601
+
4477
4602
  class GooglePrivacyDlpV2PartitionId
4478
4603
  # @private
4479
4604
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.103.0
4
+ version: 0.104.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.103.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.104.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
62
62
  rdoc_options: []
63
63
  require_paths: