google-apis-dlp_v2 0.59.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/dlp_v2/classes.rb +307 -143
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +68 -0
- data/lib/google/apis/dlp_v2/service.rb +1144 -529
- data/lib/google/apis/dlp_v2.rb +1 -1
- metadata +3 -3
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DlpV2
|
24
24
|
|
25
|
-
# A task to execute on the completion of a job. See https://cloud.google.com/
|
26
|
-
# docs/concepts-actions to learn more.
|
25
|
+
# A task to execute on the completion of a job. See https://cloud.google.com/
|
26
|
+
# sensitive-data-protection/docs/concepts-actions to learn more.
|
27
27
|
class GooglePrivacyDlpV2Action
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
@@ -50,8 +50,8 @@ module Google
|
|
50
50
|
|
51
51
|
# Publish a message into a given Pub/Sub topic when DlpJob has completed. The
|
52
52
|
# message contains a single field, `DlpJobName`, which is equal to the finished
|
53
|
-
# job's [`DlpJob.name`](https://cloud.google.com/
|
54
|
-
# projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
|
53
|
+
# job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/
|
54
|
+
# reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
|
55
55
|
# Corresponds to the JSON property `pubSub`
|
56
56
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
|
57
57
|
attr_accessor :pub_sub
|
@@ -439,9 +439,10 @@ module Google
|
|
439
439
|
# scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and
|
440
440
|
# 100 means no limit. Defaults to 0. Only one of rows_limit and
|
441
441
|
# rows_limit_percent can be specified. Cannot be used in conjunction with
|
442
|
-
# TimespanConfig. Caution: A [known issue](https://cloud.google.com/
|
443
|
-
# known-issues#bq-sampling) is causing the `
|
444
|
-
# unexpectedly. We recommend using `rowsLimit`
|
442
|
+
# TimespanConfig. Caution: A [known issue](https://cloud.google.com/sensitive-
|
443
|
+
# data-protection/docs/known-issues#bq-sampling) is causing the `
|
444
|
+
# rowsLimitPercent` field to behave unexpectedly. We recommend using `rowsLimit`
|
445
|
+
# instead.
|
445
446
|
# Corresponds to the JSON property `rowsLimitPercent`
|
446
447
|
# @return [Fixnum]
|
447
448
|
attr_accessor :rows_limit_percent
|
@@ -687,7 +688,8 @@ module Google
|
|
687
688
|
# type: number, long, string, timestamp. If the bound `Value` type differs from
|
688
689
|
# the type of data being transformed, we will first attempt converting the type
|
689
690
|
# of the data to be transformed to match the type of the bound before comparing.
|
690
|
-
# See https://cloud.google.com/
|
691
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
|
692
|
+
# to learn more.
|
691
693
|
class GooglePrivacyDlpV2BucketingConfig
|
692
694
|
include Google::Apis::Core::Hashable
|
693
695
|
|
@@ -943,8 +945,8 @@ module Google
|
|
943
945
|
# bytes_limit_per_file` and `bytes_limit_per_file_percent` can be specified.
|
944
946
|
# This field can't be set if de-identification is requested. For certain file
|
945
947
|
# types, setting this field has no effect. For more information, see [Limits on
|
946
|
-
# bytes scanned per file](https://cloud.google.com/
|
947
|
-
# max-byte-size-per-file).
|
948
|
+
# bytes scanned per file](https://cloud.google.com/sensitive-data-protection/
|
949
|
+
# docs/supported-file-types#max-byte-size-per-file).
|
948
950
|
# Corresponds to the JSON property `bytesLimitPerFile`
|
949
951
|
# @return [Fixnum]
|
950
952
|
attr_accessor :bytes_limit_per_file
|
@@ -955,7 +957,8 @@ module Google
|
|
955
957
|
# bytes_limit_per_file_percent can be specified. This field can't be set if de-
|
956
958
|
# identification is requested. For certain file types, setting this field has no
|
957
959
|
# effect. For more information, see [Limits on bytes scanned per file](https://
|
958
|
-
# cloud.google.com/
|
960
|
+
# cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-
|
961
|
+
# size-per-file).
|
959
962
|
# Corresponds to the JSON property `bytesLimitPerFilePercent`
|
960
963
|
# @return [Fixnum]
|
961
964
|
attr_accessor :bytes_limit_per_file_percent
|
@@ -1006,8 +1009,8 @@ module Google
|
|
1006
1009
|
class GooglePrivacyDlpV2CloudStoragePath
|
1007
1010
|
include Google::Apis::Core::Hashable
|
1008
1011
|
|
1009
|
-
# A
|
1010
|
-
#
|
1012
|
+
# A URL representing a file or path (no wildcards) in Cloud Storage. Example: `
|
1013
|
+
# gs://[BUCKET_NAME]/dictionary.txt`
|
1011
1014
|
# Corresponds to the JSON property `path`
|
1012
1015
|
# @return [String]
|
1013
1016
|
attr_accessor :path
|
@@ -1148,7 +1151,7 @@ module Google
|
|
1148
1151
|
# @return [String]
|
1149
1152
|
attr_accessor :dataset_location
|
1150
1153
|
|
1151
|
-
# The Google Cloud project ID that owns the
|
1154
|
+
# The Google Cloud project ID that owns the profiled resource.
|
1152
1155
|
# Corresponds to the JSON property `datasetProjectId`
|
1153
1156
|
# @return [String]
|
1154
1157
|
attr_accessor :dataset_project_id
|
@@ -1211,7 +1214,7 @@ module Google
|
|
1211
1214
|
# @return [String]
|
1212
1215
|
attr_accessor :table_data_profile
|
1213
1216
|
|
1214
|
-
# The resource name of the
|
1217
|
+
# The resource name of the resource this column is within.
|
1215
1218
|
# Corresponds to the JSON property `tableFullResource`
|
1216
1219
|
# @return [String]
|
1217
1220
|
attr_accessor :table_full_resource
|
@@ -1391,8 +1394,8 @@ module Google
|
|
1391
1394
|
attr_accessor :byte_item
|
1392
1395
|
|
1393
1396
|
# Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
|
1394
|
-
# https://cloud.google.com/
|
1395
|
-
# inspecting_a_table to learn more.
|
1397
|
+
# https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-
|
1398
|
+
# text#inspecting_a_table to learn more.
|
1396
1399
|
# Corresponds to the JSON property `table`
|
1397
1400
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]
|
1398
1401
|
attr_accessor :table
|
@@ -1483,7 +1486,8 @@ module Google
|
|
1483
1486
|
include Google::Apis::Core::Hashable
|
1484
1487
|
|
1485
1488
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
1486
|
-
# https://cloud.google.com/
|
1489
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
1490
|
+
# learn more.
|
1487
1491
|
# Corresponds to the JSON property `deidentifyTemplate`
|
1488
1492
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
1489
1493
|
attr_accessor :deidentify_template
|
@@ -1528,7 +1532,8 @@ module Google
|
|
1528
1532
|
# Configuration for discovery to scan resources for profile generation. Only one
|
1529
1533
|
# discovery configuration may exist per organization, folder, or project. The
|
1530
1534
|
# generated data profiles are retained according to the [data retention policy] (
|
1531
|
-
# https://cloud.google.com/
|
1535
|
+
# https://cloud.google.com/sensitive-data-protection/docs/data-profiles#
|
1536
|
+
# retention).
|
1532
1537
|
# Corresponds to the JSON property `discoveryConfig`
|
1533
1538
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig]
|
1534
1539
|
attr_accessor :discovery_config
|
@@ -1566,8 +1571,8 @@ module Google
|
|
1566
1571
|
# @return [String]
|
1567
1572
|
attr_accessor :location_id
|
1568
1573
|
|
1569
|
-
# Configuration for a risk analysis job. See https://cloud.google.com/
|
1570
|
-
# concepts-risk-analysis to learn more.
|
1574
|
+
# Configuration for a risk analysis job. See https://cloud.google.com/sensitive-
|
1575
|
+
# data-protection/docs/concepts-risk-analysis to learn more.
|
1571
1576
|
# Corresponds to the JSON property `riskJob`
|
1572
1577
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
|
1573
1578
|
attr_accessor :risk_job
|
@@ -1591,8 +1596,8 @@ module Google
|
|
1591
1596
|
|
1592
1597
|
# The inspectTemplate contains a configuration (set of types of sensitive data
|
1593
1598
|
# to be detected) to be used anywhere you otherwise would normally specify
|
1594
|
-
# InspectConfig. See https://cloud.google.com/
|
1595
|
-
# learn more.
|
1599
|
+
# InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/
|
1600
|
+
# concepts-templates to learn more.
|
1596
1601
|
# Corresponds to the JSON property `inspectTemplate`
|
1597
1602
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
|
1598
1603
|
attr_accessor :inspect_template
|
@@ -1627,7 +1632,8 @@ module Google
|
|
1627
1632
|
include Google::Apis::Core::Hashable
|
1628
1633
|
|
1629
1634
|
# Contains a configuration to make dlp api calls on a repeating basis. See https:
|
1630
|
-
# //cloud.google.com/
|
1635
|
+
# //cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to
|
1636
|
+
# learn more.
|
1631
1637
|
# Corresponds to the JSON property `jobTrigger`
|
1632
1638
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
|
1633
1639
|
attr_accessor :job_trigger
|
@@ -1662,8 +1668,8 @@ module Google
|
|
1662
1668
|
include Google::Apis::Core::Hashable
|
1663
1669
|
|
1664
1670
|
# Configuration for stored infoTypes. All fields and subfield are provided by
|
1665
|
-
# the user. For more information, see https://cloud.google.com/
|
1666
|
-
# custom-infotypes.
|
1671
|
+
# the user. For more information, see https://cloud.google.com/sensitive-data-
|
1672
|
+
# protection/docs/creating-custom-infotypes.
|
1667
1673
|
# Corresponds to the JSON property `config`
|
1668
1674
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
|
1669
1675
|
attr_accessor :config
|
@@ -1733,8 +1739,8 @@ module Google
|
|
1733
1739
|
# Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
|
1734
1740
|
# encoded representation of the hashed output (for example,
|
1735
1741
|
# L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
|
1736
|
-
# integer values can be hashed. See https://cloud.google.com/
|
1737
|
-
# pseudonymization to learn more.
|
1742
|
+
# integer values can be hashed. See https://cloud.google.com/sensitive-data-
|
1743
|
+
# protection/docs/pseudonymization to learn more.
|
1738
1744
|
class GooglePrivacyDlpV2CryptoHashConfig
|
1739
1745
|
include Google::Apis::Core::Hashable
|
1740
1746
|
|
@@ -1767,9 +1773,9 @@ module Google
|
|
1767
1773
|
# must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM
|
1768
1774
|
# permissions when sending a request to perform a crypto transformation using a
|
1769
1775
|
# KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a
|
1770
|
-
# wrapped key] (https://cloud.google.com/
|
1771
|
-
# When you use Cloud KMS for cryptographic operations, [
|
1772
|
-
# cloud.google.com/kms/pricing).
|
1776
|
+
# wrapped key] (https://cloud.google.com/sensitive-data-protection/docs/create-
|
1777
|
+
# wrapped-key). Note: When you use Cloud KMS for cryptographic operations, [
|
1778
|
+
# charges apply](https://cloud.google.com/kms/pricing).
|
1773
1779
|
# Corresponds to the JSON property `kmsWrapped`
|
1774
1780
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2KmsWrappedCryptoKey]
|
1775
1781
|
attr_accessor :kms_wrapped
|
@@ -1805,10 +1811,10 @@ module Google
|
|
1805
1811
|
# encoded as ASCII. For a given crypto key and context, the same identifier will
|
1806
1812
|
# be replaced with the same surrogate. Identifiers must be at least two
|
1807
1813
|
# characters long. In the case that the identifier is the empty string, it will
|
1808
|
-
# be skipped. See https://cloud.google.com/
|
1809
|
-
# more. Note: We recommend using
|
1810
|
-
# which do not require preserving
|
1811
|
-
# warrant referential integrity.
|
1814
|
+
# be skipped. See https://cloud.google.com/sensitive-data-protection/docs/
|
1815
|
+
# pseudonymization to learn more. Note: We recommend using
|
1816
|
+
# CryptoDeterministicConfig for all use cases which do not require preserving
|
1817
|
+
# the input alphabet space and size, plus warrant referential integrity.
|
1812
1818
|
class GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig
|
1813
1819
|
include Google::Apis::Core::Hashable
|
1814
1820
|
|
@@ -1893,9 +1899,9 @@ module Google
|
|
1893
1899
|
# jennifer". Dictionary words containing a large number of characters that are
|
1894
1900
|
# not letters or digits may result in unexpected findings because such
|
1895
1901
|
# characters are treated as whitespace. The [limits](https://cloud.google.com/
|
1896
|
-
#
|
1897
|
-
# dictionaries that do not fit within these constraints,
|
1898
|
-
# LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
1902
|
+
# sensitive-data-protection/limits) page contains details about the size limits
|
1903
|
+
# of dictionaries. For dictionaries that do not fit within these constraints,
|
1904
|
+
# consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
1899
1905
|
# Corresponds to the JSON property `dictionary`
|
1900
1906
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
1901
1907
|
attr_accessor :dictionary
|
@@ -1935,12 +1941,13 @@ module Google
|
|
1935
1941
|
attr_accessor :stored_type
|
1936
1942
|
|
1937
1943
|
# Message for detecting output from deidentification transformations such as [`
|
1938
|
-
# CryptoReplaceFfxFpeConfig`](https://cloud.google.com/
|
1939
|
-
# v2/organizations.deidentifyTemplates#
|
1940
|
-
# of transformations are those that
|
1941
|
-
# a "surrogate" as output. This
|
1942
|
-
# the transformation such as `
|
1943
|
-
# support the use of `
|
1944
|
+
# CryptoReplaceFfxFpeConfig`](https://cloud.google.com/sensitive-data-protection/
|
1945
|
+
# docs/reference/rest/v2/organizations.deidentifyTemplates#
|
1946
|
+
# cryptoreplaceffxfpeconfig). These types of transformations are those that
|
1947
|
+
# perform pseudonymization, thereby producing a "surrogate" as output. This
|
1948
|
+
# should be used in conjunction with a field on the transformation such as `
|
1949
|
+
# surrogate_info_type`. This CustomInfoType does not support the use of `
|
1950
|
+
# detection_rules`.
|
1944
1951
|
# Corresponds to the JSON property `surrogateType`
|
1945
1952
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType]
|
1946
1953
|
attr_accessor :surrogate_type
|
@@ -2024,7 +2031,8 @@ module Google
|
|
2024
2031
|
# Configuration for setting up a job to scan resources for profile generation.
|
2025
2032
|
# Only one data profile configuration may exist per organization, folder, or
|
2026
2033
|
# project. The generated data profiles are retained according to the [data
|
2027
|
-
# retention policy] (https://cloud.google.com/
|
2034
|
+
# retention policy] (https://cloud.google.com/sensitive-data-protection/docs/
|
2035
|
+
# data-profiles#retention).
|
2028
2036
|
# Corresponds to the JSON property `dataProfileJob`
|
2029
2037
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig]
|
2030
2038
|
attr_accessor :data_profile_job
|
@@ -2032,7 +2040,8 @@ module Google
|
|
2032
2040
|
# Configuration for discovery to scan resources for profile generation. Only one
|
2033
2041
|
# discovery configuration may exist per organization, folder, or project. The
|
2034
2042
|
# generated data profiles are retained according to the [data retention policy] (
|
2035
|
-
# https://cloud.google.com/
|
2043
|
+
# https://cloud.google.com/sensitive-data-protection/docs/data-profiles#
|
2044
|
+
# retention).
|
2036
2045
|
# Corresponds to the JSON property `discoveryConfig`
|
2037
2046
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig]
|
2038
2047
|
attr_accessor :discovery_config
|
@@ -2043,6 +2052,16 @@ module Google
|
|
2043
2052
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
|
2044
2053
|
attr_accessor :inspect_config
|
2045
2054
|
|
2055
|
+
# Timestamp when the template was modified
|
2056
|
+
# Corresponds to the JSON property `inspectTemplateModifiedTime`
|
2057
|
+
# @return [String]
|
2058
|
+
attr_accessor :inspect_template_modified_time
|
2059
|
+
|
2060
|
+
# Name of the inspection template used to generate this profile
|
2061
|
+
# Corresponds to the JSON property `inspectTemplateName`
|
2062
|
+
# @return [String]
|
2063
|
+
attr_accessor :inspect_template_name
|
2064
|
+
|
2046
2065
|
def initialize(**args)
|
2047
2066
|
update!(**args)
|
2048
2067
|
end
|
@@ -2052,13 +2071,16 @@ module Google
|
|
2052
2071
|
@data_profile_job = args[:data_profile_job] if args.key?(:data_profile_job)
|
2053
2072
|
@discovery_config = args[:discovery_config] if args.key?(:discovery_config)
|
2054
2073
|
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
2074
|
+
@inspect_template_modified_time = args[:inspect_template_modified_time] if args.key?(:inspect_template_modified_time)
|
2075
|
+
@inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name)
|
2055
2076
|
end
|
2056
2077
|
end
|
2057
2078
|
|
2058
2079
|
# Configuration for setting up a job to scan resources for profile generation.
|
2059
2080
|
# Only one data profile configuration may exist per organization, folder, or
|
2060
2081
|
# project. The generated data profiles are retained according to the [data
|
2061
|
-
# retention policy] (https://cloud.google.com/
|
2082
|
+
# retention policy] (https://cloud.google.com/sensitive-data-protection/docs/
|
2083
|
+
# data-profiles#retention).
|
2062
2084
|
class GooglePrivacyDlpV2DataProfileJobConfig
|
2063
2085
|
include Google::Apis::Core::Hashable
|
2064
2086
|
|
@@ -2075,8 +2097,8 @@ module Google
|
|
2075
2097
|
# specific template is specified, but a "global" template is specified, it will
|
2076
2098
|
# be copied to that region and used instead. If no global or region-specific
|
2077
2099
|
# template is provided for a region with data, that region's data will not be
|
2078
|
-
# scanned. For more information, see https://cloud.google.com/
|
2079
|
-
# profiles#data-residency.
|
2100
|
+
# scanned. For more information, see https://cloud.google.com/sensitive-data-
|
2101
|
+
# protection/docs/data-profiles#data-residency.
|
2080
2102
|
# Corresponds to the JSON property `inspectTemplates`
|
2081
2103
|
# @return [Array<String>]
|
2082
2104
|
attr_accessor :inspect_templates
|
@@ -2266,8 +2288,8 @@ module Google
|
|
2266
2288
|
end
|
2267
2289
|
|
2268
2290
|
# Shifts dates by random number of days, with option to be consistent for the
|
2269
|
-
# same context. See https://cloud.google.com/
|
2270
|
-
# learn more.
|
2291
|
+
# same context. See https://cloud.google.com/sensitive-data-protection/docs/
|
2292
|
+
# concepts-date-shifting to learn more.
|
2271
2293
|
class GooglePrivacyDlpV2DateShiftConfig
|
2272
2294
|
include Google::Apis::Core::Hashable
|
2273
2295
|
|
@@ -2596,7 +2618,8 @@ module Google
|
|
2596
2618
|
end
|
2597
2619
|
|
2598
2620
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
2599
|
-
# https://cloud.google.com/
|
2621
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
2622
|
+
# learn more.
|
2600
2623
|
class GooglePrivacyDlpV2DeidentifyTemplate
|
2601
2624
|
include Google::Apis::Core::Hashable
|
2602
2625
|
|
@@ -2829,9 +2852,9 @@ module Google
|
|
2829
2852
|
# jennifer". Dictionary words containing a large number of characters that are
|
2830
2853
|
# not letters or digits may result in unexpected findings because such
|
2831
2854
|
# characters are treated as whitespace. The [limits](https://cloud.google.com/
|
2832
|
-
#
|
2833
|
-
# dictionaries that do not fit within these constraints,
|
2834
|
-
# LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
2855
|
+
# sensitive-data-protection/limits) page contains details about the size limits
|
2856
|
+
# of dictionaries. For dictionaries that do not fit within these constraints,
|
2857
|
+
# consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
2835
2858
|
class GooglePrivacyDlpV2Dictionary
|
2836
2859
|
include Google::Apis::Core::Hashable
|
2837
2860
|
|
@@ -2944,7 +2967,8 @@ module Google
|
|
2944
2967
|
# Configuration for discovery to scan resources for profile generation. Only one
|
2945
2968
|
# discovery configuration may exist per organization, folder, or project. The
|
2946
2969
|
# generated data profiles are retained according to the [data retention policy] (
|
2947
|
-
# https://cloud.google.com/
|
2970
|
+
# https://cloud.google.com/sensitive-data-protection/docs/data-profiles#
|
2971
|
+
# retention).
|
2948
2972
|
class GooglePrivacyDlpV2DiscoveryConfig
|
2949
2973
|
include Google::Apis::Core::Hashable
|
2950
2974
|
|
@@ -2979,8 +3003,8 @@ module Google
|
|
2979
3003
|
# template is specified, but a "global" template is specified, it will be copied
|
2980
3004
|
# to that region and used instead. If no global or region-specific template is
|
2981
3005
|
# provided for a region with data, that region's data will not be scanned. For
|
2982
|
-
# more information, see https://cloud.google.com/
|
2983
|
-
# residency.
|
3006
|
+
# more information, see https://cloud.google.com/sensitive-data-protection/docs/
|
3007
|
+
# data-profiles#data-residency.
|
2984
3008
|
# Corresponds to the JSON property `inspectTemplates`
|
2985
3009
|
# @return [Array<String>]
|
2986
3010
|
attr_accessor :inspect_templates
|
@@ -3396,9 +3420,9 @@ module Google
|
|
3396
3420
|
# jennifer". Dictionary words containing a large number of characters that are
|
3397
3421
|
# not letters or digits may result in unexpected findings because such
|
3398
3422
|
# characters are treated as whitespace. The [limits](https://cloud.google.com/
|
3399
|
-
#
|
3400
|
-
# dictionaries that do not fit within these constraints,
|
3401
|
-
# LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
3423
|
+
# sensitive-data-protection/limits) page contains details about the size limits
|
3424
|
+
# of dictionaries. For dictionaries that do not fit within these constraints,
|
3425
|
+
# consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
3402
3426
|
# Corresponds to the JSON property `dictionary`
|
3403
3427
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
3404
3428
|
attr_accessor :dictionary
|
@@ -3765,7 +3789,8 @@ module Google
|
|
3765
3789
|
# used on data of type: double, long. If the bound Value type differs from the
|
3766
3790
|
# type of data being transformed, we will first attempt converting the type of
|
3767
3791
|
# the data to be transformed to match the type of the bound before comparing.
|
3768
|
-
# See https://cloud.google.com/
|
3792
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
|
3793
|
+
# to learn more.
|
3769
3794
|
class GooglePrivacyDlpV2FixedSizeBucketingConfig
|
3770
3795
|
include Google::Apis::Core::Hashable
|
3771
3796
|
|
@@ -4170,10 +4195,10 @@ module Google
|
|
4170
4195
|
include Google::Apis::Core::Hashable
|
4171
4196
|
|
4172
4197
|
# Name of the information type. Either a name of your choosing when creating a
|
4173
|
-
# CustomInfoType, or one of the names listed at https://cloud.google.com/
|
4174
|
-
# docs/infotypes-reference when specifying a built-in
|
4175
|
-
# DLP results to Data Catalog, infoType names should
|
4176
|
-
# Za-z0-9$_-]`1,64``.
|
4198
|
+
# CustomInfoType, or one of the names listed at https://cloud.google.com/
|
4199
|
+
# sensitive-data-protection/docs/infotypes-reference when specifying a built-in
|
4200
|
+
# type. When sending Cloud DLP results to Data Catalog, infoType names should
|
4201
|
+
# conform to the pattern `[A-Za-z0-9$_-]`1,64``.
|
4177
4202
|
# Corresponds to the JSON property `name`
|
4178
4203
|
# @return [String]
|
4179
4204
|
attr_accessor :name
|
@@ -4455,8 +4480,8 @@ module Google
|
|
4455
4480
|
# @return [Array<String>]
|
4456
4481
|
attr_accessor :content_options
|
4457
4482
|
|
4458
|
-
# CustomInfoTypes provided by the user. See https://cloud.google.com/
|
4459
|
-
# creating-custom-infotypes to learn more.
|
4483
|
+
# CustomInfoTypes provided by the user. See https://cloud.google.com/sensitive-
|
4484
|
+
# data-protection/docs/creating-custom-infotypes to learn more.
|
4460
4485
|
# Corresponds to the JSON property `customInfoTypes`
|
4461
4486
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2CustomInfoType>]
|
4462
4487
|
attr_accessor :custom_info_types
|
@@ -4477,13 +4502,13 @@ module Google
|
|
4477
4502
|
alias_method :include_quote?, :include_quote
|
4478
4503
|
|
4479
4504
|
# Restricts what info_types to look for. The values must correspond to InfoType
|
4480
|
-
# values returned by ListInfoTypes or listed at https://cloud.google.com/
|
4481
|
-
# docs/infotypes-reference. When no InfoTypes or
|
4482
|
-
# in a request, the system may automatically
|
4483
|
-
# to run, which may change over time. If you
|
4484
|
-
# predictability as to what detectors are run you
|
4485
|
-
# InfoTypes listed in the reference, otherwise a default
|
4486
|
-
# which may change over time.
|
4505
|
+
# values returned by ListInfoTypes or listed at https://cloud.google.com/
|
4506
|
+
# sensitive-data-protection/docs/infotypes-reference. When no InfoTypes or
|
4507
|
+
# CustomInfoTypes are specified in a request, the system may automatically
|
4508
|
+
# choose a default list of detectors to run, which may change over time. If you
|
4509
|
+
# need precise control and predictability as to what detectors are run you
|
4510
|
+
# should specify specific InfoTypes listed in the reference, otherwise a default
|
4511
|
+
# list will be used, which may change over time.
|
4487
4512
|
# Corresponds to the JSON property `infoTypes`
|
4488
4513
|
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
|
4489
4514
|
attr_accessor :info_types
|
@@ -4500,8 +4525,8 @@ module Google
|
|
4500
4525
|
# Only returns findings equal to or above this threshold. The default is
|
4501
4526
|
# POSSIBLE. In general, the highest likelihood setting yields the fewest
|
4502
4527
|
# findings in results and the lowest chance of a false positive. For more
|
4503
|
-
# information, see [Match likelihood](https://cloud.google.com/
|
4504
|
-
# likelihood).
|
4528
|
+
# information, see [Match likelihood](https://cloud.google.com/sensitive-data-
|
4529
|
+
# protection/docs/likelihood).
|
4505
4530
|
# Corresponds to the JSON property `minLikelihood`
|
4506
4531
|
# @return [String]
|
4507
4532
|
attr_accessor :min_likelihood
|
@@ -4696,8 +4721,8 @@ module Google
|
|
4696
4721
|
|
4697
4722
|
# The inspectTemplate contains a configuration (set of types of sensitive data
|
4698
4723
|
# to be detected) to be used anywhere you otherwise would normally specify
|
4699
|
-
# InspectConfig. See https://cloud.google.com/
|
4700
|
-
# learn more.
|
4724
|
+
# InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/
|
4725
|
+
# concepts-templates to learn more.
|
4701
4726
|
class GooglePrivacyDlpV2InspectTemplate
|
4702
4727
|
include Google::Apis::Core::Hashable
|
4703
4728
|
|
@@ -4819,7 +4844,8 @@ module Google
|
|
4819
4844
|
end
|
4820
4845
|
|
4821
4846
|
# Contains a configuration to make dlp api calls on a repeating basis. See https:
|
4822
|
-
# //cloud.google.com/
|
4847
|
+
# //cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to
|
4848
|
+
# learn more.
|
4823
4849
|
class GooglePrivacyDlpV2JobTrigger
|
4824
4850
|
include Google::Apis::Core::Hashable
|
4825
4851
|
|
@@ -5220,9 +5246,9 @@ module Google
|
|
5220
5246
|
# must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM
|
5221
5247
|
# permissions when sending a request to perform a crypto transformation using a
|
5222
5248
|
# KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a
|
5223
|
-
# wrapped key] (https://cloud.google.com/
|
5224
|
-
# When you use Cloud KMS for cryptographic operations, [
|
5225
|
-
# cloud.google.com/kms/pricing).
|
5249
|
+
# wrapped key] (https://cloud.google.com/sensitive-data-protection/docs/create-
|
5250
|
+
# wrapped-key). Note: When you use Cloud KMS for cryptographic operations, [
|
5251
|
+
# charges apply](https://cloud.google.com/kms/pricing).
|
5226
5252
|
class GooglePrivacyDlpV2KmsWrappedCryptoKey
|
5227
5253
|
include Google::Apis::Core::Hashable
|
5228
5254
|
|
@@ -5379,10 +5405,11 @@ module Google
|
|
5379
5405
|
end
|
5380
5406
|
|
5381
5407
|
# Configuration for a custom dictionary created from a data source of any size
|
5382
|
-
# up to the maximum size defined in the [limits](https://cloud.google.com/
|
5383
|
-
# limits) page. The artifacts of dictionary creation
|
5384
|
-
# Cloud Storage location. Consider using `
|
5385
|
-
# dictionaries that satisfy the size
|
5408
|
+
# up to the maximum size defined in the [limits](https://cloud.google.com/
|
5409
|
+
# sensitive-data-protection/limits) page. The artifacts of dictionary creation
|
5410
|
+
# are stored in the specified Cloud Storage location. Consider using `
|
5411
|
+
# CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size
|
5412
|
+
# requirements.
|
5386
5413
|
class GooglePrivacyDlpV2LargeCustomDictionaryConfig
|
5387
5414
|
include Google::Apis::Core::Hashable
|
5388
5415
|
|
@@ -5479,6 +5506,31 @@ module Google
|
|
5479
5506
|
end
|
5480
5507
|
end
|
5481
5508
|
|
5509
|
+
# List of profiles generated for a given organization or project.
|
5510
|
+
class GooglePrivacyDlpV2ListColumnDataProfilesResponse
|
5511
|
+
include Google::Apis::Core::Hashable
|
5512
|
+
|
5513
|
+
# List of data profiles.
|
5514
|
+
# Corresponds to the JSON property `columnDataProfiles`
|
5515
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile>]
|
5516
|
+
attr_accessor :column_data_profiles
|
5517
|
+
|
5518
|
+
# The next page token.
|
5519
|
+
# Corresponds to the JSON property `nextPageToken`
|
5520
|
+
# @return [String]
|
5521
|
+
attr_accessor :next_page_token
|
5522
|
+
|
5523
|
+
def initialize(**args)
|
5524
|
+
update!(**args)
|
5525
|
+
end
|
5526
|
+
|
5527
|
+
# Update properties of this object
|
5528
|
+
def update!(**args)
|
5529
|
+
@column_data_profiles = args[:column_data_profiles] if args.key?(:column_data_profiles)
|
5530
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5531
|
+
end
|
5532
|
+
end
|
5533
|
+
|
5482
5534
|
# Response message for ListDeidentifyTemplates.
|
5483
5535
|
class GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
5484
5536
|
include Google::Apis::Core::Hashable
|
@@ -5628,6 +5680,31 @@ module Google
|
|
5628
5680
|
end
|
5629
5681
|
end
|
5630
5682
|
|
5683
|
+
# List of profiles generated for a given organization or project.
|
5684
|
+
class GooglePrivacyDlpV2ListProjectDataProfilesResponse
|
5685
|
+
include Google::Apis::Core::Hashable
|
5686
|
+
|
5687
|
+
# The next page token.
|
5688
|
+
# Corresponds to the JSON property `nextPageToken`
|
5689
|
+
# @return [String]
|
5690
|
+
attr_accessor :next_page_token
|
5691
|
+
|
5692
|
+
# List of data profiles.
|
5693
|
+
# Corresponds to the JSON property `projectDataProfiles`
|
5694
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile>]
|
5695
|
+
attr_accessor :project_data_profiles
|
5696
|
+
|
5697
|
+
def initialize(**args)
|
5698
|
+
update!(**args)
|
5699
|
+
end
|
5700
|
+
|
5701
|
+
# Update properties of this object
|
5702
|
+
def update!(**args)
|
5703
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5704
|
+
@project_data_profiles = args[:project_data_profiles] if args.key?(:project_data_profiles)
|
5705
|
+
end
|
5706
|
+
end
|
5707
|
+
|
5631
5708
|
# Response message for ListStoredInfoTypes.
|
5632
5709
|
class GooglePrivacyDlpV2ListStoredInfoTypesResponse
|
5633
5710
|
include Google::Apis::Core::Hashable
|
@@ -5654,6 +5731,31 @@ module Google
|
|
5654
5731
|
end
|
5655
5732
|
end
|
5656
5733
|
|
5734
|
+
# List of profiles generated for a given organization or project.
|
5735
|
+
class GooglePrivacyDlpV2ListTableDataProfilesResponse
|
5736
|
+
include Google::Apis::Core::Hashable
|
5737
|
+
|
5738
|
+
# The next page token.
|
5739
|
+
# Corresponds to the JSON property `nextPageToken`
|
5740
|
+
# @return [String]
|
5741
|
+
attr_accessor :next_page_token
|
5742
|
+
|
5743
|
+
# List of data profiles.
|
5744
|
+
# Corresponds to the JSON property `tableDataProfiles`
|
5745
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile>]
|
5746
|
+
attr_accessor :table_data_profiles
|
5747
|
+
|
5748
|
+
def initialize(**args)
|
5749
|
+
update!(**args)
|
5750
|
+
end
|
5751
|
+
|
5752
|
+
# Update properties of this object
|
5753
|
+
def update!(**args)
|
5754
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5755
|
+
@table_data_profiles = args[:table_data_profiles] if args.key?(:table_data_profiles)
|
5756
|
+
end
|
5757
|
+
end
|
5758
|
+
|
5657
5759
|
# Specifies the location of the finding.
|
5658
5760
|
class GooglePrivacyDlpV2Location
|
5659
5761
|
include Google::Apis::Core::Hashable
|
@@ -5988,7 +6090,8 @@ module Google
|
|
5988
6090
|
# type: number, long, string, timestamp. If the bound `Value` type differs from
|
5989
6091
|
# the type of data being transformed, we will first attempt converting the type
|
5990
6092
|
# of the data to be transformed to match the type of the bound before comparing.
|
5991
|
-
# See https://cloud.google.com/
|
6093
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
|
6094
|
+
# to learn more.
|
5992
6095
|
# Corresponds to the JSON property `bucketingConfig`
|
5993
6096
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
|
5994
6097
|
attr_accessor :bucketing_config
|
@@ -6013,8 +6116,8 @@ module Google
|
|
6013
6116
|
# Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64
|
6014
6117
|
# encoded representation of the hashed output (for example,
|
6015
6118
|
# L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and
|
6016
|
-
# integer values can be hashed. See https://cloud.google.com/
|
6017
|
-
# pseudonymization to learn more.
|
6119
|
+
# integer values can be hashed. See https://cloud.google.com/sensitive-data-
|
6120
|
+
# protection/docs/pseudonymization to learn more.
|
6018
6121
|
# Corresponds to the JSON property `cryptoHashConfig`
|
6019
6122
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoHashConfig]
|
6020
6123
|
attr_accessor :crypto_hash_config
|
@@ -6026,17 +6129,17 @@ module Google
|
|
6026
6129
|
# encoded as ASCII. For a given crypto key and context, the same identifier will
|
6027
6130
|
# be replaced with the same surrogate. Identifiers must be at least two
|
6028
6131
|
# characters long. In the case that the identifier is the empty string, it will
|
6029
|
-
# be skipped. See https://cloud.google.com/
|
6030
|
-
# more. Note: We recommend using
|
6031
|
-
# which do not require preserving
|
6032
|
-
# warrant referential integrity.
|
6132
|
+
# be skipped. See https://cloud.google.com/sensitive-data-protection/docs/
|
6133
|
+
# pseudonymization to learn more. Note: We recommend using
|
6134
|
+
# CryptoDeterministicConfig for all use cases which do not require preserving
|
6135
|
+
# the input alphabet space and size, plus warrant referential integrity.
|
6033
6136
|
# Corresponds to the JSON property `cryptoReplaceFfxFpeConfig`
|
6034
6137
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig]
|
6035
6138
|
attr_accessor :crypto_replace_ffx_fpe_config
|
6036
6139
|
|
6037
6140
|
# Shifts dates by random number of days, with option to be consistent for the
|
6038
|
-
# same context. See https://cloud.google.com/
|
6039
|
-
# learn more.
|
6141
|
+
# same context. See https://cloud.google.com/sensitive-data-protection/docs/
|
6142
|
+
# concepts-date-shifting to learn more.
|
6040
6143
|
# Corresponds to the JSON property `dateShiftConfig`
|
6041
6144
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateShiftConfig]
|
6042
6145
|
attr_accessor :date_shift_config
|
@@ -6050,7 +6153,8 @@ module Google
|
|
6050
6153
|
# used on data of type: double, long. If the bound Value type differs from the
|
6051
6154
|
# type of data being transformed, we will first attempt converting the type of
|
6052
6155
|
# the data to be transformed to match the type of the bound before comparing.
|
6053
|
-
# See https://cloud.google.com/
|
6156
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
|
6157
|
+
# to learn more.
|
6054
6158
|
# Corresponds to the JSON property `fixedSizeBucketingConfig`
|
6055
6159
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FixedSizeBucketingConfig]
|
6056
6160
|
attr_accessor :fixed_size_bucketing_config
|
@@ -6193,6 +6297,58 @@ module Google
|
|
6193
6297
|
end
|
6194
6298
|
end
|
6195
6299
|
|
6300
|
+
# An aggregated profile for this project, based on the resources profiled within
|
6301
|
+
# it.
|
6302
|
+
class GooglePrivacyDlpV2ProjectDataProfile
|
6303
|
+
include Google::Apis::Core::Hashable
|
6304
|
+
|
6305
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
6306
|
+
# more risk.
|
6307
|
+
# Corresponds to the JSON property `dataRiskLevel`
|
6308
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
6309
|
+
attr_accessor :data_risk_level
|
6310
|
+
|
6311
|
+
# The resource name of the profile.
|
6312
|
+
# Corresponds to the JSON property `name`
|
6313
|
+
# @return [String]
|
6314
|
+
attr_accessor :name
|
6315
|
+
|
6316
|
+
# The last time the profile was generated.
|
6317
|
+
# Corresponds to the JSON property `profileLastGenerated`
|
6318
|
+
# @return [String]
|
6319
|
+
attr_accessor :profile_last_generated
|
6320
|
+
|
6321
|
+
# Success or errors for the profile generation.
|
6322
|
+
# Corresponds to the JSON property `profileStatus`
|
6323
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
|
6324
|
+
attr_accessor :profile_status
|
6325
|
+
|
6326
|
+
# Project ID that was profiled.
|
6327
|
+
# Corresponds to the JSON property `projectId`
|
6328
|
+
# @return [String]
|
6329
|
+
attr_accessor :project_id
|
6330
|
+
|
6331
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
6332
|
+
# means the data is more sensitive.
|
6333
|
+
# Corresponds to the JSON property `sensitivityScore`
|
6334
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
6335
|
+
attr_accessor :sensitivity_score
|
6336
|
+
|
6337
|
+
def initialize(**args)
|
6338
|
+
update!(**args)
|
6339
|
+
end
|
6340
|
+
|
6341
|
+
# Update properties of this object
|
6342
|
+
def update!(**args)
|
6343
|
+
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
6344
|
+
@name = args[:name] if args.key?(:name)
|
6345
|
+
@profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
|
6346
|
+
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
6347
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
6348
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
6349
|
+
end
|
6350
|
+
end
|
6351
|
+
|
6196
6352
|
# Message for specifying a window around a finding to apply a detection rule.
|
6197
6353
|
class GooglePrivacyDlpV2Proximity
|
6198
6354
|
include Google::Apis::Core::Hashable
|
@@ -6205,8 +6361,8 @@ module Google
|
|
6205
6361
|
# Number of characters before the finding to consider. For tabular data, if you
|
6206
6362
|
# want to modify the likelihood of an entire column of findngs, set this to 1.
|
6207
6363
|
# For more information, see [Hotword example: Set the match likelihood of a
|
6208
|
-
# table column] (https://cloud.google.com/
|
6209
|
-
# likelihood#match-column-values).
|
6364
|
+
# table column] (https://cloud.google.com/sensitive-data-protection/docs/
|
6365
|
+
# creating-custom-infotypes-likelihood#match-column-values).
|
6210
6366
|
# Corresponds to the JSON property `windowBefore`
|
6211
6367
|
# @return [Fixnum]
|
6212
6368
|
attr_accessor :window_before
|
@@ -6361,8 +6517,8 @@ module Google
|
|
6361
6517
|
|
6362
6518
|
# Publish a message into a given Pub/Sub topic when DlpJob has completed. The
|
6363
6519
|
# message contains a single field, `DlpJobName`, which is equal to the finished
|
6364
|
-
# job's [`DlpJob.name`](https://cloud.google.com/
|
6365
|
-
# projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
|
6520
|
+
# job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/
|
6521
|
+
# reference/rest/v2/projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
|
6366
6522
|
class GooglePrivacyDlpV2PublishToPubSub
|
6367
6523
|
include Google::Apis::Core::Hashable
|
6368
6524
|
|
@@ -6966,19 +7122,22 @@ module Google
|
|
6966
7122
|
include Google::Apis::Core::Hashable
|
6967
7123
|
|
6968
7124
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
6969
|
-
# https://cloud.google.com/
|
7125
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
7126
|
+
# learn more.
|
6970
7127
|
# Corresponds to the JSON property `snapshotDeidentifyTemplate`
|
6971
7128
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6972
7129
|
attr_accessor :snapshot_deidentify_template
|
6973
7130
|
|
6974
7131
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
6975
|
-
# https://cloud.google.com/
|
7132
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
7133
|
+
# learn more.
|
6976
7134
|
# Corresponds to the JSON property `snapshotImageRedactTemplate`
|
6977
7135
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6978
7136
|
attr_accessor :snapshot_image_redact_template
|
6979
7137
|
|
6980
7138
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
6981
|
-
# https://cloud.google.com/
|
7139
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
7140
|
+
# learn more.
|
6982
7141
|
# Corresponds to the JSON property `snapshotStructuredDeidentifyTemplate`
|
6983
7142
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
6984
7143
|
attr_accessor :snapshot_structured_deidentify_template
|
@@ -7006,8 +7165,8 @@ module Google
|
|
7006
7165
|
|
7007
7166
|
# The inspectTemplate contains a configuration (set of types of sensitive data
|
7008
7167
|
# to be detected) to be used anywhere you otherwise would normally specify
|
7009
|
-
# InspectConfig. See https://cloud.google.com/
|
7010
|
-
# learn more.
|
7168
|
+
# InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/
|
7169
|
+
# concepts-templates to learn more.
|
7011
7170
|
# Corresponds to the JSON property `snapshotInspectTemplate`
|
7012
7171
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
|
7013
7172
|
attr_accessor :snapshot_inspect_template
|
@@ -7027,8 +7186,8 @@ module Google
|
|
7027
7186
|
class GooglePrivacyDlpV2RequestedRiskAnalysisOptions
|
7028
7187
|
include Google::Apis::Core::Hashable
|
7029
7188
|
|
7030
|
-
# Configuration for a risk analysis job. See https://cloud.google.com/
|
7031
|
-
# concepts-risk-analysis to learn more.
|
7189
|
+
# Configuration for a risk analysis job. See https://cloud.google.com/sensitive-
|
7190
|
+
# data-protection/docs/concepts-risk-analysis to learn more.
|
7032
7191
|
# Corresponds to the JSON property `jobConfig`
|
7033
7192
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig]
|
7034
7193
|
attr_accessor :job_config
|
@@ -7081,8 +7240,8 @@ module Google
|
|
7081
7240
|
end
|
7082
7241
|
end
|
7083
7242
|
|
7084
|
-
# Configuration for a risk analysis job. See https://cloud.google.com/
|
7085
|
-
# concepts-risk-analysis to learn more.
|
7243
|
+
# Configuration for a risk analysis job. See https://cloud.google.com/sensitive-
|
7244
|
+
# data-protection/docs/concepts-risk-analysis to learn more.
|
7086
7245
|
class GooglePrivacyDlpV2RiskAnalysisJobConfig
|
7087
7246
|
include Google::Apis::Core::Hashable
|
7088
7247
|
|
@@ -7355,8 +7514,8 @@ module Google
|
|
7355
7514
|
end
|
7356
7515
|
|
7357
7516
|
# Configuration for stored infoTypes. All fields and subfield are provided by
|
7358
|
-
# the user. For more information, see https://cloud.google.com/
|
7359
|
-
# custom-infotypes.
|
7517
|
+
# the user. For more information, see https://cloud.google.com/sensitive-data-
|
7518
|
+
# protection/docs/creating-custom-infotypes.
|
7360
7519
|
class GooglePrivacyDlpV2StoredInfoTypeConfig
|
7361
7520
|
include Google::Apis::Core::Hashable
|
7362
7521
|
|
@@ -7380,9 +7539,9 @@ module Google
|
|
7380
7539
|
# jennifer". Dictionary words containing a large number of characters that are
|
7381
7540
|
# not letters or digits may result in unexpected findings because such
|
7382
7541
|
# characters are treated as whitespace. The [limits](https://cloud.google.com/
|
7383
|
-
#
|
7384
|
-
# dictionaries that do not fit within these constraints,
|
7385
|
-
# LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
7542
|
+
# sensitive-data-protection/limits) page contains details about the size limits
|
7543
|
+
# of dictionaries. For dictionaries that do not fit within these constraints,
|
7544
|
+
# consider using `LargeCustomDictionaryConfig` in the `StoredInfoType` API.
|
7386
7545
|
# Corresponds to the JSON property `dictionary`
|
7387
7546
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
|
7388
7547
|
attr_accessor :dictionary
|
@@ -7393,10 +7552,11 @@ module Google
|
|
7393
7552
|
attr_accessor :display_name
|
7394
7553
|
|
7395
7554
|
# Configuration for a custom dictionary created from a data source of any size
|
7396
|
-
# up to the maximum size defined in the [limits](https://cloud.google.com/
|
7397
|
-
# limits) page. The artifacts of dictionary creation
|
7398
|
-
# Cloud Storage location. Consider using `
|
7399
|
-
# dictionaries that satisfy the size
|
7555
|
+
# up to the maximum size defined in the [limits](https://cloud.google.com/
|
7556
|
+
# sensitive-data-protection/limits) page. The artifacts of dictionary creation
|
7557
|
+
# are stored in the specified Cloud Storage location. Consider using `
|
7558
|
+
# CustomInfoType.Dictionary` for smaller dictionaries that satisfy the size
|
7559
|
+
# requirements.
|
7400
7560
|
# Corresponds to the JSON property `largeCustomDictionary`
|
7401
7561
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
|
7402
7562
|
attr_accessor :large_custom_dictionary
|
@@ -7445,8 +7605,8 @@ module Google
|
|
7445
7605
|
include Google::Apis::Core::Hashable
|
7446
7606
|
|
7447
7607
|
# Configuration for stored infoTypes. All fields and subfield are provided by
|
7448
|
-
# the user. For more information, see https://cloud.google.com/
|
7449
|
-
# custom-infotypes.
|
7608
|
+
# the user. For more information, see https://cloud.google.com/sensitive-data-
|
7609
|
+
# protection/docs/creating-custom-infotypes.
|
7450
7610
|
# Corresponds to the JSON property `config`
|
7451
7611
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
|
7452
7612
|
attr_accessor :config
|
@@ -7558,12 +7718,13 @@ module Google
|
|
7558
7718
|
end
|
7559
7719
|
|
7560
7720
|
# Message for detecting output from deidentification transformations such as [`
|
7561
|
-
# CryptoReplaceFfxFpeConfig`](https://cloud.google.com/
|
7562
|
-
# v2/organizations.deidentifyTemplates#
|
7563
|
-
# of transformations are those that
|
7564
|
-
# a "surrogate" as output. This
|
7565
|
-
# the transformation such as `
|
7566
|
-
# support the use of `
|
7721
|
+
# CryptoReplaceFfxFpeConfig`](https://cloud.google.com/sensitive-data-protection/
|
7722
|
+
# docs/reference/rest/v2/organizations.deidentifyTemplates#
|
7723
|
+
# cryptoreplaceffxfpeconfig). These types of transformations are those that
|
7724
|
+
# perform pseudonymization, thereby producing a "surrogate" as output. This
|
7725
|
+
# should be used in conjunction with a field on the transformation such as `
|
7726
|
+
# surrogate_info_type`. This CustomInfoType does not support the use of `
|
7727
|
+
# detection_rules`.
|
7567
7728
|
class GooglePrivacyDlpV2SurrogateType
|
7568
7729
|
include Google::Apis::Core::Hashable
|
7569
7730
|
|
@@ -7577,8 +7738,8 @@ module Google
|
|
7577
7738
|
end
|
7578
7739
|
|
7579
7740
|
# Structured content to inspect. Up to 50,000 `Value`s per request allowed. See
|
7580
|
-
# https://cloud.google.com/
|
7581
|
-
# inspecting_a_table to learn more.
|
7741
|
+
# https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-
|
7742
|
+
# text#inspecting_a_table to learn more.
|
7582
7743
|
class GooglePrivacyDlpV2Table
|
7583
7744
|
include Google::Apis::Core::Hashable
|
7584
7745
|
|
@@ -7628,18 +7789,18 @@ module Google
|
|
7628
7789
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType]
|
7629
7790
|
attr_accessor :data_source_type
|
7630
7791
|
|
7631
|
-
#
|
7792
|
+
# If the resource is BigQuery, the dataset ID.
|
7632
7793
|
# Corresponds to the JSON property `datasetId`
|
7633
7794
|
# @return [String]
|
7634
7795
|
attr_accessor :dataset_id
|
7635
7796
|
|
7636
|
-
#
|
7637
|
-
# google.com/bigquery/docs/locations for supported locations.
|
7797
|
+
# If supported, the location where the dataset's data is stored. See https://
|
7798
|
+
# cloud.google.com/bigquery/docs/locations for supported locations.
|
7638
7799
|
# Corresponds to the JSON property `datasetLocation`
|
7639
7800
|
# @return [String]
|
7640
7801
|
attr_accessor :dataset_location
|
7641
7802
|
|
7642
|
-
# The Google Cloud project ID that owns the
|
7803
|
+
# The Google Cloud project ID that owns the resource.
|
7643
7804
|
# Corresponds to the JSON property `datasetProjectId`
|
7644
7805
|
# @return [String]
|
7645
7806
|
attr_accessor :dataset_project_id
|
@@ -7659,8 +7820,8 @@ module Google
|
|
7659
7820
|
# @return [Fixnum]
|
7660
7821
|
attr_accessor :failed_column_count
|
7661
7822
|
|
7662
|
-
# The resource name of the
|
7663
|
-
# resource_names#full_resource_name
|
7823
|
+
# The resource name of the resource profiled. https://cloud.google.com/apis/
|
7824
|
+
# design/resource_names#full_resource_name
|
7664
7825
|
# Corresponds to the JSON property `fullResource`
|
7665
7826
|
# @return [String]
|
7666
7827
|
attr_accessor :full_resource
|
@@ -7732,7 +7893,7 @@ module Google
|
|
7732
7893
|
# @return [String]
|
7733
7894
|
attr_accessor :state
|
7734
7895
|
|
7735
|
-
#
|
7896
|
+
# If the resource is BigQuery, the BigQuery table ID.
|
7736
7897
|
# Corresponds to the JSON property `tableId`
|
7737
7898
|
# @return [String]
|
7738
7899
|
attr_accessor :table_id
|
@@ -8389,7 +8550,8 @@ module Google
|
|
8389
8550
|
include Google::Apis::Core::Hashable
|
8390
8551
|
|
8391
8552
|
# DeidentifyTemplates contains instructions on how to de-identify content. See
|
8392
|
-
# https://cloud.google.com/
|
8553
|
+
# https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to
|
8554
|
+
# learn more.
|
8393
8555
|
# Corresponds to the JSON property `deidentifyTemplate`
|
8394
8556
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
|
8395
8557
|
attr_accessor :deidentify_template
|
@@ -8417,7 +8579,8 @@ module Google
|
|
8417
8579
|
# Configuration for discovery to scan resources for profile generation. Only one
|
8418
8580
|
# discovery configuration may exist per organization, folder, or project. The
|
8419
8581
|
# generated data profiles are retained according to the [data retention policy] (
|
8420
|
-
# https://cloud.google.com/
|
8582
|
+
# https://cloud.google.com/sensitive-data-protection/docs/data-profiles#
|
8583
|
+
# retention).
|
8421
8584
|
# Corresponds to the JSON property `discoveryConfig`
|
8422
8585
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryConfig]
|
8423
8586
|
attr_accessor :discovery_config
|
@@ -8444,8 +8607,8 @@ module Google
|
|
8444
8607
|
|
8445
8608
|
# The inspectTemplate contains a configuration (set of types of sensitive data
|
8446
8609
|
# to be detected) to be used anywhere you otherwise would normally specify
|
8447
|
-
# InspectConfig. See https://cloud.google.com/
|
8448
|
-
# learn more.
|
8610
|
+
# InspectConfig. See https://cloud.google.com/sensitive-data-protection/docs/
|
8611
|
+
# concepts-templates to learn more.
|
8449
8612
|
# Corresponds to the JSON property `inspectTemplate`
|
8450
8613
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
|
8451
8614
|
attr_accessor :inspect_template
|
@@ -8471,7 +8634,8 @@ module Google
|
|
8471
8634
|
include Google::Apis::Core::Hashable
|
8472
8635
|
|
8473
8636
|
# Contains a configuration to make dlp api calls on a repeating basis. See https:
|
8474
|
-
# //cloud.google.com/
|
8637
|
+
# //cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to
|
8638
|
+
# learn more.
|
8475
8639
|
# Corresponds to the JSON property `jobTrigger`
|
8476
8640
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
|
8477
8641
|
attr_accessor :job_trigger
|
@@ -8497,8 +8661,8 @@ module Google
|
|
8497
8661
|
include Google::Apis::Core::Hashable
|
8498
8662
|
|
8499
8663
|
# Configuration for stored infoTypes. All fields and subfield are provided by
|
8500
|
-
# the user. For more information, see https://cloud.google.com/
|
8501
|
-
# custom-infotypes.
|
8664
|
+
# the user. For more information, see https://cloud.google.com/sensitive-data-
|
8665
|
+
# protection/docs/creating-custom-infotypes.
|
8502
8666
|
# Corresponds to the JSON property `config`
|
8503
8667
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
|
8504
8668
|
attr_accessor :config
|