google-apis-dlp_v2 0.105.0 → 0.106.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 +65 -2
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +31 -0
- 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: 9a5789736fa348cfc335f925f557c43c755d1ba85f8ada5d1144837bdef8be51
|
|
4
|
+
data.tar.gz: ecf4148062bd604fb2d97011ba430a8191011583a00f5f81fba977cbd45697c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40db93ed408923467cd58576e30808ab6bd16d8fe2c10e72207100d1beb0e3c69d5e8c6bff132238fc2983478cca2c9e7ad06e9977bf1d11cae718889b557473
|
|
7
|
+
data.tar.gz: 4d63200f038637156bedd5ff77a793bebc5388504139512c514ba5395101f541f95f8d20e8a01dd057718eb110e94fd0ce516a76a5dba74c2c45dfb458fcaa79
|
data/CHANGELOG.md
CHANGED
|
@@ -217,7 +217,7 @@ module Google
|
|
|
217
217
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
|
218
218
|
attr_accessor :info_types
|
|
219
219
|
|
|
220
|
-
# How the adjustment rule is applied. Only MATCHING_TYPE_PARTIAL_MATCH is
|
|
220
|
+
# How the adjustment rule is applied. Only `MATCHING_TYPE_PARTIAL_MATCH` is
|
|
221
221
|
# supported: - Partial match: adjusts the findings of infoTypes specified in the
|
|
222
222
|
# inspection rule when they have a nonempty intersection with a finding of an
|
|
223
223
|
# infoType specified in this adjustment rule.
|
|
@@ -2498,6 +2498,12 @@ module Google
|
|
|
2498
2498
|
# @return [String]
|
|
2499
2499
|
attr_accessor :likelihood
|
|
2500
2500
|
|
|
2501
|
+
# Configuration for a custom infoType that detects given expression of key-value
|
|
2502
|
+
# pair in the metadata.
|
|
2503
|
+
# Corresponds to the JSON property `metadataKeyValueExpression`
|
|
2504
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MetadataKeyValueExpression]
|
|
2505
|
+
attr_accessor :metadata_key_value_expression
|
|
2506
|
+
|
|
2501
2507
|
# Message defining a custom regular expression.
|
|
2502
2508
|
# Corresponds to the JSON property `regex`
|
|
2503
2509
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
|
|
@@ -2537,6 +2543,7 @@ module Google
|
|
|
2537
2543
|
@exclusion_type = args[:exclusion_type] if args.key?(:exclusion_type)
|
|
2538
2544
|
@info_type = args[:info_type] if args.key?(:info_type)
|
|
2539
2545
|
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
|
2546
|
+
@metadata_key_value_expression = args[:metadata_key_value_expression] if args.key?(:metadata_key_value_expression)
|
|
2540
2547
|
@regex = args[:regex] if args.key?(:regex)
|
|
2541
2548
|
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
|
2542
2549
|
@stored_type = args[:stored_type] if args.key?(:stored_type)
|
|
@@ -6539,7 +6546,8 @@ module Google
|
|
|
6539
6546
|
|
|
6540
6547
|
# Set of rules to apply to the findings for this InspectConfig. Exclusion rules,
|
|
6541
6548
|
# contained in the set are executed in the end, other rules are executed in the
|
|
6542
|
-
# order they are specified for each info type.
|
|
6549
|
+
# order they are specified for each info type. Not supported for the `
|
|
6550
|
+
# metadata_key_value_expression` CustomInfoType.
|
|
6543
6551
|
# Corresponds to the JSON property `ruleSet`
|
|
6544
6552
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectionRuleSet>]
|
|
6545
6553
|
attr_accessor :rule_set
|
|
@@ -7228,6 +7236,29 @@ module Google
|
|
|
7228
7236
|
end
|
|
7229
7237
|
end
|
|
7230
7238
|
|
|
7239
|
+
# The metadata key that contains a finding.
|
|
7240
|
+
class GooglePrivacyDlpV2KeyValueMetadataLabel
|
|
7241
|
+
include Google::Apis::Core::Hashable
|
|
7242
|
+
|
|
7243
|
+
# The metadata key. The format depends on the source of the metadata. Examples: -
|
|
7244
|
+
# Microsoft Purview Information Protection keys look like 'MSIP_Label_122709e3-
|
|
7245
|
+
# 8f6b-4860-985f-7f722a94f61e_Enabled', 'MSIP_Label_122709e3-8f6b-4860-985f-
|
|
7246
|
+
# 7f722a94f61e_Method', 'MSIP_Label_122709e3-8f6b-4860-985f-7f722a94f61e_Name'. -
|
|
7247
|
+
# General metadata keys look like 'Author', 'Title', 'Description'.
|
|
7248
|
+
# Corresponds to the JSON property `key`
|
|
7249
|
+
# @return [String]
|
|
7250
|
+
attr_accessor :key
|
|
7251
|
+
|
|
7252
|
+
def initialize(**args)
|
|
7253
|
+
update!(**args)
|
|
7254
|
+
end
|
|
7255
|
+
|
|
7256
|
+
# Update properties of this object
|
|
7257
|
+
def update!(**args)
|
|
7258
|
+
@key = args[:key] if args.key?(:key)
|
|
7259
|
+
end
|
|
7260
|
+
end
|
|
7261
|
+
|
|
7231
7262
|
# A representation of a Datastore kind.
|
|
7232
7263
|
class GooglePrivacyDlpV2KindExpression
|
|
7233
7264
|
include Google::Apis::Core::Hashable
|
|
@@ -7890,10 +7921,41 @@ module Google
|
|
|
7890
7921
|
end
|
|
7891
7922
|
end
|
|
7892
7923
|
|
|
7924
|
+
# Configuration for a custom infoType that detects given expression of key-value
|
|
7925
|
+
# pair in the metadata.
|
|
7926
|
+
class GooglePrivacyDlpV2MetadataKeyValueExpression
|
|
7927
|
+
include Google::Apis::Core::Hashable
|
|
7928
|
+
|
|
7929
|
+
# The regular expression for the key. Key should be non-empty.
|
|
7930
|
+
# Corresponds to the JSON property `keyRegex`
|
|
7931
|
+
# @return [String]
|
|
7932
|
+
attr_accessor :key_regex
|
|
7933
|
+
|
|
7934
|
+
# The regular expression for the value. Value should be non-empty.
|
|
7935
|
+
# Corresponds to the JSON property `valueRegex`
|
|
7936
|
+
# @return [String]
|
|
7937
|
+
attr_accessor :value_regex
|
|
7938
|
+
|
|
7939
|
+
def initialize(**args)
|
|
7940
|
+
update!(**args)
|
|
7941
|
+
end
|
|
7942
|
+
|
|
7943
|
+
# Update properties of this object
|
|
7944
|
+
def update!(**args)
|
|
7945
|
+
@key_regex = args[:key_regex] if args.key?(:key_regex)
|
|
7946
|
+
@value_regex = args[:value_regex] if args.key?(:value_regex)
|
|
7947
|
+
end
|
|
7948
|
+
end
|
|
7949
|
+
|
|
7893
7950
|
# Metadata Location
|
|
7894
7951
|
class GooglePrivacyDlpV2MetadataLocation
|
|
7895
7952
|
include Google::Apis::Core::Hashable
|
|
7896
7953
|
|
|
7954
|
+
# The metadata key that contains a finding.
|
|
7955
|
+
# Corresponds to the JSON property `keyValueMetadataLabel`
|
|
7956
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataLabel]
|
|
7957
|
+
attr_accessor :key_value_metadata_label
|
|
7958
|
+
|
|
7897
7959
|
# Storage metadata label to indicate which metadata entry contains findings.
|
|
7898
7960
|
# Corresponds to the JSON property `storageLabel`
|
|
7899
7961
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StorageMetadataLabel]
|
|
@@ -7910,6 +7972,7 @@ module Google
|
|
|
7910
7972
|
|
|
7911
7973
|
# Update properties of this object
|
|
7912
7974
|
def update!(**args)
|
|
7975
|
+
@key_value_metadata_label = args[:key_value_metadata_label] if args.key?(:key_value_metadata_label)
|
|
7913
7976
|
@storage_label = args[:storage_label] if args.key?(:storage_label)
|
|
7914
7977
|
@type = args[:type] if args.key?(:type)
|
|
7915
7978
|
end
|
|
@@ -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.106.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 = "
|
|
25
|
+
REVISION = "20260228"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1204,6 +1204,12 @@ module Google
|
|
|
1204
1204
|
include Google::Apis::Core::JsonObjectSupport
|
|
1205
1205
|
end
|
|
1206
1206
|
|
|
1207
|
+
class GooglePrivacyDlpV2KeyValueMetadataLabel
|
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1209
|
+
|
|
1210
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1211
|
+
end
|
|
1212
|
+
|
|
1207
1213
|
class GooglePrivacyDlpV2KindExpression
|
|
1208
1214
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1209
1215
|
|
|
@@ -1354,6 +1360,12 @@ module Google
|
|
|
1354
1360
|
include Google::Apis::Core::JsonObjectSupport
|
|
1355
1361
|
end
|
|
1356
1362
|
|
|
1363
|
+
class GooglePrivacyDlpV2MetadataKeyValueExpression
|
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1365
|
+
|
|
1366
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1367
|
+
end
|
|
1368
|
+
|
|
1357
1369
|
class GooglePrivacyDlpV2MetadataLocation
|
|
1358
1370
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1359
1371
|
|
|
@@ -2831,6 +2843,8 @@ module Google
|
|
|
2831
2843
|
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
|
2832
2844
|
|
|
2833
2845
|
property :likelihood, as: 'likelihood'
|
|
2846
|
+
property :metadata_key_value_expression, as: 'metadataKeyValueExpression', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MetadataKeyValueExpression, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MetadataKeyValueExpression::Representation
|
|
2847
|
+
|
|
2834
2848
|
property :regex, as: 'regex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
|
|
2835
2849
|
|
|
2836
2850
|
property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
|
|
@@ -4239,6 +4253,13 @@ module Google
|
|
|
4239
4253
|
end
|
|
4240
4254
|
end
|
|
4241
4255
|
|
|
4256
|
+
class GooglePrivacyDlpV2KeyValueMetadataLabel
|
|
4257
|
+
# @private
|
|
4258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4259
|
+
property :key, as: 'key'
|
|
4260
|
+
end
|
|
4261
|
+
end
|
|
4262
|
+
|
|
4242
4263
|
class GooglePrivacyDlpV2KindExpression
|
|
4243
4264
|
# @private
|
|
4244
4265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4464,9 +4485,19 @@ module Google
|
|
|
4464
4485
|
end
|
|
4465
4486
|
end
|
|
4466
4487
|
|
|
4488
|
+
class GooglePrivacyDlpV2MetadataKeyValueExpression
|
|
4489
|
+
# @private
|
|
4490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4491
|
+
property :key_regex, as: 'keyRegex'
|
|
4492
|
+
property :value_regex, as: 'valueRegex'
|
|
4493
|
+
end
|
|
4494
|
+
end
|
|
4495
|
+
|
|
4467
4496
|
class GooglePrivacyDlpV2MetadataLocation
|
|
4468
4497
|
# @private
|
|
4469
4498
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4499
|
+
property :key_value_metadata_label, as: 'keyValueMetadataLabel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataLabel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataLabel::Representation
|
|
4500
|
+
|
|
4470
4501
|
property :storage_label, as: 'storageLabel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StorageMetadataLabel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StorageMetadataLabel::Representation
|
|
4471
4502
|
|
|
4472
4503
|
property :type, as: 'type'
|
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.106.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.106.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:
|