google-apis-dlp_v2 0.35.0 → 0.37.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: 54d6c8411f37e5c8f389c5dc73057be489b5e1d72815e24b830f98bc3dffe820
4
- data.tar.gz: 79e536e0c501895303a2ff111d2a224fdb406622af251bf632def3349ba43fd9
3
+ metadata.gz: 12991b0c0aff187b30a00872a9f791b4bc32288a0ec65e00ddd43d5fce791211
4
+ data.tar.gz: 4fc967945237d19bad65a9596144e05363bac23373fed7e5786ca17c59336440
5
5
  SHA512:
6
- metadata.gz: 671eba9e147891a2098c5e73bddd08c46e289304d13125eb5280cffb40f071ff16ad0b1689e6e124016eab226f810f42ba150b49e413f779a85036799d94e720
7
- data.tar.gz: 636a3d3d1f28d6372906bd14fdbf1bba1b3f2d058cd12381424becce9f4572dfd07c960e25034d135e609784693bc1bb1bdd58f591c41dc60f1b04d865443e85
6
+ metadata.gz: c0b9b6d28e0252a1ae6f200f689d32e54705484b2789b8af4f6f860ff1de6756c708787312a2ae4a61222ab40b202354e7bfde31be921f3ee83e4015e1e62ec3
7
+ data.tar.gz: 94e08af813f0b984c0a9f2fdc585aaec9946872ab0f47a7b86791565c195afbc1545408b1d6721dcf42c232bfff331e861eeac762d357b8a7c5ebd83e42b54c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.37.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221029
6
+
7
+ ### v0.36.0 (2022-10-20)
8
+
9
+ * Regenerated from discovery document revision 20221017
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.35.0 (2022-10-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20221001
@@ -1060,7 +1060,7 @@ module Google
1060
1060
  end
1061
1061
  end
1062
1062
 
1063
- # Container structure for the content to inspect.
1063
+ #
1064
1064
  class GooglePrivacyDlpV2ContentItem
1065
1065
  include Google::Apis::Core::Hashable
1066
1066
 
@@ -2075,7 +2075,7 @@ module Google
2075
2075
  # @return [String]
2076
2076
  attr_accessor :inspect_template_name
2077
2077
 
2078
- # Container structure for the content to inspect.
2078
+ # The item to de-identify. Will be treated as text.
2079
2079
  # Corresponds to the JSON property `item`
2080
2080
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
2081
2081
  attr_accessor :item
@@ -2104,7 +2104,7 @@ module Google
2104
2104
  class GooglePrivacyDlpV2DeidentifyContentResponse
2105
2105
  include Google::Apis::Core::Hashable
2106
2106
 
2107
- # Container structure for the content to inspect.
2107
+ # The de-identified item.
2108
2108
  # Corresponds to the JSON property `item`
2109
2109
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
2110
2110
  attr_accessor :item
@@ -2534,6 +2534,33 @@ module Google
2534
2534
  end
2535
2535
  end
2536
2536
 
2537
+ # The rule to exclude findings based on a hotword. For record inspection of
2538
+ # tables, column names are considered hotwords. An example of this is to exclude
2539
+ # a finding if a BigQuery column matches a specific pattern.
2540
+ class GooglePrivacyDlpV2ExcludeByHotword
2541
+ include Google::Apis::Core::Hashable
2542
+
2543
+ # Message defining a custom regular expression.
2544
+ # Corresponds to the JSON property `hotwordRegex`
2545
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Regex]
2546
+ attr_accessor :hotword_regex
2547
+
2548
+ # Message for specifying a window around a finding to apply a detection rule.
2549
+ # Corresponds to the JSON property `proximity`
2550
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity]
2551
+ attr_accessor :proximity
2552
+
2553
+ def initialize(**args)
2554
+ update!(**args)
2555
+ end
2556
+
2557
+ # Update properties of this object
2558
+ def update!(**args)
2559
+ @hotword_regex = args[:hotword_regex] if args.key?(:hotword_regex)
2560
+ @proximity = args[:proximity] if args.key?(:proximity)
2561
+ end
2562
+ end
2563
+
2537
2564
  # List of excluded infoTypes.
2538
2565
  class GooglePrivacyDlpV2ExcludeInfoTypes
2539
2566
  include Google::Apis::Core::Hashable
@@ -2586,6 +2613,13 @@ module Google
2586
2613
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
2587
2614
  attr_accessor :dictionary
2588
2615
 
2616
+ # The rule to exclude findings based on a hotword. For record inspection of
2617
+ # tables, column names are considered hotwords. An example of this is to exclude
2618
+ # a finding if a BigQuery column matches a specific pattern.
2619
+ # Corresponds to the JSON property `excludeByHotword`
2620
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeByHotword]
2621
+ attr_accessor :exclude_by_hotword
2622
+
2589
2623
  # List of excluded infoTypes.
2590
2624
  # Corresponds to the JSON property `excludeInfoTypes`
2591
2625
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
@@ -2608,6 +2642,7 @@ module Google
2608
2642
  # Update properties of this object
2609
2643
  def update!(**args)
2610
2644
  @dictionary = args[:dictionary] if args.key?(:dictionary)
2645
+ @exclude_by_hotword = args[:exclude_by_hotword] if args.key?(:exclude_by_hotword)
2611
2646
  @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
2612
2647
  @matching_type = args[:matching_type] if args.key?(:matching_type)
2613
2648
  @regex = args[:regex] if args.key?(:regex)
@@ -3019,7 +3054,7 @@ module Google
3019
3054
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails]
3020
3055
  attr_accessor :finding_details
3021
3056
 
3022
- # Container structure for the content to inspect.
3057
+ # The item to inspect.
3023
3058
  # Corresponds to the JSON property `item`
3024
3059
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
3025
3060
  attr_accessor :item
@@ -3342,7 +3377,7 @@ module Google
3342
3377
  # CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/
3343
3378
  # docs/infotypes-reference when specifying a built-in type. When sending Cloud
3344
3379
  # DLP results to Data Catalog, infoType names should conform to the pattern `[A-
3345
- # Za-z0-9$-_]`1,64``.
3380
+ # Za-z0-9$_-]`1,64``.
3346
3381
  # Corresponds to the JSON property `name`
3347
3382
  # @return [String]
3348
3383
  attr_accessor :name
@@ -3421,6 +3456,12 @@ module Google
3421
3456
  # @return [String]
3422
3457
  attr_accessor :name
3423
3458
 
3459
+ # Score is a summary of all elements in the data profile. A higher number means
3460
+ # more sensitive.
3461
+ # Corresponds to the JSON property `sensitivityScore`
3462
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
3463
+ attr_accessor :sensitivity_score
3464
+
3424
3465
  # Which parts of the API supports this InfoType.
3425
3466
  # Corresponds to the JSON property `supportedBy`
3426
3467
  # @return [Array<String>]
@@ -3441,6 +3482,7 @@ module Google
3441
3482
  @description = args[:description] if args.key?(:description)
3442
3483
  @display_name = args[:display_name] if args.key?(:display_name)
3443
3484
  @name = args[:name] if args.key?(:name)
3485
+ @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
3444
3486
  @supported_by = args[:supported_by] if args.key?(:supported_by)
3445
3487
  @versions = args[:versions] if args.key?(:versions)
3446
3488
  end
@@ -3671,7 +3713,7 @@ module Google
3671
3713
  # @return [String]
3672
3714
  attr_accessor :inspect_template_name
3673
3715
 
3674
- # Container structure for the content to inspect.
3716
+ # The item to inspect.
3675
3717
  # Corresponds to the JSON property `item`
3676
3718
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
3677
3719
  attr_accessor :item
@@ -5865,7 +5907,7 @@ module Google
5865
5907
  # @return [String]
5866
5908
  attr_accessor :inspect_template_name
5867
5909
 
5868
- # Container structure for the content to inspect.
5910
+ # The item to re-identify. Will be treated as text.
5869
5911
  # Corresponds to the JSON property `item`
5870
5912
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
5871
5913
  attr_accessor :item
@@ -5909,7 +5951,7 @@ module Google
5909
5951
  class GooglePrivacyDlpV2ReidentifyContentResponse
5910
5952
  include Google::Apis::Core::Hashable
5911
5953
 
5912
- # Container structure for the content to inspect.
5954
+ # The re-identified item.
5913
5955
  # Corresponds to the JSON property `item`
5914
5956
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
5915
5957
  attr_accessor :item
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221001"
25
+ REVISION = "20221029"
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'
@@ -2338,6 +2356,8 @@ module Google
2338
2356
  property :description, as: 'description'
2339
2357
  property :display_name, as: 'displayName'
2340
2358
  property :name, as: 'name'
2359
+ property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
2360
+
2341
2361
  collection :supported_by, as: 'supportedBy'
2342
2362
  collection :versions, as: 'versions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription::Representation
2343
2363
 
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.35.0
4
+ version: 0.37.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-17 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.37.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: []