google-apis-dlp_v2 0.115.0 → 0.116.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dlp_v2/classes.rb +28 -17
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +15 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9adc7092f1a78a6669c3d62927287380f15ac6fa1ddd3ad1754c23a13b643ab
|
|
4
|
+
data.tar.gz: e3f4553aa002222f1b67a3816f0a8753861ba4f4c971206870e0d759f48ff31d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5d3a3885a900103f4f96e07d9d16019b0f2cc355a7bcd6197bb69cb0352583a1df52a910a52765db58a204d3e4e602dc049f92f73a0f3ea434dcf3bdc0ee153
|
|
7
|
+
data.tar.gz: 1dcae791a4ddb6a546473e6904886c2871555101415b2ba032dac3c31bb9abd43966bfa7cb5b3d746f26341555d7dbd081b0e6e8ed781f33310d6d93a6504cfc
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -8566,6 +8565,25 @@ module Google
|
|
|
8566
8565
|
end
|
|
8567
8566
|
end
|
|
8568
8567
|
|
|
8568
|
+
# A part of a conversation message.
|
|
8569
|
+
class GooglePrivacyDlpV2MessagePart
|
|
8570
|
+
include Google::Apis::Core::Hashable
|
|
8571
|
+
|
|
8572
|
+
# String content for text-based messages.
|
|
8573
|
+
# Corresponds to the JSON property `text`
|
|
8574
|
+
# @return [String]
|
|
8575
|
+
attr_accessor :text
|
|
8576
|
+
|
|
8577
|
+
def initialize(**args)
|
|
8578
|
+
update!(**args)
|
|
8579
|
+
end
|
|
8580
|
+
|
|
8581
|
+
# Update properties of this object
|
|
8582
|
+
def update!(**args)
|
|
8583
|
+
@text = args[:text] if args.key?(:text)
|
|
8584
|
+
end
|
|
8585
|
+
end
|
|
8586
|
+
|
|
8569
8587
|
# Configuration for a custom infoType that detects key-value pairs in the
|
|
8570
8588
|
# metadata matching the specified regular expressions.
|
|
8571
8589
|
class GooglePrivacyDlpV2MetadataKeyValueExpression
|
|
@@ -9107,12 +9125,6 @@ module Google
|
|
|
9107
9125
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition>]
|
|
9108
9126
|
attr_accessor :conditions
|
|
9109
9127
|
|
|
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
9128
|
def initialize(**args)
|
|
9117
9129
|
update!(**args)
|
|
9118
9130
|
end
|
|
@@ -9121,7 +9133,6 @@ module Google
|
|
|
9121
9133
|
def update!(**args)
|
|
9122
9134
|
@action = args[:action] if args.key?(:action)
|
|
9123
9135
|
@conditions = args[:conditions] if args.key?(:conditions)
|
|
9124
|
-
@return_verdict = args[:return_verdict] if args.key?(:return_verdict)
|
|
9125
9136
|
end
|
|
9126
9137
|
end
|
|
9127
9138
|
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.116.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260829"
|
|
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
|
|
@@ -4867,6 +4873,13 @@ module Google
|
|
|
4867
4873
|
end
|
|
4868
4874
|
end
|
|
4869
4875
|
|
|
4876
|
+
class GooglePrivacyDlpV2MessagePart
|
|
4877
|
+
# @private
|
|
4878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4879
|
+
property :text, as: 'text'
|
|
4880
|
+
end
|
|
4881
|
+
end
|
|
4882
|
+
|
|
4870
4883
|
class GooglePrivacyDlpV2MetadataKeyValueExpression
|
|
4871
4884
|
# @private
|
|
4872
4885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -5051,7 +5064,6 @@ module Google
|
|
|
5051
5064
|
|
|
5052
5065
|
collection :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition::Representation
|
|
5053
5066
|
|
|
5054
|
-
property :return_verdict, as: 'returnVerdict'
|
|
5055
5067
|
end
|
|
5056
5068
|
end
|
|
5057
5069
|
|
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.
|
|
4
|
+
version: 0.116.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.116.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:
|