google-apis-dlp_v2 0.87.0 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c50b8b44ca7c657f07dfdc6b83ac6a6517dc1c52e5e7f0118bb35feb7f5a45b5
4
- data.tar.gz: fafc3eb7fd8de87e1d3070d67bebe9dbe690e4b374a1f18e13935001626637fb
3
+ metadata.gz: 7db638a368c1feddcbf1c6e8026631fa5e5271b42ba6be0122874740f8b13151
4
+ data.tar.gz: 3ede9f8933298e3dc8fc9a66285b6d02fecbd09310644c8edd35dd4b59d3ea49
5
5
  SHA512:
6
- metadata.gz: 95d3e276ce1e7284e18e10ac754819bc78112d786da41163423f82815b36d8fdf33b800477908cb821736e85a86a73cbb735b3deff8962528d2f182cd12f1f06
7
- data.tar.gz: 38170f9edc66f5b86ce63ba9a5dce6123cee77673e4067311d989df28285acdef95590e656c948068d29ec4e75dd282d175de9f0316512fb3832f43d401bc747
6
+ metadata.gz: a63e0c3504fffc7af2f93678b2a4eaa998417763ccba8490d93244d741b491614ad1972aeac7c857c6433890e3a0aea16ebffa04f6f2d24f0b3c1a44ecd6b4b7
7
+ data.tar.gz: 0767dab6eeecd9e802bcc775a1f9cfbe1e18a07d32e90c2d142b05325b644229def441d681d6e63a60bfcba78a7d840d37962103d866bef0d888fab2e3b46e26
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.89.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250525
6
+
7
+ ### v0.88.0 (2025-05-25)
8
+
9
+ * Regenerated from discovery document revision 20250518
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.87.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250511
@@ -2427,6 +2427,13 @@ module Google
2427
2427
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle]
2428
2428
  attr_accessor :publish_to_chronicle
2429
2429
 
2430
+ # Create Dataplex Catalog aspects for profiled resources with the aspect type
2431
+ # Sensitive Data Protection Profile. To learn more about aspects, see https://
2432
+ # cloud.google.com/sensitive-data-protection/docs/add-aspects.
2433
+ # Corresponds to the JSON property `publishToDataplexCatalog`
2434
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToDataplexCatalog]
2435
+ attr_accessor :publish_to_dataplex_catalog
2436
+
2430
2437
  # If set, a summary finding will be created or updated in Security Command
2431
2438
  # Center for each profile.
2432
2439
  # Corresponds to the JSON property `publishToScc`
@@ -2451,6 +2458,7 @@ module Google
2451
2458
  @export_data = args[:export_data] if args.key?(:export_data)
2452
2459
  @pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification)
2453
2460
  @publish_to_chronicle = args[:publish_to_chronicle] if args.key?(:publish_to_chronicle)
2461
+ @publish_to_dataplex_catalog = args[:publish_to_dataplex_catalog] if args.key?(:publish_to_dataplex_catalog)
2454
2462
  @publish_to_scc = args[:publish_to_scc] if args.key?(:publish_to_scc)
2455
2463
  @tag_resources = args[:tag_resources] if args.key?(:tag_resources)
2456
2464
  end
@@ -2551,11 +2559,22 @@ module Google
2551
2559
  # @return [String]
2552
2560
  attr_accessor :data_profile_resource_name
2553
2561
 
2562
+ # Message used to identify the type of resource being profiled.
2563
+ # Corresponds to the JSON property `dataSourceType`
2564
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType]
2565
+ attr_accessor :data_source_type
2566
+
2554
2567
  # A unique identifier for the finding.
2555
2568
  # Corresponds to the JSON property `findingId`
2556
2569
  # @return [String]
2557
2570
  attr_accessor :finding_id
2558
2571
 
2572
+ # The [full resource name](https://cloud.google.com/apis/design/resource_names#
2573
+ # full_resource_name) of the resource profiled for this finding.
2574
+ # Corresponds to the JSON property `fullResourceName`
2575
+ # @return [String]
2576
+ attr_accessor :full_resource_name
2577
+
2559
2578
  # Type of information detected by the API.
2560
2579
  # Corresponds to the JSON property `infotype`
2561
2580
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
@@ -2595,7 +2614,9 @@ module Google
2595
2614
  # Update properties of this object
2596
2615
  def update!(**args)
2597
2616
  @data_profile_resource_name = args[:data_profile_resource_name] if args.key?(:data_profile_resource_name)
2617
+ @data_source_type = args[:data_source_type] if args.key?(:data_source_type)
2598
2618
  @finding_id = args[:finding_id] if args.key?(:finding_id)
2619
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
2599
2620
  @infotype = args[:infotype] if args.key?(:infotype)
2600
2621
  @location = args[:location] if args.key?(:location)
2601
2622
  @quote = args[:quote] if args.key?(:quote)
@@ -8437,6 +8458,32 @@ module Google
8437
8458
  end
8438
8459
  end
8439
8460
 
8461
+ # Create Dataplex Catalog aspects for profiled resources with the aspect type
8462
+ # Sensitive Data Protection Profile. To learn more about aspects, see https://
8463
+ # cloud.google.com/sensitive-data-protection/docs/add-aspects.
8464
+ class GooglePrivacyDlpV2PublishToDataplexCatalog
8465
+ include Google::Apis::Core::Hashable
8466
+
8467
+ # Whether creating a Dataplex Catalog aspect for a profiled resource should
8468
+ # lower the risk of the profile for that resource. This also lowers the data
8469
+ # risk of resources at the lower levels of the resource hierarchy. For example,
8470
+ # reducing the data risk of a table data profile also reduces the data risk of
8471
+ # the constituent column data profiles.
8472
+ # Corresponds to the JSON property `lowerDataRiskToLow`
8473
+ # @return [Boolean]
8474
+ attr_accessor :lower_data_risk_to_low
8475
+ alias_method :lower_data_risk_to_low?, :lower_data_risk_to_low
8476
+
8477
+ def initialize(**args)
8478
+ update!(**args)
8479
+ end
8480
+
8481
+ # Update properties of this object
8482
+ def update!(**args)
8483
+ @lower_data_risk_to_low = args[:lower_data_risk_to_low] if args.key?(:lower_data_risk_to_low)
8484
+ end
8485
+ end
8486
+
8440
8487
  # Publish a message into a given Pub/Sub topic when DlpJob has completed. The
8441
8488
  # message contains a single field, `DlpJobName`, which is equal to the finished
8442
8489
  # job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/
@@ -10081,6 +10128,13 @@ module Google
10081
10128
  # @return [String]
10082
10129
  attr_accessor :dataset_id
10083
10130
 
10131
+ # The Google Cloud project ID of the project containing the table. If omitted,
10132
+ # the project ID is inferred from the parent project. This field is required if
10133
+ # the parent resource is an organization.
10134
+ # Corresponds to the JSON property `projectId`
10135
+ # @return [String]
10136
+ attr_accessor :project_id
10137
+
10084
10138
  # Name of the table.
10085
10139
  # Corresponds to the JSON property `tableId`
10086
10140
  # @return [String]
@@ -10093,6 +10147,7 @@ module Google
10093
10147
  # Update properties of this object
10094
10148
  def update!(**args)
10095
10149
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
10150
+ @project_id = args[:project_id] if args.key?(:project_id)
10096
10151
  @table_id = args[:table_id] if args.key?(:table_id)
10097
10152
  end
10098
10153
  end
@@ -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.87.0"
19
+ GEM_VERSION = "0.89.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250511"
25
+ REVISION = "20250525"
26
26
  end
27
27
  end
28
28
  end
@@ -1462,6 +1462,12 @@ module Google
1462
1462
  include Google::Apis::Core::JsonObjectSupport
1463
1463
  end
1464
1464
 
1465
+ class GooglePrivacyDlpV2PublishToDataplexCatalog
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1465
1471
  class GooglePrivacyDlpV2PublishToPubSub
1466
1472
  class Representation < Google::Apis::Core::JsonRepresentation; end
1467
1473
 
@@ -2708,6 +2714,8 @@ module Google
2708
2714
 
2709
2715
  property :publish_to_chronicle, as: 'publishToChronicle', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle::Representation
2710
2716
 
2717
+ property :publish_to_dataplex_catalog, as: 'publishToDataplexCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToDataplexCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToDataplexCatalog::Representation
2718
+
2711
2719
  property :publish_to_scc, as: 'publishToScc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter::Representation
2712
2720
 
2713
2721
  property :tag_resources, as: 'tagResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources::Representation
@@ -2745,7 +2753,10 @@ module Google
2745
2753
  # @private
2746
2754
  class Representation < Google::Apis::Core::JsonRepresentation
2747
2755
  property :data_profile_resource_name, as: 'dataProfileResourceName'
2756
+ property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
2757
+
2748
2758
  property :finding_id, as: 'findingId'
2759
+ property :full_resource_name, as: 'fullResourceName'
2749
2760
  property :infotype, as: 'infotype', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2750
2761
 
2751
2762
  property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation::Representation
@@ -4525,6 +4536,13 @@ module Google
4525
4536
  end
4526
4537
  end
4527
4538
 
4539
+ class GooglePrivacyDlpV2PublishToDataplexCatalog
4540
+ # @private
4541
+ class Representation < Google::Apis::Core::JsonRepresentation
4542
+ property :lower_data_risk_to_low, as: 'lowerDataRiskToLow'
4543
+ end
4544
+ end
4545
+
4528
4546
  class GooglePrivacyDlpV2PublishToPubSub
4529
4547
  # @private
4530
4548
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5045,6 +5063,7 @@ module Google
5045
5063
  # @private
5046
5064
  class Representation < Google::Apis::Core::JsonRepresentation
5047
5065
  property :dataset_id, as: 'datasetId'
5066
+ property :project_id, as: 'projectId'
5048
5067
  property :table_id, as: 'tableId'
5049
5068
  end
5050
5069
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.0
4
+ version: 0.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.87.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.89.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Sensitive Data Protection (DLP) V2
79
79
  test_files: []