google-apis-dlp_v2 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dlp_v2/classes.rb +571 -0
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +265 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a2cda6185edc27ec3058865c0218c10502aa424ef013218a99654baeab98cc9
|
4
|
+
data.tar.gz: ec40e92757e5ea73f2fec650079b2345c85b1cf15db06888ea72684ff0f1ae66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7982f2998ec6be91902c527e203b77644de1b1886d0d6cf0815e23a98326a9d3bc6c544c017ae33624702d2068555ff512cb31834e46cf98e708cc9d1623c23b
|
7
|
+
data.tar.gz: 44576fc54a29a3ecdc57150a38d92f16fc242c1d7ca00e97f951eb3b9b5d00cedcac63362675b04c531b33a02b25e061960f15d53e7e968ae7096c53ebe8668a
|
data/CHANGELOG.md
CHANGED
@@ -1552,6 +1552,206 @@ module Google
|
|
1552
1552
|
end
|
1553
1553
|
end
|
1554
1554
|
|
1555
|
+
# A task to execute when a data profile has been generated.
|
1556
|
+
class GooglePrivacyDlpV2DataProfileAction
|
1557
|
+
include Google::Apis::Core::Hashable
|
1558
|
+
|
1559
|
+
# If set, the detailed data profiles will be persisted to the location of your
|
1560
|
+
# choice whenever updated.
|
1561
|
+
# Corresponds to the JSON property `exportData`
|
1562
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Export]
|
1563
|
+
attr_accessor :export_data
|
1564
|
+
|
1565
|
+
# Send a Pub/Sub message into the given Pub/Sub topic to connect other systems
|
1566
|
+
# to data profile generation. The message payload data will be the byte
|
1567
|
+
# serialization of `DataProfilePubSubMessage`.
|
1568
|
+
# Corresponds to the JSON property `pubSubNotification`
|
1569
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification]
|
1570
|
+
attr_accessor :pub_sub_notification
|
1571
|
+
|
1572
|
+
def initialize(**args)
|
1573
|
+
update!(**args)
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
# Update properties of this object
|
1577
|
+
def update!(**args)
|
1578
|
+
@export_data = args[:export_data] if args.key?(:export_data)
|
1579
|
+
@pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification)
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
# Snapshot of the configurations used to generate the profile.
|
1584
|
+
class GooglePrivacyDlpV2DataProfileConfigSnapshot
|
1585
|
+
include Google::Apis::Core::Hashable
|
1586
|
+
|
1587
|
+
# Configuration for setting up a job to scan resources for profile generation.
|
1588
|
+
# Only one data profile configuration may exist per organization, folder, or
|
1589
|
+
# project. The generated data profiles are retained according to the [data
|
1590
|
+
# retention policy] (https://cloud.google.com/dlp/docs/data-profiles#retention).
|
1591
|
+
# Corresponds to the JSON property `dataProfileJob`
|
1592
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig]
|
1593
|
+
attr_accessor :data_profile_job
|
1594
|
+
|
1595
|
+
# Configuration description of the scanning process. When used with
|
1596
|
+
# redactContent only info_types and min_likelihood are currently used.
|
1597
|
+
# Corresponds to the JSON property `inspectConfig`
|
1598
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
|
1599
|
+
attr_accessor :inspect_config
|
1600
|
+
|
1601
|
+
def initialize(**args)
|
1602
|
+
update!(**args)
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
# Update properties of this object
|
1606
|
+
def update!(**args)
|
1607
|
+
@data_profile_job = args[:data_profile_job] if args.key?(:data_profile_job)
|
1608
|
+
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# Configuration for setting up a job to scan resources for profile generation.
|
1613
|
+
# Only one data profile configuration may exist per organization, folder, or
|
1614
|
+
# project. The generated data profiles are retained according to the [data
|
1615
|
+
# retention policy] (https://cloud.google.com/dlp/docs/data-profiles#retention).
|
1616
|
+
class GooglePrivacyDlpV2DataProfileJobConfig
|
1617
|
+
include Google::Apis::Core::Hashable
|
1618
|
+
|
1619
|
+
# Actions to execute at the completion of the job.
|
1620
|
+
# Corresponds to the JSON property `dataProfileActions`
|
1621
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction>]
|
1622
|
+
attr_accessor :data_profile_actions
|
1623
|
+
|
1624
|
+
# Detection logic for profile generation. Not all template features are used by
|
1625
|
+
# profiles. FindingLimits, include_quote and exclude_info_types have no impact
|
1626
|
+
# on data profiling. Multiple templates may be provided if there is data in
|
1627
|
+
# multiple regions. At most one template must be specified per-region (including
|
1628
|
+
# "global"). Each region is scanned using the applicable template. If no region-
|
1629
|
+
# specific template is specified, but a "global" template is specified, it will
|
1630
|
+
# be copied to that region and used instead. If no global or region-specific
|
1631
|
+
# template is provided for a region with data, that region's data will not be
|
1632
|
+
# scanned. For more information, see https://cloud.google.com/dlp/docs/data-
|
1633
|
+
# profiles#data_residency.
|
1634
|
+
# Corresponds to the JSON property `inspectTemplates`
|
1635
|
+
# @return [Array<String>]
|
1636
|
+
attr_accessor :inspect_templates
|
1637
|
+
|
1638
|
+
# The data that will be profiled.
|
1639
|
+
# Corresponds to the JSON property `location`
|
1640
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation]
|
1641
|
+
attr_accessor :location
|
1642
|
+
|
1643
|
+
# The project that will run the scan. The DLP service account that exists within
|
1644
|
+
# this project must have access to all resources that are profiled, and the
|
1645
|
+
# Cloud DLP API must be enabled.
|
1646
|
+
# Corresponds to the JSON property `projectId`
|
1647
|
+
# @return [String]
|
1648
|
+
attr_accessor :project_id
|
1649
|
+
|
1650
|
+
def initialize(**args)
|
1651
|
+
update!(**args)
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
# Update properties of this object
|
1655
|
+
def update!(**args)
|
1656
|
+
@data_profile_actions = args[:data_profile_actions] if args.key?(:data_profile_actions)
|
1657
|
+
@inspect_templates = args[:inspect_templates] if args.key?(:inspect_templates)
|
1658
|
+
@location = args[:location] if args.key?(:location)
|
1659
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1660
|
+
end
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# The data that will be profiled.
|
1664
|
+
class GooglePrivacyDlpV2DataProfileLocation
|
1665
|
+
include Google::Apis::Core::Hashable
|
1666
|
+
|
1667
|
+
# The ID of the Folder within an organization to scan.
|
1668
|
+
# Corresponds to the JSON property `folderId`
|
1669
|
+
# @return [Fixnum]
|
1670
|
+
attr_accessor :folder_id
|
1671
|
+
|
1672
|
+
# The ID of an organization to scan.
|
1673
|
+
# Corresponds to the JSON property `organizationId`
|
1674
|
+
# @return [Fixnum]
|
1675
|
+
attr_accessor :organization_id
|
1676
|
+
|
1677
|
+
def initialize(**args)
|
1678
|
+
update!(**args)
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# Update properties of this object
|
1682
|
+
def update!(**args)
|
1683
|
+
@folder_id = args[:folder_id] if args.key?(:folder_id)
|
1684
|
+
@organization_id = args[:organization_id] if args.key?(:organization_id)
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
|
1688
|
+
# A condition for determining whether a PubSub should be triggered.
|
1689
|
+
class GooglePrivacyDlpV2DataProfilePubSubCondition
|
1690
|
+
include Google::Apis::Core::Hashable
|
1691
|
+
|
1692
|
+
# An expression, consisting of an operator and conditions.
|
1693
|
+
# Corresponds to the JSON property `expressions`
|
1694
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions]
|
1695
|
+
attr_accessor :expressions
|
1696
|
+
|
1697
|
+
def initialize(**args)
|
1698
|
+
update!(**args)
|
1699
|
+
end
|
1700
|
+
|
1701
|
+
# Update properties of this object
|
1702
|
+
def update!(**args)
|
1703
|
+
@expressions = args[:expressions] if args.key?(:expressions)
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
# The message that will be published to a Pub/Sub topic. To receive a message of
|
1708
|
+
# protocol buffer schema type, convert the message data to an object of this
|
1709
|
+
# proto class. https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-
|
1710
|
+
# proto-messages
|
1711
|
+
class GooglePrivacyDlpV2DataProfilePubSubMessage
|
1712
|
+
include Google::Apis::Core::Hashable
|
1713
|
+
|
1714
|
+
# The event that caused the Pub/Sub message to be sent.
|
1715
|
+
# Corresponds to the JSON property `event`
|
1716
|
+
# @return [String]
|
1717
|
+
attr_accessor :event
|
1718
|
+
|
1719
|
+
# The profile for a scanned table.
|
1720
|
+
# Corresponds to the JSON property `profile`
|
1721
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
|
1722
|
+
attr_accessor :profile
|
1723
|
+
|
1724
|
+
def initialize(**args)
|
1725
|
+
update!(**args)
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
# Update properties of this object
|
1729
|
+
def update!(**args)
|
1730
|
+
@event = args[:event] if args.key?(:event)
|
1731
|
+
@profile = args[:profile] if args.key?(:profile)
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
1736
|
+
# more risky.
|
1737
|
+
class GooglePrivacyDlpV2DataRiskLevel
|
1738
|
+
include Google::Apis::Core::Hashable
|
1739
|
+
|
1740
|
+
# The score applied to the resource.
|
1741
|
+
# Corresponds to the JSON property `score`
|
1742
|
+
# @return [String]
|
1743
|
+
attr_accessor :score
|
1744
|
+
|
1745
|
+
def initialize(**args)
|
1746
|
+
update!(**args)
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# Update properties of this object
|
1750
|
+
def update!(**args)
|
1751
|
+
@score = args[:score] if args.key?(:score)
|
1752
|
+
end
|
1753
|
+
end
|
1754
|
+
|
1555
1755
|
# Record key for a finding in Cloud Datastore.
|
1556
1756
|
class GooglePrivacyDlpV2DatastoreKey
|
1557
1757
|
include Google::Apis::Core::Hashable
|
@@ -2300,6 +2500,28 @@ module Google
|
|
2300
2500
|
end
|
2301
2501
|
end
|
2302
2502
|
|
2503
|
+
# If set, the detailed data profiles will be persisted to the location of your
|
2504
|
+
# choice whenever updated.
|
2505
|
+
class GooglePrivacyDlpV2Export
|
2506
|
+
include Google::Apis::Core::Hashable
|
2507
|
+
|
2508
|
+
# Message defining the location of a BigQuery table. A table is uniquely
|
2509
|
+
# identified by its project_id, dataset_id, and table_name. Within a query a
|
2510
|
+
# table is often referenced with a string in the format of: `:.` or `..`.
|
2511
|
+
# Corresponds to the JSON property `profileTable`
|
2512
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
|
2513
|
+
attr_accessor :profile_table
|
2514
|
+
|
2515
|
+
def initialize(**args)
|
2516
|
+
update!(**args)
|
2517
|
+
end
|
2518
|
+
|
2519
|
+
# Update properties of this object
|
2520
|
+
def update!(**args)
|
2521
|
+
@profile_table = args[:profile_table] if args.key?(:profile_table)
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2303
2525
|
# An expression, consisting or an operator and conditions.
|
2304
2526
|
class GooglePrivacyDlpV2Expressions
|
2305
2527
|
include Google::Apis::Core::Hashable
|
@@ -3057,6 +3279,25 @@ module Google
|
|
3057
3279
|
end
|
3058
3280
|
end
|
3059
3281
|
|
3282
|
+
# The infoType details for this column.
|
3283
|
+
class GooglePrivacyDlpV2InfoTypeSummary
|
3284
|
+
include Google::Apis::Core::Hashable
|
3285
|
+
|
3286
|
+
# Type of information detected by the API.
|
3287
|
+
# Corresponds to the JSON property `infoType`
|
3288
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
3289
|
+
attr_accessor :info_type
|
3290
|
+
|
3291
|
+
def initialize(**args)
|
3292
|
+
update!(**args)
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# Update properties of this object
|
3296
|
+
def update!(**args)
|
3297
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
3298
|
+
end
|
3299
|
+
end
|
3300
|
+
|
3060
3301
|
# A transformation to apply to text that is identified as a specific info_type.
|
3061
3302
|
class GooglePrivacyDlpV2InfoTypeTransformation
|
3062
3303
|
include Google::Apis::Core::Hashable
|
@@ -4410,6 +4651,25 @@ module Google
|
|
4410
4651
|
end
|
4411
4652
|
end
|
4412
4653
|
|
4654
|
+
# Infotype details for other infoTypes found within a column.
|
4655
|
+
class GooglePrivacyDlpV2OtherInfoTypeSummary
|
4656
|
+
include Google::Apis::Core::Hashable
|
4657
|
+
|
4658
|
+
# Type of information detected by the API.
|
4659
|
+
# Corresponds to the JSON property `infoType`
|
4660
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
4661
|
+
attr_accessor :info_type
|
4662
|
+
|
4663
|
+
def initialize(**args)
|
4664
|
+
update!(**args)
|
4665
|
+
end
|
4666
|
+
|
4667
|
+
# Update properties of this object
|
4668
|
+
def update!(**args)
|
4669
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
4670
|
+
end
|
4671
|
+
end
|
4672
|
+
|
4413
4673
|
# Cloud repository for storing output.
|
4414
4674
|
class GooglePrivacyDlpV2OutputStorageConfig
|
4415
4675
|
include Google::Apis::Core::Hashable
|
@@ -4692,6 +4952,36 @@ module Google
|
|
4692
4952
|
end
|
4693
4953
|
end
|
4694
4954
|
|
4955
|
+
#
|
4956
|
+
class GooglePrivacyDlpV2ProfileStatus
|
4957
|
+
include Google::Apis::Core::Hashable
|
4958
|
+
|
4959
|
+
# The `Status` type defines a logical error model that is suitable for different
|
4960
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4961
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
4962
|
+
# data: error code, error message, and error details. You can find out more
|
4963
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
4964
|
+
# //cloud.google.com/apis/design/errors).
|
4965
|
+
# Corresponds to the JSON property `status`
|
4966
|
+
# @return [Google::Apis::DlpV2::GoogleRpcStatus]
|
4967
|
+
attr_accessor :status
|
4968
|
+
|
4969
|
+
# Time when the profile generation status was updated
|
4970
|
+
# Corresponds to the JSON property `timestamp`
|
4971
|
+
# @return [String]
|
4972
|
+
attr_accessor :timestamp
|
4973
|
+
|
4974
|
+
def initialize(**args)
|
4975
|
+
update!(**args)
|
4976
|
+
end
|
4977
|
+
|
4978
|
+
# Update properties of this object
|
4979
|
+
def update!(**args)
|
4980
|
+
@status = args[:status] if args.key?(:status)
|
4981
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
4982
|
+
end
|
4983
|
+
end
|
4984
|
+
|
4695
4985
|
# Message for specifying a window around a finding to apply a detection rule.
|
4696
4986
|
class GooglePrivacyDlpV2Proximity
|
4697
4987
|
include Google::Apis::Core::Hashable
|
@@ -4717,6 +5007,99 @@ module Google
|
|
4717
5007
|
end
|
4718
5008
|
end
|
4719
5009
|
|
5010
|
+
# A condition consisting of a value.
|
5011
|
+
class GooglePrivacyDlpV2PubSubCondition
|
5012
|
+
include Google::Apis::Core::Hashable
|
5013
|
+
|
5014
|
+
# The minimum data risk score that triggers the condition.
|
5015
|
+
# Corresponds to the JSON property `minimumRiskScore`
|
5016
|
+
# @return [String]
|
5017
|
+
attr_accessor :minimum_risk_score
|
5018
|
+
|
5019
|
+
# The minimum sensitivity level that triggers the condition.
|
5020
|
+
# Corresponds to the JSON property `minimumSensitivityScore`
|
5021
|
+
# @return [String]
|
5022
|
+
attr_accessor :minimum_sensitivity_score
|
5023
|
+
|
5024
|
+
def initialize(**args)
|
5025
|
+
update!(**args)
|
5026
|
+
end
|
5027
|
+
|
5028
|
+
# Update properties of this object
|
5029
|
+
def update!(**args)
|
5030
|
+
@minimum_risk_score = args[:minimum_risk_score] if args.key?(:minimum_risk_score)
|
5031
|
+
@minimum_sensitivity_score = args[:minimum_sensitivity_score] if args.key?(:minimum_sensitivity_score)
|
5032
|
+
end
|
5033
|
+
end
|
5034
|
+
|
5035
|
+
# An expression, consisting of an operator and conditions.
|
5036
|
+
class GooglePrivacyDlpV2PubSubExpressions
|
5037
|
+
include Google::Apis::Core::Hashable
|
5038
|
+
|
5039
|
+
# Conditions to apply to the expression.
|
5040
|
+
# Corresponds to the JSON property `conditions`
|
5041
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition>]
|
5042
|
+
attr_accessor :conditions
|
5043
|
+
|
5044
|
+
# The operator to apply to the collection of conditions.
|
5045
|
+
# Corresponds to the JSON property `logicalOperator`
|
5046
|
+
# @return [String]
|
5047
|
+
attr_accessor :logical_operator
|
5048
|
+
|
5049
|
+
def initialize(**args)
|
5050
|
+
update!(**args)
|
5051
|
+
end
|
5052
|
+
|
5053
|
+
# Update properties of this object
|
5054
|
+
def update!(**args)
|
5055
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
5056
|
+
@logical_operator = args[:logical_operator] if args.key?(:logical_operator)
|
5057
|
+
end
|
5058
|
+
end
|
5059
|
+
|
5060
|
+
# Send a Pub/Sub message into the given Pub/Sub topic to connect other systems
|
5061
|
+
# to data profile generation. The message payload data will be the byte
|
5062
|
+
# serialization of `DataProfilePubSubMessage`.
|
5063
|
+
class GooglePrivacyDlpV2PubSubNotification
|
5064
|
+
include Google::Apis::Core::Hashable
|
5065
|
+
|
5066
|
+
# How much data to include in the Pub/Sub message. If the user wishes to limit
|
5067
|
+
# the size of the message, they can use resource_name and fetch the profile
|
5068
|
+
# fields they wish to. Per table profile (not per column).
|
5069
|
+
# Corresponds to the JSON property `detailOfMessage`
|
5070
|
+
# @return [String]
|
5071
|
+
attr_accessor :detail_of_message
|
5072
|
+
|
5073
|
+
# The type of event that triggers a Pub/Sub. At most one `PubSubNotification`
|
5074
|
+
# per EventType is permitted.
|
5075
|
+
# Corresponds to the JSON property `event`
|
5076
|
+
# @return [String]
|
5077
|
+
attr_accessor :event
|
5078
|
+
|
5079
|
+
# A condition for determining whether a PubSub should be triggered.
|
5080
|
+
# Corresponds to the JSON property `pubsubCondition`
|
5081
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition]
|
5082
|
+
attr_accessor :pubsub_condition
|
5083
|
+
|
5084
|
+
# Cloud Pub/Sub topic to send notifications to. Format is projects/`project`/
|
5085
|
+
# topics/`topic`.
|
5086
|
+
# Corresponds to the JSON property `topic`
|
5087
|
+
# @return [String]
|
5088
|
+
attr_accessor :topic
|
5089
|
+
|
5090
|
+
def initialize(**args)
|
5091
|
+
update!(**args)
|
5092
|
+
end
|
5093
|
+
|
5094
|
+
# Update properties of this object
|
5095
|
+
def update!(**args)
|
5096
|
+
@detail_of_message = args[:detail_of_message] if args.key?(:detail_of_message)
|
5097
|
+
@event = args[:event] if args.key?(:event)
|
5098
|
+
@pubsub_condition = args[:pubsub_condition] if args.key?(:pubsub_condition)
|
5099
|
+
@topic = args[:topic] if args.key?(:topic)
|
5100
|
+
end
|
5101
|
+
end
|
5102
|
+
|
4720
5103
|
# Publish findings of a DlpJob to Data Catalog. Labels summarizing the results
|
4721
5104
|
# of the DlpJob will be applied to the entry for the resource scanned in Data
|
4722
5105
|
# Catalog. Any labels previously written by another DlpJob will be deleted.
|
@@ -5512,6 +5895,26 @@ module Google
|
|
5512
5895
|
end
|
5513
5896
|
end
|
5514
5897
|
|
5898
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
5899
|
+
# more sensitive.
|
5900
|
+
class GooglePrivacyDlpV2SensitivityScore
|
5901
|
+
include Google::Apis::Core::Hashable
|
5902
|
+
|
5903
|
+
# The score applied to the resource.
|
5904
|
+
# Corresponds to the JSON property `score`
|
5905
|
+
# @return [String]
|
5906
|
+
attr_accessor :score
|
5907
|
+
|
5908
|
+
def initialize(**args)
|
5909
|
+
update!(**args)
|
5910
|
+
end
|
5911
|
+
|
5912
|
+
# Update properties of this object
|
5913
|
+
def update!(**args)
|
5914
|
+
@score = args[:score] if args.key?(:score)
|
5915
|
+
end
|
5916
|
+
end
|
5917
|
+
|
5515
5918
|
# An auxiliary table containing statistical information on the relative
|
5516
5919
|
# frequency of different quasi-identifiers values. It has one or several quasi-
|
5517
5920
|
# identifiers columns, and one column that indicates the relative frequency of
|
@@ -5896,6 +6299,174 @@ module Google
|
|
5896
6299
|
end
|
5897
6300
|
end
|
5898
6301
|
|
6302
|
+
# The profile for a scanned table.
|
6303
|
+
class GooglePrivacyDlpV2TableDataProfile
|
6304
|
+
include Google::Apis::Core::Hashable
|
6305
|
+
|
6306
|
+
# Snapshot of the configurations used to generate the profile.
|
6307
|
+
# Corresponds to the JSON property `configSnapshot`
|
6308
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot]
|
6309
|
+
attr_accessor :config_snapshot
|
6310
|
+
|
6311
|
+
# The time at which the table was created.
|
6312
|
+
# Corresponds to the JSON property `createTime`
|
6313
|
+
# @return [String]
|
6314
|
+
attr_accessor :create_time
|
6315
|
+
|
6316
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
6317
|
+
# more risky.
|
6318
|
+
# Corresponds to the JSON property `dataRiskLevel`
|
6319
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
6320
|
+
attr_accessor :data_risk_level
|
6321
|
+
|
6322
|
+
# The BigQuery dataset ID.
|
6323
|
+
# Corresponds to the JSON property `datasetId`
|
6324
|
+
# @return [String]
|
6325
|
+
attr_accessor :dataset_id
|
6326
|
+
|
6327
|
+
# The BigQuery location where the dataset's data is stored. See https://cloud.
|
6328
|
+
# google.com/bigquery/docs/locations for supported locations.
|
6329
|
+
# Corresponds to the JSON property `datasetLocation`
|
6330
|
+
# @return [String]
|
6331
|
+
attr_accessor :dataset_location
|
6332
|
+
|
6333
|
+
# The GCP project ID that owns the BigQuery dataset.
|
6334
|
+
# Corresponds to the JSON property `datasetProjectId`
|
6335
|
+
# @return [String]
|
6336
|
+
attr_accessor :dataset_project_id
|
6337
|
+
|
6338
|
+
# How the table is encrypted.
|
6339
|
+
# Corresponds to the JSON property `encryptionStatus`
|
6340
|
+
# @return [String]
|
6341
|
+
attr_accessor :encryption_status
|
6342
|
+
|
6343
|
+
# Optional. The time when this table expires.
|
6344
|
+
# Corresponds to the JSON property `expirationTime`
|
6345
|
+
# @return [String]
|
6346
|
+
attr_accessor :expiration_time
|
6347
|
+
|
6348
|
+
# The number of columns skipped in the table because of an error.
|
6349
|
+
# Corresponds to the JSON property `failedColumnCount`
|
6350
|
+
# @return [Fixnum]
|
6351
|
+
attr_accessor :failed_column_count
|
6352
|
+
|
6353
|
+
# The resource name of the table. https://cloud.google.com/apis/design/
|
6354
|
+
# resource_names#full_resource_name
|
6355
|
+
# Corresponds to the JSON property `fullResource`
|
6356
|
+
# @return [String]
|
6357
|
+
attr_accessor :full_resource
|
6358
|
+
|
6359
|
+
# The time when this table was last modified
|
6360
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
6361
|
+
# @return [String]
|
6362
|
+
attr_accessor :last_modified_time
|
6363
|
+
|
6364
|
+
# The name of the profile.
|
6365
|
+
# Corresponds to the JSON property `name`
|
6366
|
+
# @return [String]
|
6367
|
+
attr_accessor :name
|
6368
|
+
|
6369
|
+
# Other infoTypes found in this table's data.
|
6370
|
+
# Corresponds to the JSON property `otherInfoTypes`
|
6371
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary>]
|
6372
|
+
attr_accessor :other_info_types
|
6373
|
+
|
6374
|
+
# The infoTypes predicted from this table's data.
|
6375
|
+
# Corresponds to the JSON property `predictedInfoTypes`
|
6376
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary>]
|
6377
|
+
attr_accessor :predicted_info_types
|
6378
|
+
|
6379
|
+
# The last time the profile was generated.
|
6380
|
+
# Corresponds to the JSON property `profileLastGenerated`
|
6381
|
+
# @return [String]
|
6382
|
+
attr_accessor :profile_last_generated
|
6383
|
+
|
6384
|
+
# Success or error status from the most recent profile generation attempt. May
|
6385
|
+
# be empty if the profile is still being generated.
|
6386
|
+
# Corresponds to the JSON property `profileStatus`
|
6387
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
|
6388
|
+
attr_accessor :profile_status
|
6389
|
+
|
6390
|
+
# The resource name to the project data profile for this table.
|
6391
|
+
# Corresponds to the JSON property `projectDataProfile`
|
6392
|
+
# @return [String]
|
6393
|
+
attr_accessor :project_data_profile
|
6394
|
+
|
6395
|
+
# The labels applied to the resource at the time the profile was generated.
|
6396
|
+
# Corresponds to the JSON property `resourceLabels`
|
6397
|
+
# @return [Hash<String,String>]
|
6398
|
+
attr_accessor :resource_labels
|
6399
|
+
|
6400
|
+
# How broadly a resource has been shared.
|
6401
|
+
# Corresponds to the JSON property `resourceVisibility`
|
6402
|
+
# @return [String]
|
6403
|
+
attr_accessor :resource_visibility
|
6404
|
+
|
6405
|
+
# Number of rows in the table when the profile was generated.
|
6406
|
+
# Corresponds to the JSON property `rowCount`
|
6407
|
+
# @return [Fixnum]
|
6408
|
+
attr_accessor :row_count
|
6409
|
+
|
6410
|
+
# The number of columns profiled in the table.
|
6411
|
+
# Corresponds to the JSON property `scannedColumnCount`
|
6412
|
+
# @return [Fixnum]
|
6413
|
+
attr_accessor :scanned_column_count
|
6414
|
+
|
6415
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
6416
|
+
# more sensitive.
|
6417
|
+
# Corresponds to the JSON property `sensitivityScore`
|
6418
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
6419
|
+
attr_accessor :sensitivity_score
|
6420
|
+
|
6421
|
+
# State of a profile.
|
6422
|
+
# Corresponds to the JSON property `state`
|
6423
|
+
# @return [String]
|
6424
|
+
attr_accessor :state
|
6425
|
+
|
6426
|
+
# The BigQuery table ID.
|
6427
|
+
# Corresponds to the JSON property `tableId`
|
6428
|
+
# @return [String]
|
6429
|
+
attr_accessor :table_id
|
6430
|
+
|
6431
|
+
# The size of the table when the profile was generated.
|
6432
|
+
# Corresponds to the JSON property `tableSizeBytes`
|
6433
|
+
# @return [Fixnum]
|
6434
|
+
attr_accessor :table_size_bytes
|
6435
|
+
|
6436
|
+
def initialize(**args)
|
6437
|
+
update!(**args)
|
6438
|
+
end
|
6439
|
+
|
6440
|
+
# Update properties of this object
|
6441
|
+
def update!(**args)
|
6442
|
+
@config_snapshot = args[:config_snapshot] if args.key?(:config_snapshot)
|
6443
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6444
|
+
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
6445
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
6446
|
+
@dataset_location = args[:dataset_location] if args.key?(:dataset_location)
|
6447
|
+
@dataset_project_id = args[:dataset_project_id] if args.key?(:dataset_project_id)
|
6448
|
+
@encryption_status = args[:encryption_status] if args.key?(:encryption_status)
|
6449
|
+
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
6450
|
+
@failed_column_count = args[:failed_column_count] if args.key?(:failed_column_count)
|
6451
|
+
@full_resource = args[:full_resource] if args.key?(:full_resource)
|
6452
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
6453
|
+
@name = args[:name] if args.key?(:name)
|
6454
|
+
@other_info_types = args[:other_info_types] if args.key?(:other_info_types)
|
6455
|
+
@predicted_info_types = args[:predicted_info_types] if args.key?(:predicted_info_types)
|
6456
|
+
@profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
|
6457
|
+
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
6458
|
+
@project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
|
6459
|
+
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
6460
|
+
@resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
|
6461
|
+
@row_count = args[:row_count] if args.key?(:row_count)
|
6462
|
+
@scanned_column_count = args[:scanned_column_count] if args.key?(:scanned_column_count)
|
6463
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
6464
|
+
@state = args[:state] if args.key?(:state)
|
6465
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
6466
|
+
@table_size_bytes = args[:table_size_bytes] if args.key?(:table_size_bytes)
|
6467
|
+
end
|
6468
|
+
end
|
6469
|
+
|
5899
6470
|
# Location of a finding within a table.
|
5900
6471
|
class GooglePrivacyDlpV2TableLocation
|
5901
6472
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DlpV2
|
18
18
|
# Version of the google-apis-dlp_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220402"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,6 +250,48 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class GooglePrivacyDlpV2DataProfileAction
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GooglePrivacyDlpV2DataProfileConfigSnapshot
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class GooglePrivacyDlpV2DataProfileJobConfig
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GooglePrivacyDlpV2DataProfileLocation
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GooglePrivacyDlpV2DataProfilePubSubCondition
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class GooglePrivacyDlpV2DataProfilePubSubMessage
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GooglePrivacyDlpV2DataRiskLevel
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
253
295
|
class GooglePrivacyDlpV2DatastoreKey
|
254
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
297
|
|
@@ -370,6 +412,12 @@ module Google
|
|
370
412
|
include Google::Apis::Core::JsonObjectSupport
|
371
413
|
end
|
372
414
|
|
415
|
+
class GooglePrivacyDlpV2Export
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
373
421
|
class GooglePrivacyDlpV2Expressions
|
374
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
423
|
|
@@ -502,6 +550,12 @@ module Google
|
|
502
550
|
include Google::Apis::Core::JsonObjectSupport
|
503
551
|
end
|
504
552
|
|
553
|
+
class GooglePrivacyDlpV2InfoTypeSummary
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
505
559
|
class GooglePrivacyDlpV2InfoTypeTransformation
|
506
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
561
|
|
@@ -760,6 +814,12 @@ module Google
|
|
760
814
|
include Google::Apis::Core::JsonObjectSupport
|
761
815
|
end
|
762
816
|
|
817
|
+
class GooglePrivacyDlpV2OtherInfoTypeSummary
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
763
823
|
class GooglePrivacyDlpV2OutputStorageConfig
|
764
824
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
825
|
|
@@ -790,12 +850,36 @@ module Google
|
|
790
850
|
include Google::Apis::Core::JsonObjectSupport
|
791
851
|
end
|
792
852
|
|
853
|
+
class GooglePrivacyDlpV2ProfileStatus
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
|
+
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
857
|
+
end
|
858
|
+
|
793
859
|
class GooglePrivacyDlpV2Proximity
|
794
860
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
861
|
|
796
862
|
include Google::Apis::Core::JsonObjectSupport
|
797
863
|
end
|
798
864
|
|
865
|
+
class GooglePrivacyDlpV2PubSubCondition
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
871
|
+
class GooglePrivacyDlpV2PubSubExpressions
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class GooglePrivacyDlpV2PubSubNotification
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
799
883
|
class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
|
800
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
885
|
|
@@ -976,6 +1060,12 @@ module Google
|
|
976
1060
|
include Google::Apis::Core::JsonObjectSupport
|
977
1061
|
end
|
978
1062
|
|
1063
|
+
class GooglePrivacyDlpV2SensitivityScore
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1065
|
+
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
1067
|
+
end
|
1068
|
+
|
979
1069
|
class GooglePrivacyDlpV2StatisticalTable
|
980
1070
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
1071
|
|
@@ -1042,6 +1132,12 @@ module Google
|
|
1042
1132
|
include Google::Apis::Core::JsonObjectSupport
|
1043
1133
|
end
|
1044
1134
|
|
1135
|
+
class GooglePrivacyDlpV2TableDataProfile
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1045
1141
|
class GooglePrivacyDlpV2TableLocation
|
1046
1142
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
1143
|
|
@@ -1606,6 +1702,70 @@ module Google
|
|
1606
1702
|
end
|
1607
1703
|
end
|
1608
1704
|
|
1705
|
+
class GooglePrivacyDlpV2DataProfileAction
|
1706
|
+
# @private
|
1707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1708
|
+
property :export_data, as: 'exportData', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Export, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Export::Representation
|
1709
|
+
|
1710
|
+
property :pub_sub_notification, as: 'pubSubNotification', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification::Representation
|
1711
|
+
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
class GooglePrivacyDlpV2DataProfileConfigSnapshot
|
1716
|
+
# @private
|
1717
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1718
|
+
property :data_profile_job, as: 'dataProfileJob', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileJobConfig::Representation
|
1719
|
+
|
1720
|
+
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
|
1721
|
+
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
class GooglePrivacyDlpV2DataProfileJobConfig
|
1726
|
+
# @private
|
1727
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1728
|
+
collection :data_profile_actions, as: 'dataProfileActions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction::Representation
|
1729
|
+
|
1730
|
+
collection :inspect_templates, as: 'inspectTemplates'
|
1731
|
+
property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation::Representation
|
1732
|
+
|
1733
|
+
property :project_id, as: 'projectId'
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class GooglePrivacyDlpV2DataProfileLocation
|
1738
|
+
# @private
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1740
|
+
property :folder_id, :numeric_string => true, as: 'folderId'
|
1741
|
+
property :organization_id, :numeric_string => true, as: 'organizationId'
|
1742
|
+
end
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
class GooglePrivacyDlpV2DataProfilePubSubCondition
|
1746
|
+
# @private
|
1747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1748
|
+
property :expressions, as: 'expressions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions::Representation
|
1749
|
+
|
1750
|
+
end
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
class GooglePrivacyDlpV2DataProfilePubSubMessage
|
1754
|
+
# @private
|
1755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1756
|
+
property :event, as: 'event'
|
1757
|
+
property :profile, as: 'profile', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
|
1758
|
+
|
1759
|
+
end
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
class GooglePrivacyDlpV2DataRiskLevel
|
1763
|
+
# @private
|
1764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1765
|
+
property :score, as: 'score'
|
1766
|
+
end
|
1767
|
+
end
|
1768
|
+
|
1609
1769
|
class GooglePrivacyDlpV2DatastoreKey
|
1610
1770
|
# @private
|
1611
1771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1821,6 +1981,14 @@ module Google
|
|
1821
1981
|
end
|
1822
1982
|
end
|
1823
1983
|
|
1984
|
+
class GooglePrivacyDlpV2Export
|
1985
|
+
# @private
|
1986
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1987
|
+
property :profile_table, as: 'profileTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
|
1988
|
+
|
1989
|
+
end
|
1990
|
+
end
|
1991
|
+
|
1824
1992
|
class GooglePrivacyDlpV2Expressions
|
1825
1993
|
# @private
|
1826
1994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2041,6 +2209,14 @@ module Google
|
|
2041
2209
|
end
|
2042
2210
|
end
|
2043
2211
|
|
2212
|
+
class GooglePrivacyDlpV2InfoTypeSummary
|
2213
|
+
# @private
|
2214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2215
|
+
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
2216
|
+
|
2217
|
+
end
|
2218
|
+
end
|
2219
|
+
|
2044
2220
|
class GooglePrivacyDlpV2InfoTypeTransformation
|
2045
2221
|
# @private
|
2046
2222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2468,6 +2644,14 @@ module Google
|
|
2468
2644
|
end
|
2469
2645
|
end
|
2470
2646
|
|
2647
|
+
class GooglePrivacyDlpV2OtherInfoTypeSummary
|
2648
|
+
# @private
|
2649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2650
|
+
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
2651
|
+
|
2652
|
+
end
|
2653
|
+
end
|
2654
|
+
|
2471
2655
|
class GooglePrivacyDlpV2OutputStorageConfig
|
2472
2656
|
# @private
|
2473
2657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2542,6 +2726,15 @@ module Google
|
|
2542
2726
|
end
|
2543
2727
|
end
|
2544
2728
|
|
2729
|
+
class GooglePrivacyDlpV2ProfileStatus
|
2730
|
+
# @private
|
2731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2732
|
+
property :status, as: 'status', class: Google::Apis::DlpV2::GoogleRpcStatus, decorator: Google::Apis::DlpV2::GoogleRpcStatus::Representation
|
2733
|
+
|
2734
|
+
property :timestamp, as: 'timestamp'
|
2735
|
+
end
|
2736
|
+
end
|
2737
|
+
|
2545
2738
|
class GooglePrivacyDlpV2Proximity
|
2546
2739
|
# @private
|
2547
2740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2550,6 +2743,34 @@ module Google
|
|
2550
2743
|
end
|
2551
2744
|
end
|
2552
2745
|
|
2746
|
+
class GooglePrivacyDlpV2PubSubCondition
|
2747
|
+
# @private
|
2748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2749
|
+
property :minimum_risk_score, as: 'minimumRiskScore'
|
2750
|
+
property :minimum_sensitivity_score, as: 'minimumSensitivityScore'
|
2751
|
+
end
|
2752
|
+
end
|
2753
|
+
|
2754
|
+
class GooglePrivacyDlpV2PubSubExpressions
|
2755
|
+
# @private
|
2756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2757
|
+
collection :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition::Representation
|
2758
|
+
|
2759
|
+
property :logical_operator, as: 'logicalOperator'
|
2760
|
+
end
|
2761
|
+
end
|
2762
|
+
|
2763
|
+
class GooglePrivacyDlpV2PubSubNotification
|
2764
|
+
# @private
|
2765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2766
|
+
property :detail_of_message, as: 'detailOfMessage'
|
2767
|
+
property :event, as: 'event'
|
2768
|
+
property :pubsub_condition, as: 'pubsubCondition', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition::Representation
|
2769
|
+
|
2770
|
+
property :topic, as: 'topic'
|
2771
|
+
end
|
2772
|
+
end
|
2773
|
+
|
2553
2774
|
class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
|
2554
2775
|
# @private
|
2555
2776
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2821,6 +3042,13 @@ module Google
|
|
2821
3042
|
end
|
2822
3043
|
end
|
2823
3044
|
|
3045
|
+
class GooglePrivacyDlpV2SensitivityScore
|
3046
|
+
# @private
|
3047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3048
|
+
property :score, as: 'score'
|
3049
|
+
end
|
3050
|
+
end
|
3051
|
+
|
2824
3052
|
class GooglePrivacyDlpV2StatisticalTable
|
2825
3053
|
# @private
|
2826
3054
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2936,6 +3164,43 @@ module Google
|
|
2936
3164
|
end
|
2937
3165
|
end
|
2938
3166
|
|
3167
|
+
class GooglePrivacyDlpV2TableDataProfile
|
3168
|
+
# @private
|
3169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3170
|
+
property :config_snapshot, as: 'configSnapshot', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot::Representation
|
3171
|
+
|
3172
|
+
property :create_time, as: 'createTime'
|
3173
|
+
property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
|
3174
|
+
|
3175
|
+
property :dataset_id, as: 'datasetId'
|
3176
|
+
property :dataset_location, as: 'datasetLocation'
|
3177
|
+
property :dataset_project_id, as: 'datasetProjectId'
|
3178
|
+
property :encryption_status, as: 'encryptionStatus'
|
3179
|
+
property :expiration_time, as: 'expirationTime'
|
3180
|
+
property :failed_column_count, :numeric_string => true, as: 'failedColumnCount'
|
3181
|
+
property :full_resource, as: 'fullResource'
|
3182
|
+
property :last_modified_time, as: 'lastModifiedTime'
|
3183
|
+
property :name, as: 'name'
|
3184
|
+
collection :other_info_types, as: 'otherInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary::Representation
|
3185
|
+
|
3186
|
+
collection :predicted_info_types, as: 'predictedInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary::Representation
|
3187
|
+
|
3188
|
+
property :profile_last_generated, as: 'profileLastGenerated'
|
3189
|
+
property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
|
3190
|
+
|
3191
|
+
property :project_data_profile, as: 'projectDataProfile'
|
3192
|
+
hash :resource_labels, as: 'resourceLabels'
|
3193
|
+
property :resource_visibility, as: 'resourceVisibility'
|
3194
|
+
property :row_count, :numeric_string => true, as: 'rowCount'
|
3195
|
+
property :scanned_column_count, :numeric_string => true, as: 'scannedColumnCount'
|
3196
|
+
property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
|
3197
|
+
|
3198
|
+
property :state, as: 'state'
|
3199
|
+
property :table_id, as: 'tableId'
|
3200
|
+
property :table_size_bytes, :numeric_string => true, as: 'tableSizeBytes'
|
3201
|
+
end
|
3202
|
+
end
|
3203
|
+
|
2939
3204
|
class GooglePrivacyDlpV2TableLocation
|
2940
3205
|
# @private
|
2941
3206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dlp_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.22.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|