google-cloud-dlp-v2 1.6.0 → 1.7.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: d4e291a4f779f5fca3d5de5f46e58a80e2470fe4e9f2cdf883ae3f0c736180df
4
- data.tar.gz: 9830aa38f818257f9ee87f0de46f075456bddf3cbe739c4ade6a64efd0e59795
3
+ metadata.gz: 156f5c64115fac0a5436276d2bfca9ad3cfe7aa31359a7b35782aeeebe6b6359
4
+ data.tar.gz: 5549d08e880d5730235385210f69340581fcbd3dc3eea4a5a53843c8e1fe5b41
5
5
  SHA512:
6
- metadata.gz: ce82f99acceebf86841c2efb3bcb835a7d99f4cc8378a4f0bb65ecf98f4793b68745293d763a14aba05d8f2f6ca81a4d911c2f8ceec73900f4eb08bb79ed1281
7
- data.tar.gz: b0b018731a5194d0c9d6a0714d564f0610224bd721668213dc8cd6a27e01be0ac7c9eac5a0a2a92c134f8622a52e1983d9040c8705c0b54c0d73cf1d162f73ab
6
+ metadata.gz: 052602ba54bc335eed991f7c50b6d134b1d451eaeb561dd0e2f53219b9f50cfb74aef273f857eb4f79888181f973b1db72c5fdf482557aa1e520f4aecd61a6e2
7
+ data.tar.gz: e3d2f5518ec787576f3cad9920b99c08ad23e338569acdaa1edb017650bb82322d3d529c744e6fcabd63e3a66dc74ffa0d0d746a7a4e67442f11b4204b4f07f1
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -3311,9 +3311,13 @@ module Google
3311
3311
  # parent=projects/example-project/locations/europe-west3
3312
3312
  # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
3313
3313
  # An inspection job scans a storage repository for InfoTypes.
3314
+ #
3315
+ # Note: The following fields are mutually exclusive: `inspect_job`, `risk_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3314
3316
  # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
3315
3317
  # A risk analysis job calculates re-identification risk metrics for a
3316
3318
  # BigQuery table.
3319
+ #
3320
+ # Note: The following fields are mutually exclusive: `risk_job`, `inspect_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3317
3321
  # @param job_id [::String]
3318
3322
  # The job id can contain uppercase and lowercase letters,
3319
3323
  # numbers, and hyphens; that is, it must match the regular
@@ -6227,6 +6231,13 @@ module Google
6227
6231
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
6228
6232
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
6229
6233
  # * (`nil`) indicating no credentials
6234
+ #
6235
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
6236
+ # external source for authentication to Google Cloud, you must validate it before
6237
+ # providing it to a Google API client library. Providing an unvalidated credential
6238
+ # configuration to Google APIs can compromise the security of your systems and data.
6239
+ # For more information, refer to [Validate credential configurations from external
6240
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
6230
6241
  # @return [::Object]
6231
6242
  # @!attribute [rw] scope
6232
6243
  # The OAuth scopes
@@ -3123,9 +3123,13 @@ module Google
3123
3123
  # parent=projects/example-project/locations/europe-west3
3124
3124
  # @param inspect_job [::Google::Cloud::Dlp::V2::InspectJobConfig, ::Hash]
3125
3125
  # An inspection job scans a storage repository for InfoTypes.
3126
+ #
3127
+ # Note: The following fields are mutually exclusive: `inspect_job`, `risk_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3126
3128
  # @param risk_job [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig, ::Hash]
3127
3129
  # A risk analysis job calculates re-identification risk metrics for a
3128
3130
  # BigQuery table.
3131
+ #
3132
+ # Note: The following fields are mutually exclusive: `risk_job`, `inspect_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3129
3133
  # @param job_id [::String]
3130
3134
  # The job id can contain uppercase and lowercase letters,
3131
3135
  # numbers, and hyphens; that is, it must match the regular
@@ -5841,6 +5845,13 @@ module Google
5841
5845
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
5842
5846
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
5843
5847
  # * (`nil`) indicating no credentials
5848
+ #
5849
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
5850
+ # external source for authentication to Google Cloud, you must validate it before
5851
+ # providing it to a Google API client library. Providing an unvalidated credential
5852
+ # configuration to Google APIs can compromise the security of your systems and data.
5853
+ # For more information, refer to [Validate credential configurations from external
5854
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
5844
5855
  # @return [::Object]
5845
5856
  # @!attribute [rw] scope
5846
5857
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "1.6.0"
24
+ VERSION = "1.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -60,16 +60,24 @@ module Google
60
60
  # @!attribute [rw] dictionary
61
61
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
62
62
  # Dictionary which defines the rule.
63
+ #
64
+ # Note: The following fields are mutually exclusive: `dictionary`, `regex`, `exclude_info_types`, `exclude_by_hotword`. If a field in that set is populated, all other fields in the set will automatically be cleared.
63
65
  # @!attribute [rw] regex
64
66
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
65
67
  # Regular expression which defines the rule.
68
+ #
69
+ # Note: The following fields are mutually exclusive: `regex`, `dictionary`, `exclude_info_types`, `exclude_by_hotword`. If a field in that set is populated, all other fields in the set will automatically be cleared.
66
70
  # @!attribute [rw] exclude_info_types
67
71
  # @return [::Google::Cloud::Dlp::V2::ExcludeInfoTypes]
68
72
  # Set of infoTypes for which findings would affect this rule.
73
+ #
74
+ # Note: The following fields are mutually exclusive: `exclude_info_types`, `dictionary`, `regex`, `exclude_by_hotword`. If a field in that set is populated, all other fields in the set will automatically be cleared.
69
75
  # @!attribute [rw] exclude_by_hotword
70
76
  # @return [::Google::Cloud::Dlp::V2::ExcludeByHotword]
71
77
  # Drop if the hotword rule is contained in the proximate context. For
72
78
  # tabular data, the context includes the column name.
79
+ #
80
+ # Note: The following fields are mutually exclusive: `exclude_by_hotword`, `dictionary`, `regex`, `exclude_info_types`. If a field in that set is populated, all other fields in the set will automatically be cleared.
73
81
  # @!attribute [rw] matching_type
74
82
  # @return [::Google::Cloud::Dlp::V2::MatchingType]
75
83
  # How the rule is applied, see MatchingType documentation for details.
@@ -83,9 +91,13 @@ module Google
83
91
  # @!attribute [rw] hotword_rule
84
92
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::HotwordRule]
85
93
  # Hotword-based detection rule.
94
+ #
95
+ # Note: The following fields are mutually exclusive: `hotword_rule`, `exclusion_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
86
96
  # @!attribute [rw] exclusion_rule
87
97
  # @return [::Google::Cloud::Dlp::V2::ExclusionRule]
88
98
  # Exclusion rule.
99
+ #
100
+ # Note: The following fields are mutually exclusive: `exclusion_rule`, `hotword_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
89
101
  class InspectionRule
90
102
  include ::Google::Protobuf::MessageExts
91
103
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -328,14 +340,20 @@ module Google
328
340
  # @!attribute [rw] value
329
341
  # @return [::String]
330
342
  # String data to inspect or redact.
343
+ #
344
+ # Note: The following fields are mutually exclusive: `value`, `table`, `byte_item`. If a field in that set is populated, all other fields in the set will automatically be cleared.
331
345
  # @!attribute [rw] table
332
346
  # @return [::Google::Cloud::Dlp::V2::Table]
333
347
  # Structured content for inspection. See
334
348
  # https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table
335
349
  # to learn more.
350
+ #
351
+ # Note: The following fields are mutually exclusive: `table`, `value`, `byte_item`. If a field in that set is populated, all other fields in the set will automatically be cleared.
336
352
  # @!attribute [rw] byte_item
337
353
  # @return [::Google::Cloud::Dlp::V2::ByteContentItem]
338
354
  # Content data to inspect or redact. Replaces `type` and `data`.
355
+ #
356
+ # Note: The following fields are mutually exclusive: `byte_item`, `value`, `table`. If a field in that set is populated, all other fields in the set will automatically be cleared.
339
357
  class ContentItem
340
358
  include ::Google::Protobuf::MessageExts
341
359
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -499,15 +517,23 @@ module Google
499
517
  # @!attribute [rw] record_location
500
518
  # @return [::Google::Cloud::Dlp::V2::RecordLocation]
501
519
  # Location within a row or record of a database table.
520
+ #
521
+ # Note: The following fields are mutually exclusive: `record_location`, `image_location`, `document_location`, `metadata_location`. If a field in that set is populated, all other fields in the set will automatically be cleared.
502
522
  # @!attribute [rw] image_location
503
523
  # @return [::Google::Cloud::Dlp::V2::ImageLocation]
504
524
  # Location within an image's pixels.
525
+ #
526
+ # Note: The following fields are mutually exclusive: `image_location`, `record_location`, `document_location`, `metadata_location`. If a field in that set is populated, all other fields in the set will automatically be cleared.
505
527
  # @!attribute [rw] document_location
506
528
  # @return [::Google::Cloud::Dlp::V2::DocumentLocation]
507
529
  # Location data for document files.
530
+ #
531
+ # Note: The following fields are mutually exclusive: `document_location`, `record_location`, `image_location`, `metadata_location`. If a field in that set is populated, all other fields in the set will automatically be cleared.
508
532
  # @!attribute [rw] metadata_location
509
533
  # @return [::Google::Cloud::Dlp::V2::MetadataLocation]
510
534
  # Location within the metadata for inspected content.
535
+ #
536
+ # Note: The following fields are mutually exclusive: `metadata_location`, `record_location`, `image_location`, `document_location`. If a field in that set is populated, all other fields in the set will automatically be cleared.
511
537
  # @!attribute [rw] container_timestamp
512
538
  # @return [::Google::Protobuf::Timestamp]
513
539
  # Finding container modification timestamp, if applicable. For Cloud Storage,
@@ -717,10 +743,14 @@ module Google
717
743
  # specified, and redact_all_text is false, the DLP API will redact all
718
744
  # text that it matches against all info_types that are found, but not
719
745
  # specified in another ImageRedactionConfig.
746
+ #
747
+ # Note: The following fields are mutually exclusive: `info_type`, `redact_all_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
720
748
  # @!attribute [rw] redact_all_text
721
749
  # @return [::Boolean]
722
750
  # If true, all text found in the image, regardless whether it matches an
723
751
  # info_type, is redacted. Only one should be provided.
752
+ #
753
+ # Note: The following fields are mutually exclusive: `redact_all_text`, `info_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
724
754
  # @!attribute [rw] redaction_color
725
755
  # @return [::Google::Cloud::Dlp::V2::Color]
726
756
  # The color to use when redacting content from an image. If not specified,
@@ -1081,12 +1111,18 @@ module Google
1081
1111
  # @!attribute [rw] table_profile
1082
1112
  # @return [::Google::Cloud::Dlp::V2::TableDataProfile]
1083
1113
  # Table data profile column
1114
+ #
1115
+ # Note: The following fields are mutually exclusive: `table_profile`, `column_profile`, `file_store_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1084
1116
  # @!attribute [rw] column_profile
1085
1117
  # @return [::Google::Cloud::Dlp::V2::ColumnDataProfile]
1086
1118
  # Column data profile column
1119
+ #
1120
+ # Note: The following fields are mutually exclusive: `column_profile`, `table_profile`, `file_store_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1087
1121
  # @!attribute [rw] file_store_profile
1088
1122
  # @return [::Google::Cloud::Dlp::V2::FileStoreDataProfile]
1089
1123
  # File store data profile column.
1124
+ #
1125
+ # Note: The following fields are mutually exclusive: `file_store_profile`, `table_profile`, `column_profile`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1090
1126
  class DataProfileBigQueryRowSchema
1091
1127
  include ::Google::Protobuf::MessageExts
1092
1128
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1202,12 +1238,18 @@ module Google
1202
1238
  # @return [::Google::Cloud::Dlp::V2::InfoTypeCategory::LocationCategory]
1203
1239
  # The region or country that issued the ID or document represented by the
1204
1240
  # infoType.
1241
+ #
1242
+ # Note: The following fields are mutually exclusive: `location_category`, `industry_category`, `type_category`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1205
1243
  # @!attribute [rw] industry_category
1206
1244
  # @return [::Google::Cloud::Dlp::V2::InfoTypeCategory::IndustryCategory]
1207
1245
  # The group of relevant businesses where this infoType is commonly used
1246
+ #
1247
+ # Note: The following fields are mutually exclusive: `industry_category`, `location_category`, `type_category`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1208
1248
  # @!attribute [rw] type_category
1209
1249
  # @return [::Google::Cloud::Dlp::V2::InfoTypeCategory::TypeCategory]
1210
1250
  # The class of identifiers where this infoType belongs
1251
+ #
1252
+ # Note: The following fields are mutually exclusive: `type_category`, `location_category`, `industry_category`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1211
1253
  class InfoTypeCategory
1212
1254
  include ::Google::Protobuf::MessageExts
1213
1255
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1494,15 +1536,21 @@ module Google
1494
1536
  # currently support US ZIP codes, region codes, ages and genders.
1495
1537
  # To programmatically obtain the list of supported InfoTypes, use
1496
1538
  # ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
1539
+ #
1540
+ # Note: The following fields are mutually exclusive: `info_type`, `custom_tag`, `inferred`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1497
1541
  # @!attribute [rw] custom_tag
1498
1542
  # @return [::String]
1499
1543
  # A column can be tagged with a custom tag. In this case, the user must
1500
1544
  # indicate an auxiliary table that contains statistical information on
1501
1545
  # the possible values of this column (below).
1546
+ #
1547
+ # Note: The following fields are mutually exclusive: `custom_tag`, `info_type`, `inferred`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1502
1548
  # @!attribute [rw] inferred
1503
1549
  # @return [::Google::Protobuf::Empty]
1504
1550
  # If no semantic tag is indicated, we infer the statistical model from
1505
1551
  # the distribution of values in the input data
1552
+ #
1553
+ # Note: The following fields are mutually exclusive: `inferred`, `info_type`, `custom_tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1506
1554
  class QuasiId
1507
1555
  include ::Google::Protobuf::MessageExts
1508
1556
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1549,21 +1597,33 @@ module Google
1549
1597
  # @!attribute [rw] numerical_stats_config
1550
1598
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::NumericalStatsConfig]
1551
1599
  # Numerical stats
1600
+ #
1601
+ # Note: The following fields are mutually exclusive: `numerical_stats_config`, `categorical_stats_config`, `k_anonymity_config`, `l_diversity_config`, `k_map_estimation_config`, `delta_presence_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1552
1602
  # @!attribute [rw] categorical_stats_config
1553
1603
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::CategoricalStatsConfig]
1554
1604
  # Categorical stats
1605
+ #
1606
+ # Note: The following fields are mutually exclusive: `categorical_stats_config`, `numerical_stats_config`, `k_anonymity_config`, `l_diversity_config`, `k_map_estimation_config`, `delta_presence_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1555
1607
  # @!attribute [rw] k_anonymity_config
1556
1608
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::KAnonymityConfig]
1557
1609
  # K-anonymity
1610
+ #
1611
+ # Note: The following fields are mutually exclusive: `k_anonymity_config`, `numerical_stats_config`, `categorical_stats_config`, `l_diversity_config`, `k_map_estimation_config`, `delta_presence_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1558
1612
  # @!attribute [rw] l_diversity_config
1559
1613
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::LDiversityConfig]
1560
1614
  # l-diversity
1615
+ #
1616
+ # Note: The following fields are mutually exclusive: `l_diversity_config`, `numerical_stats_config`, `categorical_stats_config`, `k_anonymity_config`, `k_map_estimation_config`, `delta_presence_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1561
1617
  # @!attribute [rw] k_map_estimation_config
1562
1618
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::KMapEstimationConfig]
1563
1619
  # k-map
1620
+ #
1621
+ # Note: The following fields are mutually exclusive: `k_map_estimation_config`, `numerical_stats_config`, `categorical_stats_config`, `k_anonymity_config`, `l_diversity_config`, `delta_presence_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1564
1622
  # @!attribute [rw] delta_presence_estimation_config
1565
1623
  # @return [::Google::Cloud::Dlp::V2::PrivacyMetric::DeltaPresenceEstimationConfig]
1566
1624
  # delta-presence
1625
+ #
1626
+ # Note: The following fields are mutually exclusive: `delta_presence_estimation_config`, `numerical_stats_config`, `categorical_stats_config`, `k_anonymity_config`, `l_diversity_config`, `k_map_estimation_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1567
1627
  class PrivacyMetric
1568
1628
  include ::Google::Protobuf::MessageExts
1569
1629
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1666,15 +1726,21 @@ module Google
1666
1726
  # currently support US ZIP codes, region codes, ages and genders.
1667
1727
  # To programmatically obtain the list of supported InfoTypes, use
1668
1728
  # ListInfoTypes with the supported_by=RISK_ANALYSIS filter.
1729
+ #
1730
+ # Note: The following fields are mutually exclusive: `info_type`, `custom_tag`, `inferred`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1669
1731
  # @!attribute [rw] custom_tag
1670
1732
  # @return [::String]
1671
1733
  # A column can be tagged with a custom tag. In this case, the user must
1672
1734
  # indicate an auxiliary table that contains statistical information on
1673
1735
  # the possible values of this column (below).
1736
+ #
1737
+ # Note: The following fields are mutually exclusive: `custom_tag`, `info_type`, `inferred`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1674
1738
  # @!attribute [rw] inferred
1675
1739
  # @return [::Google::Protobuf::Empty]
1676
1740
  # If no semantic tag is indicated, we infer the statistical model from
1677
1741
  # the distribution of values in the input data
1742
+ #
1743
+ # Note: The following fields are mutually exclusive: `inferred`, `info_type`, `custom_tag`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1678
1744
  class TaggedField
1679
1745
  include ::Google::Protobuf::MessageExts
1680
1746
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1750,21 +1816,33 @@ module Google
1750
1816
  # @!attribute [rw] numerical_stats_result
1751
1817
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult]
1752
1818
  # Numerical stats result
1819
+ #
1820
+ # Note: The following fields are mutually exclusive: `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1753
1821
  # @!attribute [rw] categorical_stats_result
1754
1822
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult]
1755
1823
  # Categorical stats result
1824
+ #
1825
+ # Note: The following fields are mutually exclusive: `categorical_stats_result`, `numerical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1756
1826
  # @!attribute [rw] k_anonymity_result
1757
1827
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult]
1758
1828
  # K-anonymity result
1829
+ #
1830
+ # Note: The following fields are mutually exclusive: `k_anonymity_result`, `numerical_stats_result`, `categorical_stats_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1759
1831
  # @!attribute [rw] l_diversity_result
1760
1832
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult]
1761
1833
  # L-divesity result
1834
+ #
1835
+ # Note: The following fields are mutually exclusive: `l_diversity_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1762
1836
  # @!attribute [rw] k_map_estimation_result
1763
1837
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult]
1764
1838
  # K-map result
1839
+ #
1840
+ # Note: The following fields are mutually exclusive: `k_map_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1765
1841
  # @!attribute [rw] delta_presence_estimation_result
1766
1842
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult]
1767
1843
  # Delta-presence result
1844
+ #
1845
+ # Note: The following fields are mutually exclusive: `delta_presence_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1768
1846
  # @!attribute [rw] requested_options
1769
1847
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions]
1770
1848
  # The configuration used for this job.
@@ -2072,27 +2150,43 @@ module Google
2072
2150
  # @!attribute [rw] integer_value
2073
2151
  # @return [::Integer]
2074
2152
  # integer
2153
+ #
2154
+ # Note: The following fields are mutually exclusive: `integer_value`, `float_value`, `string_value`, `boolean_value`, `timestamp_value`, `time_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2075
2155
  # @!attribute [rw] float_value
2076
2156
  # @return [::Float]
2077
2157
  # float
2158
+ #
2159
+ # Note: The following fields are mutually exclusive: `float_value`, `integer_value`, `string_value`, `boolean_value`, `timestamp_value`, `time_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2078
2160
  # @!attribute [rw] string_value
2079
2161
  # @return [::String]
2080
2162
  # string
2163
+ #
2164
+ # Note: The following fields are mutually exclusive: `string_value`, `integer_value`, `float_value`, `boolean_value`, `timestamp_value`, `time_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2081
2165
  # @!attribute [rw] boolean_value
2082
2166
  # @return [::Boolean]
2083
2167
  # boolean
2168
+ #
2169
+ # Note: The following fields are mutually exclusive: `boolean_value`, `integer_value`, `float_value`, `string_value`, `timestamp_value`, `time_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2084
2170
  # @!attribute [rw] timestamp_value
2085
2171
  # @return [::Google::Protobuf::Timestamp]
2086
2172
  # timestamp
2173
+ #
2174
+ # Note: The following fields are mutually exclusive: `timestamp_value`, `integer_value`, `float_value`, `string_value`, `boolean_value`, `time_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2087
2175
  # @!attribute [rw] time_value
2088
2176
  # @return [::Google::Type::TimeOfDay]
2089
2177
  # time of day
2178
+ #
2179
+ # Note: The following fields are mutually exclusive: `time_value`, `integer_value`, `float_value`, `string_value`, `boolean_value`, `timestamp_value`, `date_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2090
2180
  # @!attribute [rw] date_value
2091
2181
  # @return [::Google::Type::Date]
2092
2182
  # date
2183
+ #
2184
+ # Note: The following fields are mutually exclusive: `date_value`, `integer_value`, `float_value`, `string_value`, `boolean_value`, `timestamp_value`, `time_value`, `day_of_week_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2093
2185
  # @!attribute [rw] day_of_week_value
2094
2186
  # @return [::Google::Type::DayOfWeek]
2095
2187
  # day of week
2188
+ #
2189
+ # Note: The following fields are mutually exclusive: `day_of_week_value`, `integer_value`, `float_value`, `string_value`, `boolean_value`, `timestamp_value`, `time_value`, `date_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2096
2190
  class Value
2097
2191
  include ::Google::Protobuf::MessageExts
2098
2192
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2142,14 +2236,20 @@ module Google
2142
2236
  # @return [::Google::Cloud::Dlp::V2::InfoTypeTransformations]
2143
2237
  # Treat the dataset as free-form text and apply the same free text
2144
2238
  # transformation everywhere.
2239
+ #
2240
+ # Note: The following fields are mutually exclusive: `info_type_transformations`, `record_transformations`, `image_transformations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2145
2241
  # @!attribute [rw] record_transformations
2146
2242
  # @return [::Google::Cloud::Dlp::V2::RecordTransformations]
2147
2243
  # Treat the dataset as structured. Transformations can be applied to
2148
2244
  # specific locations within structured datasets, such as transforming
2149
2245
  # a column within a table.
2246
+ #
2247
+ # Note: The following fields are mutually exclusive: `record_transformations`, `info_type_transformations`, `image_transformations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2150
2248
  # @!attribute [rw] image_transformations
2151
2249
  # @return [::Google::Cloud::Dlp::V2::ImageTransformations]
2152
2250
  # Treat the dataset as an image and redact.
2251
+ #
2252
+ # Note: The following fields are mutually exclusive: `image_transformations`, `info_type_transformations`, `record_transformations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2153
2253
  # @!attribute [rw] transformation_error_handling
2154
2254
  # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling]
2155
2255
  # Mode for handling transformation errors. If left unspecified, the default
@@ -2171,15 +2271,21 @@ module Google
2171
2271
  # @!attribute [rw] selected_info_types
2172
2272
  # @return [::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes]
2173
2273
  # Apply transformation to the selected info_types.
2274
+ #
2275
+ # Note: The following fields are mutually exclusive: `selected_info_types`, `all_info_types`, `all_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2174
2276
  # @!attribute [rw] all_info_types
2175
2277
  # @return [::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes]
2176
2278
  # Apply transformation to all findings not specified in other
2177
2279
  # ImageTransformation's selected_info_types. Only one instance is allowed
2178
2280
  # within the ImageTransformations message.
2281
+ #
2282
+ # Note: The following fields are mutually exclusive: `all_info_types`, `selected_info_types`, `all_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2179
2283
  # @!attribute [rw] all_text
2180
2284
  # @return [::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText]
2181
2285
  # Apply transformation to all text that doesn't match an infoType. Only
2182
2286
  # one instance is allowed within the ImageTransformations message.
2287
+ #
2288
+ # Note: The following fields are mutually exclusive: `all_text`, `selected_info_types`, `all_info_types`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2183
2289
  # @!attribute [rw] redaction_color
2184
2290
  # @return [::Google::Cloud::Dlp::V2::Color]
2185
2291
  # The color to use when redacting content from an image. If not
@@ -2223,9 +2329,13 @@ module Google
2223
2329
  # @!attribute [rw] throw_error
2224
2330
  # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling::ThrowError]
2225
2331
  # Throw an error
2332
+ #
2333
+ # Note: The following fields are mutually exclusive: `throw_error`, `leave_untransformed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2226
2334
  # @!attribute [rw] leave_untransformed
2227
2335
  # @return [::Google::Cloud::Dlp::V2::TransformationErrorHandling::LeaveUntransformed]
2228
2336
  # Ignore errors
2337
+ #
2338
+ # Note: The following fields are mutually exclusive: `leave_untransformed`, `throw_error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2229
2339
  class TransformationErrorHandling
2230
2340
  include ::Google::Protobuf::MessageExts
2231
2341
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2250,39 +2360,63 @@ module Google
2250
2360
  # @!attribute [rw] replace_config
2251
2361
  # @return [::Google::Cloud::Dlp::V2::ReplaceValueConfig]
2252
2362
  # Replace with a specified value.
2363
+ #
2364
+ # Note: The following fields are mutually exclusive: `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2253
2365
  # @!attribute [rw] redact_config
2254
2366
  # @return [::Google::Cloud::Dlp::V2::RedactConfig]
2255
2367
  # Redact
2368
+ #
2369
+ # Note: The following fields are mutually exclusive: `redact_config`, `replace_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2256
2370
  # @!attribute [rw] character_mask_config
2257
2371
  # @return [::Google::Cloud::Dlp::V2::CharacterMaskConfig]
2258
2372
  # Mask
2373
+ #
2374
+ # Note: The following fields are mutually exclusive: `character_mask_config`, `replace_config`, `redact_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2259
2375
  # @!attribute [rw] crypto_replace_ffx_fpe_config
2260
2376
  # @return [::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig]
2261
2377
  # Ffx-Fpe
2378
+ #
2379
+ # Note: The following fields are mutually exclusive: `crypto_replace_ffx_fpe_config`, `replace_config`, `redact_config`, `character_mask_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2262
2380
  # @!attribute [rw] fixed_size_bucketing_config
2263
2381
  # @return [::Google::Cloud::Dlp::V2::FixedSizeBucketingConfig]
2264
2382
  # Fixed size bucketing
2383
+ #
2384
+ # Note: The following fields are mutually exclusive: `fixed_size_bucketing_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2265
2385
  # @!attribute [rw] bucketing_config
2266
2386
  # @return [::Google::Cloud::Dlp::V2::BucketingConfig]
2267
2387
  # Bucketing
2388
+ #
2389
+ # Note: The following fields are mutually exclusive: `bucketing_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2268
2390
  # @!attribute [rw] replace_with_info_type_config
2269
2391
  # @return [::Google::Cloud::Dlp::V2::ReplaceWithInfoTypeConfig]
2270
2392
  # Replace with infotype
2393
+ #
2394
+ # Note: The following fields are mutually exclusive: `replace_with_info_type_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2271
2395
  # @!attribute [rw] time_part_config
2272
2396
  # @return [::Google::Cloud::Dlp::V2::TimePartConfig]
2273
2397
  # Time extraction
2398
+ #
2399
+ # Note: The following fields are mutually exclusive: `time_part_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2274
2400
  # @!attribute [rw] crypto_hash_config
2275
2401
  # @return [::Google::Cloud::Dlp::V2::CryptoHashConfig]
2276
2402
  # Crypto
2403
+ #
2404
+ # Note: The following fields are mutually exclusive: `crypto_hash_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2277
2405
  # @!attribute [rw] date_shift_config
2278
2406
  # @return [::Google::Cloud::Dlp::V2::DateShiftConfig]
2279
2407
  # Date Shift
2408
+ #
2409
+ # Note: The following fields are mutually exclusive: `date_shift_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2280
2410
  # @!attribute [rw] crypto_deterministic_config
2281
2411
  # @return [::Google::Cloud::Dlp::V2::CryptoDeterministicConfig]
2282
2412
  # Deterministic Crypto
2413
+ #
2414
+ # Note: The following fields are mutually exclusive: `crypto_deterministic_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2283
2415
  # @!attribute [rw] replace_dictionary_config
2284
2416
  # @return [::Google::Cloud::Dlp::V2::ReplaceDictionaryConfig]
2285
2417
  # Replace with a value randomly drawn (with replacement) from a dictionary.
2418
+ #
2419
+ # Note: The following fields are mutually exclusive: `replace_dictionary_config`, `replace_config`, `redact_config`, `character_mask_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2286
2420
  class PrimitiveTransformation
2287
2421
  include ::Google::Protobuf::MessageExts
2288
2422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2444,10 +2578,14 @@ module Google
2444
2578
  # @!attribute [rw] characters_to_skip
2445
2579
  # @return [::String]
2446
2580
  # Characters to not transform when masking.
2581
+ #
2582
+ # Note: The following fields are mutually exclusive: `characters_to_skip`, `common_characters_to_ignore`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2447
2583
  # @!attribute [rw] common_characters_to_ignore
2448
2584
  # @return [::Google::Cloud::Dlp::V2::CharsToIgnore::CommonCharsToIgnore]
2449
2585
  # Common characters to not transform when masking. Useful to avoid removing
2450
2586
  # punctuation.
2587
+ #
2588
+ # Note: The following fields are mutually exclusive: `common_characters_to_ignore`, `characters_to_skip`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2451
2589
  class CharsToIgnore
2452
2590
  include ::Google::Protobuf::MessageExts
2453
2591
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2640,6 +2778,8 @@ module Google
2640
2778
  # @!attribute [rw] common_alphabet
2641
2779
  # @return [::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig::FfxCommonNativeAlphabet]
2642
2780
  # Common alphabets.
2781
+ #
2782
+ # Note: The following fields are mutually exclusive: `common_alphabet`, `custom_alphabet`, `radix`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2643
2783
  # @!attribute [rw] custom_alphabet
2644
2784
  # @return [::String]
2645
2785
  # This is supported by mapping these to the alphanumeric characters
@@ -2651,9 +2791,13 @@ module Google
2651
2791
  # The order of characters does not matter.
2652
2792
  # The full list of allowed characters is:
2653
2793
  # ``0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/``
2794
+ #
2795
+ # Note: The following fields are mutually exclusive: `custom_alphabet`, `common_alphabet`, `radix`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2654
2796
  # @!attribute [rw] radix
2655
2797
  # @return [::Integer]
2656
2798
  # The native way to select the alphabet. Must be in the range [2, 95].
2799
+ #
2800
+ # Note: The following fields are mutually exclusive: `radix`, `common_alphabet`, `custom_alphabet`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2657
2801
  # @!attribute [rw] surrogate_info_type
2658
2802
  # @return [::Google::Cloud::Dlp::V2::InfoType]
2659
2803
  # The custom infoType to annotate the surrogate with.
@@ -2715,12 +2859,18 @@ module Google
2715
2859
  # @!attribute [rw] transient
2716
2860
  # @return [::Google::Cloud::Dlp::V2::TransientCryptoKey]
2717
2861
  # Transient crypto key
2862
+ #
2863
+ # Note: The following fields are mutually exclusive: `transient`, `unwrapped`, `kms_wrapped`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2718
2864
  # @!attribute [rw] unwrapped
2719
2865
  # @return [::Google::Cloud::Dlp::V2::UnwrappedCryptoKey]
2720
2866
  # Unwrapped crypto key
2867
+ #
2868
+ # Note: The following fields are mutually exclusive: `unwrapped`, `transient`, `kms_wrapped`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2721
2869
  # @!attribute [rw] kms_wrapped
2722
2870
  # @return [::Google::Cloud::Dlp::V2::KmsWrappedCryptoKey]
2723
2871
  # Key wrapped using Cloud KMS
2872
+ #
2873
+ # Note: The following fields are mutually exclusive: `kms_wrapped`, `transient`, `unwrapped`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2724
2874
  class CryptoKey
2725
2875
  include ::Google::Protobuf::MessageExts
2726
2876
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2852,10 +3002,14 @@ module Google
2852
3002
  # @!attribute [rw] primitive_transformation
2853
3003
  # @return [::Google::Cloud::Dlp::V2::PrimitiveTransformation]
2854
3004
  # Apply the transformation to the entire field.
3005
+ #
3006
+ # Note: The following fields are mutually exclusive: `primitive_transformation`, `info_type_transformations`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2855
3007
  # @!attribute [rw] info_type_transformations
2856
3008
  # @return [::Google::Cloud::Dlp::V2::InfoTypeTransformations]
2857
3009
  # Treat the contents of the field as free text, and selectively
2858
3010
  # transform content that matches an `InfoType`.
3011
+ #
3012
+ # Note: The following fields are mutually exclusive: `info_type_transformations`, `primitive_transformation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2859
3013
  class FieldTransformation
2860
3014
  include ::Google::Protobuf::MessageExts
2861
3015
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3107,9 +3261,13 @@ module Google
3107
3261
  # ID correlates to an entry in the findings output table, this table only
3108
3262
  # gets created when users specify to save findings (add the save findings
3109
3263
  # action to the request).
3264
+ #
3265
+ # Note: The following fields are mutually exclusive: `finding_id`, `record_transformation`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3110
3266
  # @!attribute [rw] record_transformation
3111
3267
  # @return [::Google::Cloud::Dlp::V2::RecordTransformation]
3112
3268
  # For record transformations, provide a field and container information.
3269
+ #
3270
+ # Note: The following fields are mutually exclusive: `record_transformation`, `finding_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3113
3271
  # @!attribute [rw] container_type
3114
3272
  # @return [::Google::Cloud::Dlp::V2::TransformationContainerType]
3115
3273
  # Information about the functionality of the container where this finding
@@ -3325,9 +3483,13 @@ module Google
3325
3483
  # @!attribute [rw] schedule
3326
3484
  # @return [::Google::Cloud::Dlp::V2::Schedule]
3327
3485
  # Create a job on a repeating basis based on the elapse of time.
3486
+ #
3487
+ # Note: The following fields are mutually exclusive: `schedule`, `manual`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3328
3488
  # @!attribute [rw] manual
3329
3489
  # @return [::Google::Cloud::Dlp::V2::Manual]
3330
3490
  # For use with hybrid jobs. Jobs must be manually created and finished.
3491
+ #
3492
+ # Note: The following fields are mutually exclusive: `manual`, `schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3331
3493
  class Trigger
3332
3494
  include ::Google::Protobuf::MessageExts
3333
3495
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3358,26 +3520,40 @@ module Google
3358
3520
  # @!attribute [rw] save_findings
3359
3521
  # @return [::Google::Cloud::Dlp::V2::Action::SaveFindings]
3360
3522
  # Save resulting findings in a provided location.
3523
+ #
3524
+ # Note: The following fields are mutually exclusive: `save_findings`, `pub_sub`, `publish_summary_to_cscc`, `publish_findings_to_cloud_data_catalog`, `deidentify`, `job_notification_emails`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3361
3525
  # @!attribute [rw] pub_sub
3362
3526
  # @return [::Google::Cloud::Dlp::V2::Action::PublishToPubSub]
3363
3527
  # Publish a notification to a Pub/Sub topic.
3528
+ #
3529
+ # Note: The following fields are mutually exclusive: `pub_sub`, `save_findings`, `publish_summary_to_cscc`, `publish_findings_to_cloud_data_catalog`, `deidentify`, `job_notification_emails`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3364
3530
  # @!attribute [rw] publish_summary_to_cscc
3365
3531
  # @return [::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc]
3366
3532
  # Publish summary to Cloud Security Command Center (Alpha).
3533
+ #
3534
+ # Note: The following fields are mutually exclusive: `publish_summary_to_cscc`, `save_findings`, `pub_sub`, `publish_findings_to_cloud_data_catalog`, `deidentify`, `job_notification_emails`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3367
3535
  # @!attribute [rw] publish_findings_to_cloud_data_catalog
3368
3536
  # @return [::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog]
3369
3537
  # Publish findings to Cloud Datahub.
3538
+ #
3539
+ # Note: The following fields are mutually exclusive: `publish_findings_to_cloud_data_catalog`, `save_findings`, `pub_sub`, `publish_summary_to_cscc`, `deidentify`, `job_notification_emails`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3370
3540
  # @!attribute [rw] deidentify
3371
3541
  # @return [::Google::Cloud::Dlp::V2::Action::Deidentify]
3372
3542
  # Create a de-identified copy of the input data.
3543
+ #
3544
+ # Note: The following fields are mutually exclusive: `deidentify`, `save_findings`, `pub_sub`, `publish_summary_to_cscc`, `publish_findings_to_cloud_data_catalog`, `job_notification_emails`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3373
3545
  # @!attribute [rw] job_notification_emails
3374
3546
  # @return [::Google::Cloud::Dlp::V2::Action::JobNotificationEmails]
3375
3547
  # Sends an email when the job completes. The email goes to IAM project
3376
3548
  # owners and technical [Essential
3377
3549
  # Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts).
3550
+ #
3551
+ # Note: The following fields are mutually exclusive: `job_notification_emails`, `save_findings`, `pub_sub`, `publish_summary_to_cscc`, `publish_findings_to_cloud_data_catalog`, `deidentify`, `publish_to_stackdriver`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3378
3552
  # @!attribute [rw] publish_to_stackdriver
3379
3553
  # @return [::Google::Cloud::Dlp::V2::Action::PublishToStackdriver]
3380
3554
  # Enable Stackdriver metric dlp.googleapis.com/finding_count.
3555
+ #
3556
+ # Note: The following fields are mutually exclusive: `publish_to_stackdriver`, `save_findings`, `pub_sub`, `publish_summary_to_cscc`, `publish_findings_to_cloud_data_catalog`, `deidentify`, `job_notification_emails`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3381
3557
  class Action
3382
3558
  include ::Google::Protobuf::MessageExts
3383
3559
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3908,10 +4084,14 @@ module Google
3908
4084
  # @!attribute [rw] inspect_job
3909
4085
  # @return [::Google::Cloud::Dlp::V2::InspectJobConfig]
3910
4086
  # An inspection job scans a storage repository for InfoTypes.
4087
+ #
4088
+ # Note: The following fields are mutually exclusive: `inspect_job`, `risk_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3911
4089
  # @!attribute [rw] risk_job
3912
4090
  # @return [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
3913
4091
  # A risk analysis job calculates re-identification risk metrics for a
3914
4092
  # BigQuery table.
4093
+ #
4094
+ # Note: The following fields are mutually exclusive: `risk_job`, `inspect_job`. If a field in that set is populated, all other fields in the set will automatically be cleared.
3915
4095
  # @!attribute [rw] job_id
3916
4096
  # @return [::String]
3917
4097
  # The job id can contain uppercase and lowercase letters,
@@ -4054,21 +4234,31 @@ module Google
4054
4234
  # @!attribute [rw] export_data
4055
4235
  # @return [::Google::Cloud::Dlp::V2::DataProfileAction::Export]
4056
4236
  # Export data profiles into a provided location.
4237
+ #
4238
+ # Note: The following fields are mutually exclusive: `export_data`, `pub_sub_notification`, `publish_to_chronicle`, `publish_to_scc`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4057
4239
  # @!attribute [rw] pub_sub_notification
4058
4240
  # @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification]
4059
4241
  # Publish a message into the Pub/Sub topic.
4242
+ #
4243
+ # Note: The following fields are mutually exclusive: `pub_sub_notification`, `export_data`, `publish_to_chronicle`, `publish_to_scc`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4060
4244
  # @!attribute [rw] publish_to_chronicle
4061
4245
  # @return [::Google::Cloud::Dlp::V2::DataProfileAction::PublishToChronicle]
4062
4246
  # Publishes generated data profiles to Google Security Operations.
4063
4247
  # For more information, see [Use Sensitive Data Protection data in
4064
4248
  # context-aware
4065
4249
  # analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
4250
+ #
4251
+ # Note: The following fields are mutually exclusive: `publish_to_chronicle`, `export_data`, `pub_sub_notification`, `publish_to_scc`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4066
4252
  # @!attribute [rw] publish_to_scc
4067
4253
  # @return [::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter]
4068
4254
  # Publishes findings to SCC for each data profile.
4255
+ #
4256
+ # Note: The following fields are mutually exclusive: `publish_to_scc`, `export_data`, `pub_sub_notification`, `publish_to_chronicle`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4069
4257
  # @!attribute [rw] tag_resources
4070
4258
  # @return [::Google::Cloud::Dlp::V2::DataProfileAction::TagResources]
4071
4259
  # Tags the profiled resources with the specified tag values.
4260
+ #
4261
+ # Note: The following fields are mutually exclusive: `tag_resources`, `export_data`, `pub_sub_notification`, `publish_to_chronicle`, `publish_to_scc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4072
4262
  class DataProfileAction
4073
4263
  include ::Google::Protobuf::MessageExts
4074
4264
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4315,9 +4505,13 @@ module Google
4315
4505
  # @!attribute [rw] organization_id
4316
4506
  # @return [::Integer]
4317
4507
  # The ID of an organization to scan.
4508
+ #
4509
+ # Note: The following fields are mutually exclusive: `organization_id`, `folder_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4318
4510
  # @!attribute [rw] folder_id
4319
4511
  # @return [::Integer]
4320
4512
  # The ID of the folder within an organization to scan.
4513
+ #
4514
+ # Note: The following fields are mutually exclusive: `folder_id`, `organization_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4321
4515
  class DataProfileLocation
4322
4516
  include ::Google::Protobuf::MessageExts
4323
4517
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4423,23 +4617,33 @@ module Google
4423
4617
  # @return [::Google::Cloud::Dlp::V2::BigQueryDiscoveryTarget]
4424
4618
  # BigQuery target for Discovery. The first target to match a table will be
4425
4619
  # the one applied.
4620
+ #
4621
+ # Note: The following fields are mutually exclusive: `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4426
4622
  # @!attribute [rw] cloud_sql_target
4427
4623
  # @return [::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget]
4428
4624
  # Cloud SQL target for Discovery. The first target to match a table will be
4429
4625
  # the one applied.
4626
+ #
4627
+ # Note: The following fields are mutually exclusive: `cloud_sql_target`, `big_query_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4430
4628
  # @!attribute [rw] secrets_target
4431
4629
  # @return [::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget]
4432
4630
  # Discovery target that looks for credentials and secrets stored in cloud
4433
4631
  # resource metadata and reports them as vulnerabilities to Security Command
4434
4632
  # Center. Only one target of this type is allowed.
4633
+ #
4634
+ # Note: The following fields are mutually exclusive: `secrets_target`, `big_query_target`, `cloud_sql_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4435
4635
  # @!attribute [rw] cloud_storage_target
4436
4636
  # @return [::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget]
4437
4637
  # Cloud Storage target for Discovery. The first target to match a table
4438
4638
  # will be the one applied.
4639
+ #
4640
+ # Note: The following fields are mutually exclusive: `cloud_storage_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4439
4641
  # @!attribute [rw] other_cloud_target
4440
4642
  # @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget]
4441
4643
  # Other clouds target for discovery. The first target to match a resource
4442
4644
  # will be the one applied.
4645
+ #
4646
+ # Note: The following fields are mutually exclusive: `other_cloud_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4443
4647
  class DiscoveryTarget
4444
4648
  include ::Google::Protobuf::MessageExts
4445
4649
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4459,9 +4663,13 @@ module Google
4459
4663
  # How often and when to update profiles. New tables that match both the
4460
4664
  # filter and conditions are scanned as quickly as possible depending on
4461
4665
  # system capacity.
4666
+ #
4667
+ # Note: The following fields are mutually exclusive: `cadence`, `disabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4462
4668
  # @!attribute [rw] disabled
4463
4669
  # @return [::Google::Cloud::Dlp::V2::Disabled]
4464
4670
  # Tables that match this filter will not have profiles created.
4671
+ #
4672
+ # Note: The following fields are mutually exclusive: `disabled`, `cadence`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4465
4673
  class BigQueryDiscoveryTarget
4466
4674
  include ::Google::Protobuf::MessageExts
4467
4675
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4476,17 +4684,23 @@ module Google
4476
4684
  # must be specified in only one filter per config.
4477
4685
  # If a table id or dataset is empty, Cloud DLP assumes all tables in that
4478
4686
  # collection must be profiled. Must specify a project ID.
4687
+ #
4688
+ # Note: The following fields are mutually exclusive: `tables`, `other_tables`, `table_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4479
4689
  # @!attribute [rw] other_tables
4480
4690
  # @return [::Google::Cloud::Dlp::V2::DiscoveryBigQueryFilter::AllOtherBigQueryTables]
4481
4691
  # Catch-all. This should always be the last filter in the list because
4482
4692
  # anything above it will apply first. Should only appear once in a
4483
4693
  # configuration. If none is specified, a default one will be added
4484
4694
  # automatically.
4695
+ #
4696
+ # Note: The following fields are mutually exclusive: `other_tables`, `tables`, `table_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4485
4697
  # @!attribute [rw] table_reference
4486
4698
  # @return [::Google::Cloud::Dlp::V2::TableReference]
4487
4699
  # The table to scan. Discovery configurations including this can only
4488
4700
  # include one DiscoveryTarget (the DiscoveryTarget with this
4489
4701
  # TableReference).
4702
+ #
4703
+ # Note: The following fields are mutually exclusive: `table_reference`, `tables`, `other_tables`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4490
4704
  class DiscoveryBigQueryFilter
4491
4705
  include ::Google::Protobuf::MessageExts
4492
4706
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4521,9 +4735,13 @@ module Google
4521
4735
  # @!attribute [rw] types
4522
4736
  # @return [::Google::Cloud::Dlp::V2::BigQueryTableTypes]
4523
4737
  # Restrict discovery to specific table types.
4738
+ #
4739
+ # Note: The following fields are mutually exclusive: `types`, `type_collection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4524
4740
  # @!attribute [rw] type_collection
4525
4741
  # @return [::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection]
4526
4742
  # Restrict discovery to categories of table types.
4743
+ #
4744
+ # Note: The following fields are mutually exclusive: `type_collection`, `types`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4527
4745
  # @!attribute [rw] or_conditions
4528
4746
  # @return [::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions]
4529
4747
  # At least one of the conditions must be true for a table to be scanned.
@@ -4626,9 +4844,13 @@ module Google
4626
4844
  # How often and when to update profiles. New tables that match both the
4627
4845
  # filter and conditions are scanned as quickly as possible depending on
4628
4846
  # system capacity.
4847
+ #
4848
+ # Note: The following fields are mutually exclusive: `generation_cadence`, `disabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4629
4849
  # @!attribute [rw] disabled
4630
4850
  # @return [::Google::Cloud::Dlp::V2::Disabled]
4631
4851
  # Disable profiling for database resources that match this filter.
4852
+ #
4853
+ # Note: The following fields are mutually exclusive: `disabled`, `generation_cadence`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4632
4854
  class CloudSqlDiscoveryTarget
4633
4855
  include ::Google::Protobuf::MessageExts
4634
4856
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4640,16 +4862,22 @@ module Google
4640
4862
  # @!attribute [rw] collection
4641
4863
  # @return [::Google::Cloud::Dlp::V2::DatabaseResourceCollection]
4642
4864
  # A specific set of database resources for this filter to apply to.
4865
+ #
4866
+ # Note: The following fields are mutually exclusive: `collection`, `others`, `database_resource_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4643
4867
  # @!attribute [rw] others
4644
4868
  # @return [::Google::Cloud::Dlp::V2::AllOtherDatabaseResources]
4645
4869
  # Catch-all. This should always be the last target in the list because
4646
4870
  # anything above it will apply first. Should only appear once in a
4647
4871
  # configuration. If none is specified, a default one will be added
4648
4872
  # automatically.
4873
+ #
4874
+ # Note: The following fields are mutually exclusive: `others`, `collection`, `database_resource_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4649
4875
  # @!attribute [rw] database_resource_reference
4650
4876
  # @return [::Google::Cloud::Dlp::V2::DatabaseResourceReference]
4651
4877
  # The database resource to scan. Targets including this can only include
4652
4878
  # one target (the target with this database resource reference).
4879
+ #
4880
+ # Note: The following fields are mutually exclusive: `database_resource_reference`, `collection`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4653
4881
  class DiscoveryCloudSqlFilter
4654
4882
  include ::Google::Protobuf::MessageExts
4655
4883
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4852,9 +5080,13 @@ module Google
4852
5080
  # Optional. How often and when to update profiles. New buckets that match
4853
5081
  # both the filter and conditions are scanned as quickly as possible
4854
5082
  # depending on system capacity.
5083
+ #
5084
+ # Note: The following fields are mutually exclusive: `generation_cadence`, `disabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4855
5085
  # @!attribute [rw] disabled
4856
5086
  # @return [::Google::Cloud::Dlp::V2::Disabled]
4857
5087
  # Optional. Disable profiling for buckets that match this filter.
5088
+ #
5089
+ # Note: The following fields are mutually exclusive: `disabled`, `generation_cadence`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4858
5090
  class CloudStorageDiscoveryTarget
4859
5091
  include ::Google::Protobuf::MessageExts
4860
5092
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -4866,18 +5098,24 @@ module Google
4866
5098
  # @!attribute [rw] collection
4867
5099
  # @return [::Google::Cloud::Dlp::V2::FileStoreCollection]
4868
5100
  # Optional. A specific set of buckets for this filter to apply to.
5101
+ #
5102
+ # Note: The following fields are mutually exclusive: `collection`, `cloud_storage_resource_reference`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4869
5103
  # @!attribute [rw] cloud_storage_resource_reference
4870
5104
  # @return [::Google::Cloud::Dlp::V2::CloudStorageResourceReference]
4871
5105
  # Optional. The bucket to scan. Targets including this can only include one
4872
5106
  # target (the target with this bucket). This enables profiling the contents
4873
5107
  # of a single bucket, while the other options allow for easy profiling of
4874
5108
  # many bucets within a project or an organization.
5109
+ #
5110
+ # Note: The following fields are mutually exclusive: `cloud_storage_resource_reference`, `collection`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4875
5111
  # @!attribute [rw] others
4876
5112
  # @return [::Google::Cloud::Dlp::V2::AllOtherResources]
4877
5113
  # Optional. Catch-all. This should always be the last target in the list
4878
5114
  # because anything above it will apply first. Should only appear once in a
4879
5115
  # configuration. If none is specified, a default one will be added
4880
5116
  # automatically.
5117
+ #
5118
+ # Note: The following fields are mutually exclusive: `others`, `collection`, `cloud_storage_resource_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
4881
5119
  class DiscoveryCloudStorageFilter
4882
5120
  include ::Google::Protobuf::MessageExts
4883
5121
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5078,9 +5316,13 @@ module Google
5078
5316
  # How often and when to update data profiles. New resources that match both
5079
5317
  # the filter and conditions are scanned as quickly as possible depending on
5080
5318
  # system capacity.
5319
+ #
5320
+ # Note: The following fields are mutually exclusive: `generation_cadence`, `disabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5081
5321
  # @!attribute [rw] disabled
5082
5322
  # @return [::Google::Cloud::Dlp::V2::Disabled]
5083
5323
  # Disable profiling for resources that match this filter.
5324
+ #
5325
+ # Note: The following fields are mutually exclusive: `disabled`, `generation_cadence`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5084
5326
  class OtherCloudDiscoveryTarget
5085
5327
  include ::Google::Protobuf::MessageExts
5086
5328
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5091,16 +5333,22 @@ module Google
5091
5333
  # @!attribute [rw] collection
5092
5334
  # @return [::Google::Cloud::Dlp::V2::OtherCloudResourceCollection]
5093
5335
  # A collection of resources for this filter to apply to.
5336
+ #
5337
+ # Note: The following fields are mutually exclusive: `collection`, `single_resource`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5094
5338
  # @!attribute [rw] single_resource
5095
5339
  # @return [::Google::Cloud::Dlp::V2::OtherCloudSingleResourceReference]
5096
5340
  # The resource to scan. Configs using this filter can only have one target
5097
5341
  # (the target with this single resource reference).
5342
+ #
5343
+ # Note: The following fields are mutually exclusive: `single_resource`, `collection`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5098
5344
  # @!attribute [rw] others
5099
5345
  # @return [::Google::Cloud::Dlp::V2::AllOtherResources]
5100
5346
  # Optional. Catch-all. This should always be the last target in the list
5101
5347
  # because anything above it will apply first. Should only appear once in a
5102
5348
  # configuration. If none is specified, a default one will be added
5103
5349
  # automatically.
5350
+ #
5351
+ # Note: The following fields are mutually exclusive: `others`, `collection`, `single_resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5104
5352
  class DiscoveryOtherCloudFilter
5105
5353
  include ::Google::Protobuf::MessageExts
5106
5354
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5278,9 +5526,13 @@ module Google
5278
5526
  # @!attribute [rw] organization_id
5279
5527
  # @return [::Integer]
5280
5528
  # The ID of an organization to scan.
5529
+ #
5530
+ # Note: The following fields are mutually exclusive: `organization_id`, `folder_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5281
5531
  # @!attribute [rw] folder_id
5282
5532
  # @return [::Integer]
5283
5533
  # The ID of the folder within an organization to be scanned.
5534
+ #
5535
+ # Note: The following fields are mutually exclusive: `folder_id`, `organization_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5284
5536
  class DiscoveryStartingLocation
5285
5537
  include ::Google::Protobuf::MessageExts
5286
5538
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5301,10 +5553,14 @@ module Google
5301
5553
  # Within an AWS organization, you can find the AWS account ID inside an
5302
5554
  # AWS account ARN. Example:
5303
5555
  # arn:\\{partition}:organizations::\\{management_account_id}:account/\\{org_id}/\\{account_id}
5556
+ #
5557
+ # Note: The following fields are mutually exclusive: `account_id`, `all_asset_inventory_assets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5304
5558
  # @!attribute [rw] all_asset_inventory_assets
5305
5559
  # @return [::Boolean]
5306
5560
  # All AWS assets stored in Asset Inventory that didn't match other AWS
5307
5561
  # discovery configs.
5562
+ #
5563
+ # Note: The following fields are mutually exclusive: `all_asset_inventory_assets`, `account_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5308
5564
  class AwsDiscoveryStartingLocation
5309
5565
  include ::Google::Protobuf::MessageExts
5310
5566
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5330,9 +5586,13 @@ module Google
5330
5586
  # @!attribute [rw] risk_details
5331
5587
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails]
5332
5588
  # Results from analyzing risk of a data source.
5589
+ #
5590
+ # Note: The following fields are mutually exclusive: `risk_details`, `inspect_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5333
5591
  # @!attribute [rw] inspect_details
5334
5592
  # @return [::Google::Cloud::Dlp::V2::InspectDataSourceDetails]
5335
5593
  # Results from inspecting a data source.
5594
+ #
5595
+ # Note: The following fields are mutually exclusive: `inspect_details`, `risk_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5336
5596
  # @!attribute [rw] create_time
5337
5597
  # @return [::Google::Protobuf::Timestamp]
5338
5598
  # Time when the job was created.
@@ -5681,9 +5941,13 @@ module Google
5681
5941
  # @!attribute [rw] cloud_storage_file_set
5682
5942
  # @return [::Google::Cloud::Dlp::V2::CloudStorageFileSet]
5683
5943
  # Set of files containing newline-delimited lists of dictionary phrases.
5944
+ #
5945
+ # Note: The following fields are mutually exclusive: `cloud_storage_file_set`, `big_query_field`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5684
5946
  # @!attribute [rw] big_query_field
5685
5947
  # @return [::Google::Cloud::Dlp::V2::BigQueryField]
5686
5948
  # Field in a BigQuery table where each cell represents a dictionary phrase.
5949
+ #
5950
+ # Note: The following fields are mutually exclusive: `big_query_field`, `cloud_storage_file_set`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5687
5951
  class LargeCustomDictionaryConfig
5688
5952
  include ::Google::Protobuf::MessageExts
5689
5953
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5710,12 +5974,18 @@ module Google
5710
5974
  # @!attribute [rw] large_custom_dictionary
5711
5975
  # @return [::Google::Cloud::Dlp::V2::LargeCustomDictionaryConfig]
5712
5976
  # StoredInfoType where findings are defined by a dictionary of phrases.
5977
+ #
5978
+ # Note: The following fields are mutually exclusive: `large_custom_dictionary`, `dictionary`, `regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5713
5979
  # @!attribute [rw] dictionary
5714
5980
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
5715
5981
  # Store dictionary-based CustomInfoType.
5982
+ #
5983
+ # Note: The following fields are mutually exclusive: `dictionary`, `large_custom_dictionary`, `regex`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5716
5984
  # @!attribute [rw] regex
5717
5985
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
5718
5986
  # Store regular expression-based StoredInfoType.
5987
+ #
5988
+ # Note: The following fields are mutually exclusive: `regex`, `large_custom_dictionary`, `dictionary`. If a field in that set is populated, all other fields in the set will automatically be cleared.
5719
5989
  class StoredInfoTypeConfig
5720
5990
  include ::Google::Protobuf::MessageExts
5721
5991
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -7013,9 +7283,13 @@ module Google
7013
7283
  # @!attribute [rw] minimum_risk_score
7014
7284
  # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket]
7015
7285
  # The minimum data risk score that triggers the condition.
7286
+ #
7287
+ # Note: The following fields are mutually exclusive: `minimum_risk_score`, `minimum_sensitivity_score`. If a field in that set is populated, all other fields in the set will automatically be cleared.
7016
7288
  # @!attribute [rw] minimum_sensitivity_score
7017
7289
  # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket]
7018
7290
  # The minimum sensitivity level that triggers the condition.
7291
+ #
7292
+ # Note: The following fields are mutually exclusive: `minimum_sensitivity_score`, `minimum_risk_score`. If a field in that set is populated, all other fields in the set will automatically be cleared.
7019
7293
  class PubSubCondition
7020
7294
  include ::Google::Protobuf::MessageExts
7021
7295
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -7267,9 +7541,13 @@ module Google
7267
7541
  # @!attribute [rw] username_password
7268
7542
  # @return [::Google::Cloud::Dlp::V2::SecretManagerCredential]
7269
7543
  # A username and password stored in Secret Manager.
7544
+ #
7545
+ # Note: The following fields are mutually exclusive: `username_password`, `cloud_sql_iam`. If a field in that set is populated, all other fields in the set will automatically be cleared.
7270
7546
  # @!attribute [rw] cloud_sql_iam
7271
7547
  # @return [::Google::Cloud::Dlp::V2::CloudSqlIamCredential]
7272
7548
  # Built-in IAM authentication (must be configured in Cloud SQL).
7549
+ #
7550
+ # Note: The following fields are mutually exclusive: `cloud_sql_iam`, `username_password`. If a field in that set is populated, all other fields in the set will automatically be cleared.
7273
7551
  # @!attribute [rw] max_connections
7274
7552
  # @return [::Integer]
7275
7553
  # Required. DLP will limit its connections to max_connections.
@@ -111,17 +111,25 @@ module Google
111
111
  # @!attribute [rw] dictionary
112
112
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary]
113
113
  # A list of phrases to detect as a CustomInfoType.
114
+ #
115
+ # Note: The following fields are mutually exclusive: `dictionary`, `regex`, `surrogate_type`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
114
116
  # @!attribute [rw] regex
115
117
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Regex]
116
118
  # Regular expression based CustomInfoType.
119
+ #
120
+ # Note: The following fields are mutually exclusive: `regex`, `dictionary`, `surrogate_type`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
117
121
  # @!attribute [rw] surrogate_type
118
122
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::SurrogateType]
119
123
  # Message for detecting output from deidentification transformations that
120
124
  # support reversing.
125
+ #
126
+ # Note: The following fields are mutually exclusive: `surrogate_type`, `dictionary`, `regex`, `stored_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
121
127
  # @!attribute [rw] stored_type
122
128
  # @return [::Google::Cloud::Dlp::V2::StoredType]
123
129
  # Load an existing `StoredInfoType` resource for use in
124
130
  # `InspectDataSource`. Not currently supported in `InspectContent`.
131
+ #
132
+ # Note: The following fields are mutually exclusive: `stored_type`, `dictionary`, `regex`, `surrogate_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
125
133
  # @!attribute [rw] detection_rules
126
134
  # @return [::Array<::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule>]
127
135
  # Set of detection rules to apply to all findings of this CustomInfoType.
@@ -168,10 +176,14 @@ module Google
168
176
  # @!attribute [rw] word_list
169
177
  # @return [::Google::Cloud::Dlp::V2::CustomInfoType::Dictionary::WordList]
170
178
  # List of words or phrases to search for.
179
+ #
180
+ # Note: The following fields are mutually exclusive: `word_list`, `cloud_storage_path`. If a field in that set is populated, all other fields in the set will automatically be cleared.
171
181
  # @!attribute [rw] cloud_storage_path
172
182
  # @return [::Google::Cloud::Dlp::V2::CloudStoragePath]
173
183
  # Newline-delimited file of words in Cloud Storage. Only a single file
174
184
  # is accepted.
185
+ #
186
+ # Note: The following fields are mutually exclusive: `cloud_storage_path`, `word_list`. If a field in that set is populated, all other fields in the set will automatically be cleared.
175
187
  class Dictionary
176
188
  include ::Google::Protobuf::MessageExts
177
189
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -249,6 +261,8 @@ module Google
249
261
  # @!attribute [rw] fixed_likelihood
250
262
  # @return [::Google::Cloud::Dlp::V2::Likelihood]
251
263
  # Set the likelihood of a finding to a fixed value.
264
+ #
265
+ # Note: The following fields are mutually exclusive: `fixed_likelihood`, `relative_likelihood`. If a field in that set is populated, all other fields in the set will automatically be cleared.
252
266
  # @!attribute [rw] relative_likelihood
253
267
  # @return [::Integer]
254
268
  # Increase or decrease the likelihood by the specified number of
@@ -259,6 +273,8 @@ module Google
259
273
  # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
260
274
  # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
261
275
  # a final likelihood of `LIKELY`.
276
+ #
277
+ # Note: The following fields are mutually exclusive: `relative_likelihood`, `fixed_likelihood`. If a field in that set is populated, all other fields in the set will automatically be cleared.
262
278
  class LikelihoodAdjustment
263
279
  include ::Google::Protobuf::MessageExts
264
280
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -585,15 +601,23 @@ module Google
585
601
  # @!attribute [rw] datastore_options
586
602
  # @return [::Google::Cloud::Dlp::V2::DatastoreOptions]
587
603
  # Google Cloud Datastore options.
604
+ #
605
+ # Note: The following fields are mutually exclusive: `datastore_options`, `cloud_storage_options`, `big_query_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
588
606
  # @!attribute [rw] cloud_storage_options
589
607
  # @return [::Google::Cloud::Dlp::V2::CloudStorageOptions]
590
608
  # Cloud Storage options.
609
+ #
610
+ # Note: The following fields are mutually exclusive: `cloud_storage_options`, `datastore_options`, `big_query_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
591
611
  # @!attribute [rw] big_query_options
592
612
  # @return [::Google::Cloud::Dlp::V2::BigQueryOptions]
593
613
  # BigQuery options.
614
+ #
615
+ # Note: The following fields are mutually exclusive: `big_query_options`, `datastore_options`, `cloud_storage_options`, `hybrid_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
594
616
  # @!attribute [rw] hybrid_options
595
617
  # @return [::Google::Cloud::Dlp::V2::HybridOptions]
596
618
  # Hybrid inspection options.
619
+ #
620
+ # Note: The following fields are mutually exclusive: `hybrid_options`, `datastore_options`, `cloud_storage_options`, `big_query_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
597
621
  # @!attribute [rw] timespan_config
598
622
  # @return [::Google::Cloud::Dlp::V2::StorageConfig::TimespanConfig]
599
623
  # Configuration of the timespan of the items to include in scanning.
@@ -784,12 +808,16 @@ module Google
784
808
  # The auto-allocated ID of the entity.
785
809
  # Never equal to zero. Values less than zero are discouraged and may not
786
810
  # be supported in the future.
811
+ #
812
+ # Note: The following fields are mutually exclusive: `id`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
787
813
  # @!attribute [rw] name
788
814
  # @return [::String]
789
815
  # The name of the entity.
790
816
  # A name matching regex `__.*__` is reserved/read-only.
791
817
  # A name must not be more than 1500 bytes when UTF-8 encoded.
792
818
  # Cannot be `""`.
819
+ #
820
+ # Note: The following fields are mutually exclusive: `name`, `id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
793
821
  class PathElement
794
822
  include ::Google::Protobuf::MessageExts
795
823
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -800,9 +828,13 @@ module Google
800
828
  # @!attribute [rw] datastore_key
801
829
  # @return [::Google::Cloud::Dlp::V2::DatastoreKey]
802
830
  # BigQuery key
831
+ #
832
+ # Note: The following fields are mutually exclusive: `datastore_key`, `big_query_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
803
833
  # @!attribute [rw] big_query_key
804
834
  # @return [::Google::Cloud::Dlp::V2::BigQueryKey]
805
835
  # Datastore key
836
+ #
837
+ # Note: The following fields are mutually exclusive: `big_query_key`, `datastore_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.
806
838
  # @!attribute [rw] id_values
807
839
  # @return [::Array<::String>]
808
840
  # Values of identifying columns in the given row. Order of values matches
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -111,7 +110,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
111
110
  licenses:
112
111
  - Apache-2.0
113
112
  metadata: {}
114
- post_install_message:
115
113
  rdoc_options: []
116
114
  require_paths:
117
115
  - lib
@@ -119,15 +117,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
117
  requirements:
120
118
  - - ">="
121
119
  - !ruby/object:Gem::Version
122
- version: '2.7'
120
+ version: '3.0'
123
121
  required_rubygems_version: !ruby/object:Gem::Requirement
124
122
  requirements:
125
123
  - - ">="
126
124
  - !ruby/object:Gem::Version
127
125
  version: '0'
128
126
  requirements: []
129
- rubygems_version: 3.5.23
130
- signing_key:
127
+ rubygems_version: 3.6.2
131
128
  specification_version: 4
132
129
  summary: Discover and protect your sensitive data. A fully managed service designed
133
130
  to help you discover, classify, and protect your valuable data assets with ease.