google-apis-dlp_v2 0.20.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc8d920a5fcfbf6867fc4335d460c32183ef4d4296611b6e42daf0cdce78a29a
4
- data.tar.gz: e7b5390b8a37fd4147fa9aa2d7e8ee6356aadd11bc40802d232e306d7604d44d
3
+ metadata.gz: 28ccba9defded8026812de763589828b65a57dc6ad579d76c76fb01a14854a0d
4
+ data.tar.gz: '08b6d656aa3dda795357c9760fc6a54ef4e6af6cdce0454812e72e84a46f7084'
5
5
  SHA512:
6
- metadata.gz: f888dae61bf7fdf751ae25b03d859180cf56a9f805e5ff6bda6ac487a4ac9d0af34295cab396612333b981ae213c2b339b59248a491cf6871ff5224d2265ce9e
7
- data.tar.gz: 829f2bfc4ee1cb51177d88cce98524925364f44e298f948be3936661b556c573eae4b0dbda4c601b7759648d883d84ae64d98ec2e2a69656583a15a08771f170
6
+ metadata.gz: 32c5b9f396b8af3cea9ed594329a8554d652983e259b2202cb916d3c10def684a47431b3ce6d55dea081529a3dd21d3e0038dfa5bc33728a1bcd271c3bfd66e0
7
+ data.tar.gz: b04c7ce7df00e320b5c74ad28182c419ec1fcff8fb9c6de826613b3dd680ac6d5d91e60c547d1bdfd6dcacd346c3c70ac8eb8686df71a9c4b1693d858a2da076
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.23.0 (2022-05-12)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
7
+ ### v0.22.0 (2022-04-06)
8
+
9
+ * Regenerated from discovery document revision 20220402
10
+
11
+ ### v0.21.0 (2022-03-23)
12
+
13
+ * Regenerated from discovery document revision 20220319
14
+
3
15
  ### v0.20.0 (2022-03-09)
4
16
 
5
17
  * Regenerated from discovery document revision 20220305
@@ -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,32 @@ 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
+ # Approximate percentage of non-null rows that contained data detected by this
3287
+ # infotype.
3288
+ # Corresponds to the JSON property `estimatedPrevalence`
3289
+ # @return [Fixnum]
3290
+ attr_accessor :estimated_prevalence
3291
+
3292
+ # Type of information detected by the API.
3293
+ # Corresponds to the JSON property `infoType`
3294
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
3295
+ attr_accessor :info_type
3296
+
3297
+ def initialize(**args)
3298
+ update!(**args)
3299
+ end
3300
+
3301
+ # Update properties of this object
3302
+ def update!(**args)
3303
+ @estimated_prevalence = args[:estimated_prevalence] if args.key?(:estimated_prevalence)
3304
+ @info_type = args[:info_type] if args.key?(:info_type)
3305
+ end
3306
+ end
3307
+
3060
3308
  # A transformation to apply to text that is identified as a specific info_type.
3061
3309
  class GooglePrivacyDlpV2InfoTypeTransformation
3062
3310
  include Google::Apis::Core::Hashable
@@ -4410,6 +4658,32 @@ module Google
4410
4658
  end
4411
4659
  end
4412
4660
 
4661
+ # Infotype details for other infoTypes found within a column.
4662
+ class GooglePrivacyDlpV2OtherInfoTypeSummary
4663
+ include Google::Apis::Core::Hashable
4664
+
4665
+ # Approximate percentage of non-null rows that contained data detected by this
4666
+ # infotype.
4667
+ # Corresponds to the JSON property `estimatedPrevalence`
4668
+ # @return [Fixnum]
4669
+ attr_accessor :estimated_prevalence
4670
+
4671
+ # Type of information detected by the API.
4672
+ # Corresponds to the JSON property `infoType`
4673
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
4674
+ attr_accessor :info_type
4675
+
4676
+ def initialize(**args)
4677
+ update!(**args)
4678
+ end
4679
+
4680
+ # Update properties of this object
4681
+ def update!(**args)
4682
+ @estimated_prevalence = args[:estimated_prevalence] if args.key?(:estimated_prevalence)
4683
+ @info_type = args[:info_type] if args.key?(:info_type)
4684
+ end
4685
+ end
4686
+
4413
4687
  # Cloud repository for storing output.
4414
4688
  class GooglePrivacyDlpV2OutputStorageConfig
4415
4689
  include Google::Apis::Core::Hashable
@@ -4692,6 +4966,36 @@ module Google
4692
4966
  end
4693
4967
  end
4694
4968
 
4969
+ #
4970
+ class GooglePrivacyDlpV2ProfileStatus
4971
+ include Google::Apis::Core::Hashable
4972
+
4973
+ # The `Status` type defines a logical error model that is suitable for different
4974
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4975
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4976
+ # data: error code, error message, and error details. You can find out more
4977
+ # about this error model and how to work with it in the [API Design Guide](https:
4978
+ # //cloud.google.com/apis/design/errors).
4979
+ # Corresponds to the JSON property `status`
4980
+ # @return [Google::Apis::DlpV2::GoogleRpcStatus]
4981
+ attr_accessor :status
4982
+
4983
+ # Time when the profile generation status was updated
4984
+ # Corresponds to the JSON property `timestamp`
4985
+ # @return [String]
4986
+ attr_accessor :timestamp
4987
+
4988
+ def initialize(**args)
4989
+ update!(**args)
4990
+ end
4991
+
4992
+ # Update properties of this object
4993
+ def update!(**args)
4994
+ @status = args[:status] if args.key?(:status)
4995
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
4996
+ end
4997
+ end
4998
+
4695
4999
  # Message for specifying a window around a finding to apply a detection rule.
4696
5000
  class GooglePrivacyDlpV2Proximity
4697
5001
  include Google::Apis::Core::Hashable
@@ -4717,6 +5021,99 @@ module Google
4717
5021
  end
4718
5022
  end
4719
5023
 
5024
+ # A condition consisting of a value.
5025
+ class GooglePrivacyDlpV2PubSubCondition
5026
+ include Google::Apis::Core::Hashable
5027
+
5028
+ # The minimum data risk score that triggers the condition.
5029
+ # Corresponds to the JSON property `minimumRiskScore`
5030
+ # @return [String]
5031
+ attr_accessor :minimum_risk_score
5032
+
5033
+ # The minimum sensitivity level that triggers the condition.
5034
+ # Corresponds to the JSON property `minimumSensitivityScore`
5035
+ # @return [String]
5036
+ attr_accessor :minimum_sensitivity_score
5037
+
5038
+ def initialize(**args)
5039
+ update!(**args)
5040
+ end
5041
+
5042
+ # Update properties of this object
5043
+ def update!(**args)
5044
+ @minimum_risk_score = args[:minimum_risk_score] if args.key?(:minimum_risk_score)
5045
+ @minimum_sensitivity_score = args[:minimum_sensitivity_score] if args.key?(:minimum_sensitivity_score)
5046
+ end
5047
+ end
5048
+
5049
+ # An expression, consisting of an operator and conditions.
5050
+ class GooglePrivacyDlpV2PubSubExpressions
5051
+ include Google::Apis::Core::Hashable
5052
+
5053
+ # Conditions to apply to the expression.
5054
+ # Corresponds to the JSON property `conditions`
5055
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition>]
5056
+ attr_accessor :conditions
5057
+
5058
+ # The operator to apply to the collection of conditions.
5059
+ # Corresponds to the JSON property `logicalOperator`
5060
+ # @return [String]
5061
+ attr_accessor :logical_operator
5062
+
5063
+ def initialize(**args)
5064
+ update!(**args)
5065
+ end
5066
+
5067
+ # Update properties of this object
5068
+ def update!(**args)
5069
+ @conditions = args[:conditions] if args.key?(:conditions)
5070
+ @logical_operator = args[:logical_operator] if args.key?(:logical_operator)
5071
+ end
5072
+ end
5073
+
5074
+ # Send a Pub/Sub message into the given Pub/Sub topic to connect other systems
5075
+ # to data profile generation. The message payload data will be the byte
5076
+ # serialization of `DataProfilePubSubMessage`.
5077
+ class GooglePrivacyDlpV2PubSubNotification
5078
+ include Google::Apis::Core::Hashable
5079
+
5080
+ # How much data to include in the Pub/Sub message. If the user wishes to limit
5081
+ # the size of the message, they can use resource_name and fetch the profile
5082
+ # fields they wish to. Per table profile (not per column).
5083
+ # Corresponds to the JSON property `detailOfMessage`
5084
+ # @return [String]
5085
+ attr_accessor :detail_of_message
5086
+
5087
+ # The type of event that triggers a Pub/Sub. At most one `PubSubNotification`
5088
+ # per EventType is permitted.
5089
+ # Corresponds to the JSON property `event`
5090
+ # @return [String]
5091
+ attr_accessor :event
5092
+
5093
+ # A condition for determining whether a PubSub should be triggered.
5094
+ # Corresponds to the JSON property `pubsubCondition`
5095
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition]
5096
+ attr_accessor :pubsub_condition
5097
+
5098
+ # Cloud Pub/Sub topic to send notifications to. Format is projects/`project`/
5099
+ # topics/`topic`.
5100
+ # Corresponds to the JSON property `topic`
5101
+ # @return [String]
5102
+ attr_accessor :topic
5103
+
5104
+ def initialize(**args)
5105
+ update!(**args)
5106
+ end
5107
+
5108
+ # Update properties of this object
5109
+ def update!(**args)
5110
+ @detail_of_message = args[:detail_of_message] if args.key?(:detail_of_message)
5111
+ @event = args[:event] if args.key?(:event)
5112
+ @pubsub_condition = args[:pubsub_condition] if args.key?(:pubsub_condition)
5113
+ @topic = args[:topic] if args.key?(:topic)
5114
+ end
5115
+ end
5116
+
4720
5117
  # Publish findings of a DlpJob to Data Catalog. Labels summarizing the results
4721
5118
  # of the DlpJob will be applied to the entry for the resource scanned in Data
4722
5119
  # Catalog. Any labels previously written by another DlpJob will be deleted.
@@ -4817,8 +5214,7 @@ module Google
4817
5214
  # A generic empty message that you can re-use to avoid defining duplicated empty
4818
5215
  # messages in your APIs. A typical example is to use it as the request or the
4819
5216
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
4820
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
4821
- # `Empty` is empty JSON object ````.
5217
+ # protobuf.Empty) returns (google.protobuf.Empty); `
4822
5218
  # Corresponds to the JSON property `inferred`
4823
5219
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
4824
5220
  attr_accessor :inferred
@@ -5513,6 +5909,26 @@ module Google
5513
5909
  end
5514
5910
  end
5515
5911
 
5912
+ # Score is a summary of all elements in the data profile. A higher number means
5913
+ # more sensitive.
5914
+ class GooglePrivacyDlpV2SensitivityScore
5915
+ include Google::Apis::Core::Hashable
5916
+
5917
+ # The score applied to the resource.
5918
+ # Corresponds to the JSON property `score`
5919
+ # @return [String]
5920
+ attr_accessor :score
5921
+
5922
+ def initialize(**args)
5923
+ update!(**args)
5924
+ end
5925
+
5926
+ # Update properties of this object
5927
+ def update!(**args)
5928
+ @score = args[:score] if args.key?(:score)
5929
+ end
5930
+ end
5931
+
5516
5932
  # An auxiliary table containing statistical information on the relative
5517
5933
  # frequency of different quasi-identifiers values. It has one or several quasi-
5518
5934
  # identifiers columns, and one column that indicates the relative frequency of
@@ -5897,6 +6313,174 @@ module Google
5897
6313
  end
5898
6314
  end
5899
6315
 
6316
+ # The profile for a scanned table.
6317
+ class GooglePrivacyDlpV2TableDataProfile
6318
+ include Google::Apis::Core::Hashable
6319
+
6320
+ # Snapshot of the configurations used to generate the profile.
6321
+ # Corresponds to the JSON property `configSnapshot`
6322
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot]
6323
+ attr_accessor :config_snapshot
6324
+
6325
+ # The time at which the table was created.
6326
+ # Corresponds to the JSON property `createTime`
6327
+ # @return [String]
6328
+ attr_accessor :create_time
6329
+
6330
+ # Score is a summary of all elements in the data profile. A higher number means
6331
+ # more risky.
6332
+ # Corresponds to the JSON property `dataRiskLevel`
6333
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
6334
+ attr_accessor :data_risk_level
6335
+
6336
+ # The BigQuery dataset ID.
6337
+ # Corresponds to the JSON property `datasetId`
6338
+ # @return [String]
6339
+ attr_accessor :dataset_id
6340
+
6341
+ # The BigQuery location where the dataset's data is stored. See https://cloud.
6342
+ # google.com/bigquery/docs/locations for supported locations.
6343
+ # Corresponds to the JSON property `datasetLocation`
6344
+ # @return [String]
6345
+ attr_accessor :dataset_location
6346
+
6347
+ # The GCP project ID that owns the BigQuery dataset.
6348
+ # Corresponds to the JSON property `datasetProjectId`
6349
+ # @return [String]
6350
+ attr_accessor :dataset_project_id
6351
+
6352
+ # How the table is encrypted.
6353
+ # Corresponds to the JSON property `encryptionStatus`
6354
+ # @return [String]
6355
+ attr_accessor :encryption_status
6356
+
6357
+ # Optional. The time when this table expires.
6358
+ # Corresponds to the JSON property `expirationTime`
6359
+ # @return [String]
6360
+ attr_accessor :expiration_time
6361
+
6362
+ # The number of columns skipped in the table because of an error.
6363
+ # Corresponds to the JSON property `failedColumnCount`
6364
+ # @return [Fixnum]
6365
+ attr_accessor :failed_column_count
6366
+
6367
+ # The resource name of the table. https://cloud.google.com/apis/design/
6368
+ # resource_names#full_resource_name
6369
+ # Corresponds to the JSON property `fullResource`
6370
+ # @return [String]
6371
+ attr_accessor :full_resource
6372
+
6373
+ # The time when this table was last modified
6374
+ # Corresponds to the JSON property `lastModifiedTime`
6375
+ # @return [String]
6376
+ attr_accessor :last_modified_time
6377
+
6378
+ # The name of the profile.
6379
+ # Corresponds to the JSON property `name`
6380
+ # @return [String]
6381
+ attr_accessor :name
6382
+
6383
+ # Other infoTypes found in this table's data.
6384
+ # Corresponds to the JSON property `otherInfoTypes`
6385
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary>]
6386
+ attr_accessor :other_info_types
6387
+
6388
+ # The infoTypes predicted from this table's data.
6389
+ # Corresponds to the JSON property `predictedInfoTypes`
6390
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary>]
6391
+ attr_accessor :predicted_info_types
6392
+
6393
+ # The last time the profile was generated.
6394
+ # Corresponds to the JSON property `profileLastGenerated`
6395
+ # @return [String]
6396
+ attr_accessor :profile_last_generated
6397
+
6398
+ # Success or error status from the most recent profile generation attempt. May
6399
+ # be empty if the profile is still being generated.
6400
+ # Corresponds to the JSON property `profileStatus`
6401
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
6402
+ attr_accessor :profile_status
6403
+
6404
+ # The resource name to the project data profile for this table.
6405
+ # Corresponds to the JSON property `projectDataProfile`
6406
+ # @return [String]
6407
+ attr_accessor :project_data_profile
6408
+
6409
+ # The labels applied to the resource at the time the profile was generated.
6410
+ # Corresponds to the JSON property `resourceLabels`
6411
+ # @return [Hash<String,String>]
6412
+ attr_accessor :resource_labels
6413
+
6414
+ # How broadly a resource has been shared.
6415
+ # Corresponds to the JSON property `resourceVisibility`
6416
+ # @return [String]
6417
+ attr_accessor :resource_visibility
6418
+
6419
+ # Number of rows in the table when the profile was generated.
6420
+ # Corresponds to the JSON property `rowCount`
6421
+ # @return [Fixnum]
6422
+ attr_accessor :row_count
6423
+
6424
+ # The number of columns profiled in the table.
6425
+ # Corresponds to the JSON property `scannedColumnCount`
6426
+ # @return [Fixnum]
6427
+ attr_accessor :scanned_column_count
6428
+
6429
+ # Score is a summary of all elements in the data profile. A higher number means
6430
+ # more sensitive.
6431
+ # Corresponds to the JSON property `sensitivityScore`
6432
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
6433
+ attr_accessor :sensitivity_score
6434
+
6435
+ # State of a profile.
6436
+ # Corresponds to the JSON property `state`
6437
+ # @return [String]
6438
+ attr_accessor :state
6439
+
6440
+ # The BigQuery table ID.
6441
+ # Corresponds to the JSON property `tableId`
6442
+ # @return [String]
6443
+ attr_accessor :table_id
6444
+
6445
+ # The size of the table when the profile was generated.
6446
+ # Corresponds to the JSON property `tableSizeBytes`
6447
+ # @return [Fixnum]
6448
+ attr_accessor :table_size_bytes
6449
+
6450
+ def initialize(**args)
6451
+ update!(**args)
6452
+ end
6453
+
6454
+ # Update properties of this object
6455
+ def update!(**args)
6456
+ @config_snapshot = args[:config_snapshot] if args.key?(:config_snapshot)
6457
+ @create_time = args[:create_time] if args.key?(:create_time)
6458
+ @data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
6459
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
6460
+ @dataset_location = args[:dataset_location] if args.key?(:dataset_location)
6461
+ @dataset_project_id = args[:dataset_project_id] if args.key?(:dataset_project_id)
6462
+ @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
6463
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
6464
+ @failed_column_count = args[:failed_column_count] if args.key?(:failed_column_count)
6465
+ @full_resource = args[:full_resource] if args.key?(:full_resource)
6466
+ @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
6467
+ @name = args[:name] if args.key?(:name)
6468
+ @other_info_types = args[:other_info_types] if args.key?(:other_info_types)
6469
+ @predicted_info_types = args[:predicted_info_types] if args.key?(:predicted_info_types)
6470
+ @profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
6471
+ @profile_status = args[:profile_status] if args.key?(:profile_status)
6472
+ @project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
6473
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
6474
+ @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
6475
+ @row_count = args[:row_count] if args.key?(:row_count)
6476
+ @scanned_column_count = args[:scanned_column_count] if args.key?(:scanned_column_count)
6477
+ @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
6478
+ @state = args[:state] if args.key?(:state)
6479
+ @table_id = args[:table_id] if args.key?(:table_id)
6480
+ @table_size_bytes = args[:table_size_bytes] if args.key?(:table_size_bytes)
6481
+ end
6482
+ end
6483
+
5900
6484
  # Location of a finding within a table.
5901
6485
  class GooglePrivacyDlpV2TableLocation
5902
6486
  include Google::Apis::Core::Hashable
@@ -5961,8 +6545,7 @@ module Google
5961
6545
  # A generic empty message that you can re-use to avoid defining duplicated empty
5962
6546
  # messages in your APIs. A typical example is to use it as the request or the
5963
6547
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
5964
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
5965
- # `Empty` is empty JSON object ````.
6548
+ # protobuf.Empty) returns (google.protobuf.Empty); `
5966
6549
  # Corresponds to the JSON property `inferred`
5967
6550
  # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
5968
6551
  attr_accessor :inferred
@@ -6504,8 +7087,7 @@ module Google
6504
7087
  # A generic empty message that you can re-use to avoid defining duplicated empty
6505
7088
  # messages in your APIs. A typical example is to use it as the request or the
6506
7089
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
6507
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
6508
- # `Empty` is empty JSON object ````.
7090
+ # protobuf.Empty) returns (google.protobuf.Empty); `
6509
7091
  class GoogleProtobufEmpty
6510
7092
  include Google::Apis::Core::Hashable
6511
7093
 
@@ -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.20.0"
19
+ GEM_VERSION = "0.23.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 = "20220305"
25
+ REVISION = "20220506"
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,15 @@ module Google
2041
2209
  end
2042
2210
  end
2043
2211
 
2212
+ class GooglePrivacyDlpV2InfoTypeSummary
2213
+ # @private
2214
+ class Representation < Google::Apis::Core::JsonRepresentation
2215
+ property :estimated_prevalence, as: 'estimatedPrevalence'
2216
+ property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2217
+
2218
+ end
2219
+ end
2220
+
2044
2221
  class GooglePrivacyDlpV2InfoTypeTransformation
2045
2222
  # @private
2046
2223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2468,6 +2645,15 @@ module Google
2468
2645
  end
2469
2646
  end
2470
2647
 
2648
+ class GooglePrivacyDlpV2OtherInfoTypeSummary
2649
+ # @private
2650
+ class Representation < Google::Apis::Core::JsonRepresentation
2651
+ property :estimated_prevalence, as: 'estimatedPrevalence'
2652
+ property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2653
+
2654
+ end
2655
+ end
2656
+
2471
2657
  class GooglePrivacyDlpV2OutputStorageConfig
2472
2658
  # @private
2473
2659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2542,6 +2728,15 @@ module Google
2542
2728
  end
2543
2729
  end
2544
2730
 
2731
+ class GooglePrivacyDlpV2ProfileStatus
2732
+ # @private
2733
+ class Representation < Google::Apis::Core::JsonRepresentation
2734
+ property :status, as: 'status', class: Google::Apis::DlpV2::GoogleRpcStatus, decorator: Google::Apis::DlpV2::GoogleRpcStatus::Representation
2735
+
2736
+ property :timestamp, as: 'timestamp'
2737
+ end
2738
+ end
2739
+
2545
2740
  class GooglePrivacyDlpV2Proximity
2546
2741
  # @private
2547
2742
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2550,6 +2745,34 @@ module Google
2550
2745
  end
2551
2746
  end
2552
2747
 
2748
+ class GooglePrivacyDlpV2PubSubCondition
2749
+ # @private
2750
+ class Representation < Google::Apis::Core::JsonRepresentation
2751
+ property :minimum_risk_score, as: 'minimumRiskScore'
2752
+ property :minimum_sensitivity_score, as: 'minimumSensitivityScore'
2753
+ end
2754
+ end
2755
+
2756
+ class GooglePrivacyDlpV2PubSubExpressions
2757
+ # @private
2758
+ class Representation < Google::Apis::Core::JsonRepresentation
2759
+ collection :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition::Representation
2760
+
2761
+ property :logical_operator, as: 'logicalOperator'
2762
+ end
2763
+ end
2764
+
2765
+ class GooglePrivacyDlpV2PubSubNotification
2766
+ # @private
2767
+ class Representation < Google::Apis::Core::JsonRepresentation
2768
+ property :detail_of_message, as: 'detailOfMessage'
2769
+ property :event, as: 'event'
2770
+ property :pubsub_condition, as: 'pubsubCondition', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition::Representation
2771
+
2772
+ property :topic, as: 'topic'
2773
+ end
2774
+ end
2775
+
2553
2776
  class GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog
2554
2777
  # @private
2555
2778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2821,6 +3044,13 @@ module Google
2821
3044
  end
2822
3045
  end
2823
3046
 
3047
+ class GooglePrivacyDlpV2SensitivityScore
3048
+ # @private
3049
+ class Representation < Google::Apis::Core::JsonRepresentation
3050
+ property :score, as: 'score'
3051
+ end
3052
+ end
3053
+
2824
3054
  class GooglePrivacyDlpV2StatisticalTable
2825
3055
  # @private
2826
3056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2936,6 +3166,43 @@ module Google
2936
3166
  end
2937
3167
  end
2938
3168
 
3169
+ class GooglePrivacyDlpV2TableDataProfile
3170
+ # @private
3171
+ class Representation < Google::Apis::Core::JsonRepresentation
3172
+ property :config_snapshot, as: 'configSnapshot', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot::Representation
3173
+
3174
+ property :create_time, as: 'createTime'
3175
+ property :data_risk_level, as: 'dataRiskLevel', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel::Representation
3176
+
3177
+ property :dataset_id, as: 'datasetId'
3178
+ property :dataset_location, as: 'datasetLocation'
3179
+ property :dataset_project_id, as: 'datasetProjectId'
3180
+ property :encryption_status, as: 'encryptionStatus'
3181
+ property :expiration_time, as: 'expirationTime'
3182
+ property :failed_column_count, :numeric_string => true, as: 'failedColumnCount'
3183
+ property :full_resource, as: 'fullResource'
3184
+ property :last_modified_time, as: 'lastModifiedTime'
3185
+ property :name, as: 'name'
3186
+ collection :other_info_types, as: 'otherInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary::Representation
3187
+
3188
+ collection :predicted_info_types, as: 'predictedInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary::Representation
3189
+
3190
+ property :profile_last_generated, as: 'profileLastGenerated'
3191
+ property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
3192
+
3193
+ property :project_data_profile, as: 'projectDataProfile'
3194
+ hash :resource_labels, as: 'resourceLabels'
3195
+ property :resource_visibility, as: 'resourceVisibility'
3196
+ property :row_count, :numeric_string => true, as: 'rowCount'
3197
+ property :scanned_column_count, :numeric_string => true, as: 'scannedColumnCount'
3198
+ property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
3199
+
3200
+ property :state, as: 'state'
3201
+ property :table_id, as: 'tableId'
3202
+ property :table_size_bytes, :numeric_string => true, as: 'tableSizeBytes'
3203
+ end
3204
+ end
3205
+
2939
3206
  class GooglePrivacyDlpV2TableLocation
2940
3207
  # @private
2941
3208
  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.20.0
4
+ version: 0.23.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-03-14 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.23.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: []