google-apis-dlp_v2 0.115.0 → 0.117.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: a47f897456ec6eb9e2aa167510fbbb5ebd8af4785cb110f50e947871a3c4012f
4
- data.tar.gz: 1c365b1c67e4196079e7a01ce8b6cf7717302be7fc2192847b73a0c11ccaa44d
3
+ metadata.gz: d9f8283913b1af86578072f388fe94e56ef49cef0265ffca79603aabf36a2e92
4
+ data.tar.gz: 52f1322564a5a4e15cf0dba4f7ad7c7c98b63109e9171cf670d32197667bc33a
5
5
  SHA512:
6
- metadata.gz: 1959ce0b4586332ca531057928f23df8e598cf128115cc9cad17d92fddcb21ac4ab53f564b293b13864fc4e5de58c13cca87c2b14fb90616424a80c116103e75
7
- data.tar.gz: 7f251492fb6432dd2bb2fd2df659f92a348f478526dfa55feee7325fbd3281464b8945e8cd8381b0f19641e52ff1f465d6fc7492e7915edf71e9fcae83c76d56
6
+ metadata.gz: 0f865c7aa3fb9655360acafdd96792718ed828589635d9a1f3def8476c1cf80a6f8e81ebd0d7d4d666a56b7a41831a2c0eb33dceec21579f2f092aa6d6b46e6a
7
+ data.tar.gz: 8352841dcb39269bce0b11d52823829b6eebe913f7478311c1b026534eef6fcfbad9e4119300da557d6b6333b96bc2b0d8ba5fe83d371854c8342e24568da1f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.117.0 (2026-11-01)
4
+
5
+ * Regenerated from discovery document revision 20261028
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.116.0 (2026-09-06)
9
+
10
+ * Regenerated from discovery document revision 20260829
11
+
3
12
  ### v0.115.0 (2026-08-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20260825
@@ -2184,14 +2184,6 @@ module Google
2184
2184
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
2185
2185
  attr_accessor :inspect_config
2186
2186
 
2187
- # The inspectTemplate contains a configuration (set of types of sensitive data
2188
- # to be detected) to be used anywhere you otherwise would normally specify
2189
- # InspectConfig. See https://docs.cloud.google.com/sensitive-data-protection/
2190
- # docs/concepts-templates to learn more.
2191
- # Corresponds to the JSON property `inspectTemplate`
2192
- # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
2193
- attr_accessor :inspect_template
2194
-
2195
2187
  # Optional. Log the actions taken by the content policy to external systems.
2196
2188
  # Corresponds to the JSON property `loggingConfigs`
2197
2189
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig>]
@@ -2231,7 +2223,6 @@ module Google
2231
2223
  @failed_to_scan_supported_file_type = args[:failed_to_scan_supported_file_type] if args.key?(:failed_to_scan_supported_file_type)
2232
2224
  @input_too_large = args[:input_too_large] if args.key?(:input_too_large)
2233
2225
  @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
2234
- @inspect_template = args[:inspect_template] if args.key?(:inspect_template)
2235
2226
  @logging_configs = args[:logging_configs] if args.key?(:logging_configs)
2236
2227
  @name = args[:name] if args.key?(:name)
2237
2228
  @rules = args[:rules] if args.key?(:rules)
@@ -2291,11 +2282,18 @@ module Google
2291
2282
  class GooglePrivacyDlpV2ConversationMessage
2292
2283
  include Google::Apis::Core::Hashable
2293
2284
 
2294
- # The contents of this message.
2285
+ # Deprecated: Use `message_parts` instead. The contents of this message. Only
2286
+ # one of `content` and `message_parts` can be set.
2295
2287
  # Corresponds to the JSON property `content`
2296
2288
  # @return [String]
2297
2289
  attr_accessor :content
2298
2290
 
2291
+ # Optional. The parts of the message. Restricted to being at most a single text
2292
+ # item. Only one of `content` and `message_parts` can be set.
2293
+ # Corresponds to the JSON property `messageParts`
2294
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart>]
2295
+ attr_accessor :message_parts
2296
+
2299
2297
  # The type of message.
2300
2298
  # Corresponds to the JSON property `messageType`
2301
2299
  # @return [String]
@@ -2316,6 +2314,7 @@ module Google
2316
2314
  # Update properties of this object
2317
2315
  def update!(**args)
2318
2316
  @content = args[:content] if args.key?(:content)
2317
+ @message_parts = args[:message_parts] if args.key?(:message_parts)
2319
2318
  @message_type = args[:message_type] if args.key?(:message_type)
2320
2319
  @participant_id = args[:participant_id] if args.key?(:participant_id)
2321
2320
  end
@@ -6495,6 +6494,11 @@ module Google
6495
6494
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox>]
6496
6495
  attr_accessor :bounding_boxes
6497
6496
 
6497
+ # The 0-indexed page number or frame index for multi-page image formats.
6498
+ # Corresponds to the JSON property `pageNumber`
6499
+ # @return [Fixnum]
6500
+ attr_accessor :page_number
6501
+
6498
6502
  def initialize(**args)
6499
6503
  update!(**args)
6500
6504
  end
@@ -6502,6 +6506,7 @@ module Google
6502
6506
  # Update properties of this object
6503
6507
  def update!(**args)
6504
6508
  @bounding_boxes = args[:bounding_boxes] if args.key?(:bounding_boxes)
6509
+ @page_number = args[:page_number] if args.key?(:page_number)
6505
6510
  end
6506
6511
  end
6507
6512
 
@@ -8566,6 +8571,25 @@ module Google
8566
8571
  end
8567
8572
  end
8568
8573
 
8574
+ # A part of a conversation message.
8575
+ class GooglePrivacyDlpV2MessagePart
8576
+ include Google::Apis::Core::Hashable
8577
+
8578
+ # String content for text-based messages.
8579
+ # Corresponds to the JSON property `text`
8580
+ # @return [String]
8581
+ attr_accessor :text
8582
+
8583
+ def initialize(**args)
8584
+ update!(**args)
8585
+ end
8586
+
8587
+ # Update properties of this object
8588
+ def update!(**args)
8589
+ @text = args[:text] if args.key?(:text)
8590
+ end
8591
+ end
8592
+
8569
8593
  # Configuration for a custom infoType that detects key-value pairs in the
8570
8594
  # metadata matching the specified regular expressions.
8571
8595
  class GooglePrivacyDlpV2MetadataKeyValueExpression
@@ -9107,12 +9131,6 @@ module Google
9107
9131
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition>]
9108
9132
  attr_accessor :conditions
9109
9133
 
9110
- # If set, the verdict will be returned to the user. Deprecated: Use `action`
9111
- # instead.
9112
- # Corresponds to the JSON property `returnVerdict`
9113
- # @return [String]
9114
- attr_accessor :return_verdict
9115
-
9116
9134
  def initialize(**args)
9117
9135
  update!(**args)
9118
9136
  end
@@ -9121,7 +9139,6 @@ module Google
9121
9139
  def update!(**args)
9122
9140
  @action = args[:action] if args.key?(:action)
9123
9141
  @conditions = args[:conditions] if args.key?(:conditions)
9124
- @return_verdict = args[:return_verdict] if args.key?(:return_verdict)
9125
9142
  end
9126
9143
  end
9127
9144
 
@@ -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.115.0"
19
+ GEM_VERSION = "0.117.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260825"
25
+ REVISION = "20261028"
26
26
  end
27
27
  end
28
28
  end
@@ -1486,6 +1486,12 @@ module Google
1486
1486
  include Google::Apis::Core::JsonObjectSupport
1487
1487
  end
1488
1488
 
1489
+ class GooglePrivacyDlpV2MessagePart
1490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1491
+
1492
+ include Google::Apis::Core::JsonObjectSupport
1493
+ end
1494
+
1489
1495
  class GooglePrivacyDlpV2MetadataKeyValueExpression
1490
1496
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1497
 
@@ -2940,8 +2946,6 @@ module Google
2940
2946
 
2941
2947
  property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
2942
2948
 
2943
- property :inspect_template, as: 'inspectTemplate', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
2944
-
2945
2949
  collection :logging_configs, as: 'loggingConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig::Representation
2946
2950
 
2947
2951
  property :name, as: 'name'
@@ -2974,6 +2978,8 @@ module Google
2974
2978
  # @private
2975
2979
  class Representation < Google::Apis::Core::JsonRepresentation
2976
2980
  property :content, as: 'content'
2981
+ collection :message_parts, as: 'messageParts', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart::Representation
2982
+
2977
2983
  property :message_type, as: 'messageType'
2978
2984
  property :participant_id, as: 'participantId'
2979
2985
  end
@@ -4214,6 +4220,7 @@ module Google
4214
4220
  class Representation < Google::Apis::Core::JsonRepresentation
4215
4221
  collection :bounding_boxes, as: 'boundingBoxes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox::Representation
4216
4222
 
4223
+ property :page_number, as: 'pageNumber'
4217
4224
  end
4218
4225
  end
4219
4226
 
@@ -4867,6 +4874,13 @@ module Google
4867
4874
  end
4868
4875
  end
4869
4876
 
4877
+ class GooglePrivacyDlpV2MessagePart
4878
+ # @private
4879
+ class Representation < Google::Apis::Core::JsonRepresentation
4880
+ property :text, as: 'text'
4881
+ end
4882
+ end
4883
+
4870
4884
  class GooglePrivacyDlpV2MetadataKeyValueExpression
4871
4885
  # @private
4872
4886
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5051,7 +5065,6 @@ module Google
5051
5065
 
5052
5066
  collection :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition::Representation
5053
5067
 
5054
- property :return_verdict, as: 'returnVerdict'
5055
5068
  end
5056
5069
  end
5057
5070
 
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.115.0
4
+ version: 0.117.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.115.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.117.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: