Skip to content

Commit 76ed1d5

Browse files
feat: Automated regeneration of dlp v2 client (googleapis#23292)
Auto-created at 2025-06-01 10:10:52 +0000 using the toys pull request generator.
1 parent ff50e2e commit 76ed1d5

File tree

5 files changed

+68
-2
lines changed

5 files changed

+68
-2
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218797,6 +218797,7 @@
218797218797
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/exportData": export_data
218798218798
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/pubSubNotification": pub_sub_notification
218799218799
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/publishToChronicle": publish_to_chronicle
218800+
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/publishToDataplexCatalog": publish_to_dataplex_catalog
218800218801
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/publishToScc": publish_to_scc
218801218802
"/dlp:v2/GooglePrivacyDlpV2DataProfileAction/tagResources": tag_resources
218802218803
"/dlp:v2/GooglePrivacyDlpV2DataProfileBigQueryRowSchema": google_privacy_dlp_v2_data_profile_big_query_row_schema
@@ -219562,6 +219563,8 @@
219562219563
"/dlp:v2/GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog": google_privacy_dlp_v2_publish_findings_to_cloud_data_catalog
219563219564
"/dlp:v2/GooglePrivacyDlpV2PublishSummaryToCscc": google_privacy_dlp_v2_publish_summary_to_cscc
219564219565
"/dlp:v2/GooglePrivacyDlpV2PublishToChronicle": google_privacy_dlp_v2_publish_to_chronicle
219566+
"/dlp:v2/GooglePrivacyDlpV2PublishToDataplexCatalog": google_privacy_dlp_v2_publish_to_dataplex_catalog
219567+
"/dlp:v2/GooglePrivacyDlpV2PublishToDataplexCatalog/lowerDataRiskToLow": lower_data_risk_to_low
219565219568
"/dlp:v2/GooglePrivacyDlpV2PublishToPubSub": google_privacy_dlp_v2_publish_to_pub_sub
219566219569
"/dlp:v2/GooglePrivacyDlpV2PublishToPubSub/topic": topic
219567219570
"/dlp:v2/GooglePrivacyDlpV2PublishToSecurityCommandCenter": google_privacy_dlp_v2_publish_to_security_command_center
@@ -219770,6 +219773,7 @@
219770219773
"/dlp:v2/GooglePrivacyDlpV2TableOptions/identifyingFields/identifying_field": identifying_field
219771219774
"/dlp:v2/GooglePrivacyDlpV2TableReference": google_privacy_dlp_v2_table_reference
219772219775
"/dlp:v2/GooglePrivacyDlpV2TableReference/datasetId": dataset_id
219776+
"/dlp:v2/GooglePrivacyDlpV2TableReference/projectId": project_id
219773219777
"/dlp:v2/GooglePrivacyDlpV2TableReference/tableId": table_id
219774219778
"/dlp:v2/GooglePrivacyDlpV2Tag": google_privacy_dlp_v2_tag
219775219779
"/dlp:v2/GooglePrivacyDlpV2Tag/key": key

generated/google-apis-dlp_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dlp_v2
22

3+
### v0.89.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250525
6+
37
### v0.88.0 (2025-05-25)
48

59
* Regenerated from discovery document revision 20250518

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,6 +2427,13 @@ class GooglePrivacyDlpV2DataProfileAction
24272427
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle]
24282428
attr_accessor :publish_to_chronicle
24292429

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+
24302437
# If set, a summary finding will be created or updated in Security Command
24312438
# Center for each profile.
24322439
# Corresponds to the JSON property `publishToScc`
@@ -2451,6 +2458,7 @@ def update!(**args)
24512458
@export_data = args[:export_data] if args.key?(:export_data)
24522459
@pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification)
24532460
@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)
24542462
@publish_to_scc = args[:publish_to_scc] if args.key?(:publish_to_scc)
24552463
@tag_resources = args[:tag_resources] if args.key?(:tag_resources)
24562464
end
@@ -8450,6 +8458,32 @@ def update!(**args)
84508458
end
84518459
end
84528460

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+
84538487
# Publish a message into a given Pub/Sub topic when DlpJob has completed. The
84548488
# message contains a single field, `DlpJobName`, which is equal to the finished
84558489
# job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/
@@ -10094,6 +10128,13 @@ class GooglePrivacyDlpV2TableReference
1009410128
# @return [String]
1009510129
attr_accessor :dataset_id
1009610130

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+
1009710138
# Name of the table.
1009810139
# Corresponds to the JSON property `tableId`
1009910140
# @return [String]
@@ -10106,6 +10147,7 @@ def initialize(**args)
1010610147
# Update properties of this object
1010710148
def update!(**args)
1010810149
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
10150+
@project_id = args[:project_id] if args.key?(:project_id)
1010910151
@table_id = args[:table_id] if args.key?(:table_id)
1011010152
end
1011110153
end

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DlpV2
1818
# Version of the google-apis-dlp_v2 gem
19-
GEM_VERSION = "0.88.0"
19+
GEM_VERSION = "0.89.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250518"
25+
REVISION = "20250525"
2626
end
2727
end
2828
end

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
14621462
include Google::Apis::Core::JsonObjectSupport
14631463
end
14641464

1465+
class GooglePrivacyDlpV2PublishToDataplexCatalog
1466+
class Representation < Google::Apis::Core::JsonRepresentation; end
1467+
1468+
include Google::Apis::Core::JsonObjectSupport
1469+
end
1470+
14651471
class GooglePrivacyDlpV2PublishToPubSub
14661472
class Representation < Google::Apis::Core::JsonRepresentation; end
14671473

@@ -2708,6 +2714,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
27082714

27092715
property :publish_to_chronicle, as: 'publishToChronicle', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle::Representation
27102716

2717+
property :publish_to_dataplex_catalog, as: 'publishToDataplexCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToDataplexCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToDataplexCatalog::Representation
2718+
27112719
property :publish_to_scc, as: 'publishToScc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter::Representation
27122720

27132721
property :tag_resources, as: 'tagResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources::Representation
@@ -4528,6 +4536,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
45284536
end
45294537
end
45304538

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+
45314546
class GooglePrivacyDlpV2PublishToPubSub
45324547
# @private
45334548
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5048,6 +5063,7 @@ class GooglePrivacyDlpV2TableReference
50485063
# @private
50495064
class Representation < Google::Apis::Core::JsonRepresentation
50505065
property :dataset_id, as: 'datasetId'
5066+
property :project_id, as: 'projectId'
50515067
property :table_id, as: 'tableId'
50525068
end
50535069
end

0 commit comments

Comments
 (0)