google-apis-dlp_v2 0.36.0 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2914b8e518591d43570e399d507a7c6e78a60537d8aa5981773382f38c62bbc8
4
- data.tar.gz: bf7d3fd064bac205ce49941ab5815e981ee5028e0cc9f1222caaf8a02482e473
3
+ metadata.gz: 287c037c2da59974e54f02f261fdf641ddd9e0ee0262b5e8228009a4053746d8
4
+ data.tar.gz: 3ea8c5a699c4604e15d01c0b5ff39054c89a851fb658b9aad58d116dfb666779
5
5
  SHA512:
6
- metadata.gz: a376ec209730c4ccba01799ff5ae9e5bf5fabe11e5f578f124f934a4bc50ee22bd6ba60589c3d1961f1b53ae86d7675c38a160bab495957a3bb1c9e3d118fa1b
7
- data.tar.gz: 54f8f4b3714c3cb184e5019d04c0d2922db10fc154b151330aa8332ed22269a176bb2a9e8f74a1b18dfa99808abd8546f97df1f66984011b4762bc906dcefc62
6
+ metadata.gz: f43a016f63e8856dbcb2a53fb774bc9fd2188b54ee278613ce1fe1f6daa0b2c4c321b5a1e45f3287aa44d8bba3ccb0484ab0b5d741743b4d4ea88a14a48c9247
7
+ data.tar.gz: 1d5d78f7d64bde80adef69062d2fc92cf683572403952b1a3b7305fc8c4d7fd34324c383610c9a2c7c3fb5af463b399543d0aaee1e93d5a20127a180407896ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.38.0 (2022-11-11)
4
+
5
+ * Regenerated from discovery document revision 20221106
6
+
7
+ ### v0.37.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221029
10
+
3
11
  ### v0.36.0 (2022-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20221017
@@ -2075,7 +2075,8 @@ module Google
2075
2075
  # @return [String]
2076
2076
  attr_accessor :inspect_template_name
2077
2077
 
2078
- # The item to de-identify. Will be treated as text.
2078
+ # The item to de-identify. Will be treated as text. This value must be of type
2079
+ # Table if your deidentify_config is a RecordTransformations object.
2079
2080
  # Corresponds to the JSON property `item`
2080
2081
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
2081
2082
  attr_accessor :item
@@ -2534,6 +2535,33 @@ module Google
2534
2535
  end
2535
2536
  end
2536
2537
 
2538
+ # The rule to exclude findings based on a hotword. For record inspection of
2539
+ # tables, column names are considered hotwords. An example of this is to exclude
2540
+ # a finding if a BigQuery column matches a specific pattern.
2541
+ class GooglePrivacyDlpV2ExcludeByHotword
2542
+ include Google::Apis::Core::Hashable
2543
+
2544
+ # Message defining a custom regular expression.
2545
+ # Corresponds to the JSON property `hotwordRegex`
2546
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
2547
+ attr_accessor :hotword_regex
2548
+
2549
+ # Message for specifying a window around a finding to apply a detection rule.
2550
+ # Corresponds to the JSON property `proximity`
2551
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity]
2552
+ attr_accessor :proximity
2553
+
2554
+ def initialize(**args)
2555
+ update!(**args)
2556
+ end
2557
+
2558
+ # Update properties of this object
2559
+ def update!(**args)
2560
+ @hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex)
2561
+ @proximity = args[:proximity] if args.key?(:proximity)
2562
+ end
2563
+ end
2564
+
2537
2565
  # List of excluded infoTypes.
2538
2566
  class GooglePrivacyDlpV2ExcludeInfoTypes
2539
2567
  include Google::Apis::Core::Hashable
@@ -2586,6 +2614,13 @@ module Google
2586
2614
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
2587
2615
  attr_accessor :dictionary
2588
2616
 
2617
+ # The rule to exclude findings based on a hotword. For record inspection of
2618
+ # tables, column names are considered hotwords. An example of this is to exclude
2619
+ # a finding if a BigQuery column matches a specific pattern.
2620
+ # Corresponds to the JSON property `excludeByHotword`
2621
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword]
2622
+ attr_accessor :exclude_by_hotword
2623
+
2589
2624
  # List of excluded infoTypes.
2590
2625
  # Corresponds to the JSON property `excludeInfoTypes`
2591
2626
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
@@ -2608,6 +2643,7 @@ module Google
2608
2643
  # Update properties of this object
2609
2644
  def update!(**args)
2610
2645
  @dictionary = args[:dictionary] if args.key?(:dictionary)
2646
+ @exclude_by_hotword = args[:exclude_by_hotword] if args.key?(:exclude_by_hotword)
2611
2647
  @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
2612
2648
  @matching_type = args[:matching_type] if args.key?(:matching_type)
2613
2649
  @regex = args[:regex] if args.key?(:regex)
@@ -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.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221017"
25
+ REVISION = "20221106"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GooglePrivacyDlpV2ExcludeByHotword
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class GooglePrivacyDlpV2ExcludeInfoTypes
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -2078,6 +2084,16 @@ module Google
2078
2084
  end
2079
2085
  end
2080
2086
 
2087
+ class GooglePrivacyDlpV2ExcludeByHotword
2088
+ # @private
2089
+ class Representation < Google::Apis::Core::JsonRepresentation
2090
+ property :hotword_regex, as: 'hotwordRegex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
2091
+
2092
+ property :proximity, as: 'proximity', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity::Representation
2093
+
2094
+ end
2095
+ end
2096
+
2081
2097
  class GooglePrivacyDlpV2ExcludeInfoTypes
2082
2098
  # @private
2083
2099
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2091,6 +2107,8 @@ module Google
2091
2107
  class Representation < Google::Apis::Core::JsonRepresentation
2092
2108
  property :dictionary, as: 'dictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary::Representation
2093
2109
 
2110
+ property :exclude_by_hotword, as: 'excludeByHotword', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword::Representation
2111
+
2094
2112
  property :exclude_info_types, as: 'excludeInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes::Representation
2095
2113
 
2096
2114
  property :matching_type, as: 'matchingType'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []