From 3aac2280df70099bcc969f1ad457c75987927d02 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 10:58:03 +0000 Subject: [PATCH] feat: Automated regeneration of dlp v2 client --- api_names_out.yaml | 2 + generated/google-apis-dlp_v2/CHANGELOG.md | 4 ++ .../lib/google/apis/dlp_v2/classes.rb | 37 +++++++++++++++++++ .../lib/google/apis/dlp_v2/gem_version.rb | 4 +- .../lib/google/apis/dlp_v2/representations.rb | 14 +++++++ 5 files changed, 59 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..9836b2f7832 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -228728,6 +228728,7 @@ "/dlp:v2/GooglePrivacyDlpV2Action/jobNotificationEmails": job_notification_emails "/dlp:v2/GooglePrivacyDlpV2Action/pubSub": pub_sub "/dlp:v2/GooglePrivacyDlpV2Action/publishFindingsToCloudDataCatalog": publish_findings_to_cloud_data_catalog +"/dlp:v2/GooglePrivacyDlpV2Action/publishFindingsToDataplexCatalog": publish_findings_to_dataplex_catalog "/dlp:v2/GooglePrivacyDlpV2Action/publishSummaryToCscc": publish_summary_to_cscc "/dlp:v2/GooglePrivacyDlpV2Action/publishToStackdriver": publish_to_stackdriver "/dlp:v2/GooglePrivacyDlpV2Action/saveFindings": save_findings @@ -229786,6 +229787,7 @@ "/dlp:v2/GooglePrivacyDlpV2PubSubNotification/pubsubCondition": pubsub_condition "/dlp:v2/GooglePrivacyDlpV2PubSubNotification/topic": topic "/dlp:v2/GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog": google_privacy_dlp_v2_publish_findings_to_cloud_data_catalog +"/dlp:v2/GooglePrivacyDlpV2PublishFindingsToDataplexCatalog": google_privacy_dlp_v2_publish_findings_to_dataplex_catalog "/dlp:v2/GooglePrivacyDlpV2PublishSummaryToCscc": google_privacy_dlp_v2_publish_summary_to_cscc "/dlp:v2/GooglePrivacyDlpV2PublishToChronicle": google_privacy_dlp_v2_publish_to_chronicle "/dlp:v2/GooglePrivacyDlpV2PublishToDataplexCatalog": google_privacy_dlp_v2_publish_to_dataplex_catalog diff --git a/generated/google-apis-dlp_v2/CHANGELOG.md b/generated/google-apis-dlp_v2/CHANGELOG.md index 707a686b315..236398d835d 100644 --- a/generated/google-apis-dlp_v2/CHANGELOG.md +++ b/generated/google-apis-dlp_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dlp_v2 +### v0.99.0 (2025-09-28) + +* Regenerated from discovery document revision 20250921 + ### v0.98.0 (2025-09-21) * Regenerated from discovery document revision 20250914 diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb index a2ed8b0701c..889c5147267 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb @@ -66,6 +66,20 @@ class GooglePrivacyDlpV2Action # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog] attr_accessor :publish_findings_to_cloud_data_catalog + # Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive- + # data-protection-job-result` aspect. To learn more about aspects, see [Send + # inspection results to Dataplex Universal Catalog as aspects](https://cloud. + # google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects + # are persisted in Dataplex Universal Catalog storage and are governed by + # service-specific policies for Dataplex Universal Catalog. For more information, + # see [Service Specific Terms](https://cloud.google.com/terms/service-terms). + # Only a single instance of this action can be specified. This action is allowed + # only if all resources being scanned are BigQuery tables. Compatible with: + # Inspect + # Corresponds to the JSON property `publishFindingsToDataplexCatalog` + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog] + attr_accessor :publish_findings_to_dataplex_catalog + # Publish the result summary of a DlpJob to [Security Command Center](https:// # cloud.google.com/security-command-center). This action is available for only # projects that belong to an organization. This action publishes the count of @@ -102,6 +116,7 @@ def update!(**args) @job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails) @pub_sub = args[:pub_sub] if args.key?(:pub_sub) @publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog) + @publish_findings_to_dataplex_catalog = args[:publish_findings_to_dataplex_catalog] if args.key?(:publish_findings_to_dataplex_catalog) @publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc) @publish_to_stackdriver = args[:publish_to_stackdriver] if args.key?(:publish_to_stackdriver) @save_findings = args[:save_findings] if args.key?(:save_findings) @@ -8536,6 +8551,28 @@ def update!(**args) end end + # Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive- + # data-protection-job-result` aspect. To learn more about aspects, see [Send + # inspection results to Dataplex Universal Catalog as aspects](https://cloud. + # google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects + # are persisted in Dataplex Universal Catalog storage and are governed by + # service-specific policies for Dataplex Universal Catalog. For more information, + # see [Service Specific Terms](https://cloud.google.com/terms/service-terms). + # Only a single instance of this action can be specified. This action is allowed + # only if all resources being scanned are BigQuery tables. Compatible with: + # Inspect + class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Publish the result summary of a DlpJob to [Security Command Center](https:// # cloud.google.com/security-command-center). This action is available for only # projects that belong to an organization. This action publishes the count of diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb index 266faafedc1..4eec76cb93d 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DlpV2 # Version of the google-apis-dlp_v2 gem - GEM_VERSION = "0.98.0" + GEM_VERSION = "0.99.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250914" + REVISION = "20250921" end end end diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb index 04175de3c97..f3ce4c09ec3 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb @@ -1468,6 +1468,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GooglePrivacyDlpV2PublishSummaryToCscc class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2085,6 +2091,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :publish_findings_to_cloud_data_catalog, as: 'publishFindingsToCloudDataCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog::Representation + property :publish_findings_to_dataplex_catalog, as: 'publishFindingsToDataplexCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog::Representation + property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation property :publish_to_stackdriver, as: 'publishToStackdriver', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver::Representation @@ -4608,6 +4616,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GooglePrivacyDlpV2PublishSummaryToCscc # @private class Representation < Google::Apis::Core::JsonRepresentation