Skip to content

Commit b5e5fe8

Browse files
feat: Automated regeneration of dlp v2 client (#24651)
Auto-created at 2025-10-19 09:24:33 +0000 using the toys pull request generator.
1 parent bad4488 commit b5e5fe8

File tree

6 files changed

+208
-151
lines changed

6 files changed

+208
-151
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233152,10 +233152,12 @@
233152233152
"/dlp:v2/GooglePrivacyDlpV2RedactConfig": google_privacy_dlp_v2_redact_config
233153233153
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest": google_privacy_dlp_v2_redact_image_request
233154233154
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/byteItem": byte_item
233155+
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/deidentifyTemplate": deidentify_template
233155233156
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs": image_redaction_configs
233156233157
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config
233157233158
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/includeFindings": include_findings
233158233159
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectConfig": inspect_config
233160+
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectTemplate": inspect_template
233159233161
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/locationId": location_id
233160233162
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse": google_privacy_dlp_v2_redact_image_response
233161233163
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/extractedText": extracted_text

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.100.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251012
6+
37
### v0.99.0 (2025-09-28)
48

59
* Regenerated from discovery document revision 20250921

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

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,14 @@ class GooglePrivacyDlpV2Action
6767
attr_accessor :publish_findings_to_cloud_data_catalog
6868

6969
# Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-
70-
# data-protection-job-result` aspect. To learn more about aspects, see [Send
71-
# inspection results to Dataplex Universal Catalog as aspects](https://cloud.
72-
# google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects
73-
# are persisted in Dataplex Universal Catalog storage and are governed by
74-
# service-specific policies for Dataplex Universal Catalog. For more information,
75-
# see [Service Specific Terms](https://cloud.google.com/terms/service-terms).
76-
# Only a single instance of this action can be specified. This action is allowed
77-
# only if all resources being scanned are BigQuery tables. Compatible with:
78-
# Inspect
70+
# data-protection-job-result` aspect. For more information, see [Send inspection
71+
# results to Dataplex Universal Catalog as aspects](https://cloud.google.com/
72+
# sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored
73+
# in Dataplex Universal Catalog storage and are governed by service-specific
74+
# policies for Dataplex Universal Catalog. For more information, see [Service
75+
# Specific Terms](https://cloud.google.com/terms/service-terms). Only a single
76+
# instance of this action can be specified. This action is allowed only if all
77+
# resources being scanned are BigQuery tables. Compatible with: Inspect
7978
# Corresponds to the JSON property `publishFindingsToDataplexCatalog`
8079
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog]
8180
attr_accessor :publish_findings_to_dataplex_catalog
@@ -8552,15 +8551,14 @@ def update!(**args)
85528551
end
85538552

85548553
# Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-
8555-
# data-protection-job-result` aspect. To learn more about aspects, see [Send
8556-
# inspection results to Dataplex Universal Catalog as aspects](https://cloud.
8557-
# google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects
8558-
# are persisted in Dataplex Universal Catalog storage and are governed by
8559-
# service-specific policies for Dataplex Universal Catalog. For more information,
8560-
# see [Service Specific Terms](https://cloud.google.com/terms/service-terms).
8561-
# Only a single instance of this action can be specified. This action is allowed
8562-
# only if all resources being scanned are BigQuery tables. Compatible with:
8563-
# Inspect
8554+
# data-protection-job-result` aspect. For more information, see [Send inspection
8555+
# results to Dataplex Universal Catalog as aspects](https://cloud.google.com/
8556+
# sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored
8557+
# in Dataplex Universal Catalog storage and are governed by service-specific
8558+
# policies for Dataplex Universal Catalog. For more information, see [Service
8559+
# Specific Terms](https://cloud.google.com/terms/service-terms). Only a single
8560+
# instance of this action can be specified. This action is allowed only if all
8561+
# resources being scanned are BigQuery tables. Compatible with: Inspect
85648562
class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog
85658563
include Google::Apis::Core::Hashable
85668564

@@ -9012,6 +9010,14 @@ class GooglePrivacyDlpV2RedactImageRequest
90129010
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]
90139011
attr_accessor :byte_item
90149012

9013+
# The full resource name of the de-identification template to use. Settings in
9014+
# the main `image_redaction_configs` field override the corresponding settings
9015+
# in this de-identification template. The request fails if the type of the
9016+
# template's deidentify_config is not image_transformations.
9017+
# Corresponds to the JSON property `deidentifyTemplate`
9018+
# @return [String]
9019+
attr_accessor :deidentify_template
9020+
90159021
# The configuration for specifying what content to redact from images.
90169022
# Corresponds to the JSON property `imageRedactionConfigs`
90179023
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
@@ -9029,6 +9035,16 @@ class GooglePrivacyDlpV2RedactImageRequest
90299035
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
90309036
attr_accessor :inspect_config
90319037

9038+
# The full resource name of the inspection template to use. Settings in the main
9039+
# `inspect_config` field override the corresponding settings in this inspection
9040+
# template. The merge behavior is as follows: - Singular field: The main field's
9041+
# value replaces the value of the corresponding field in the template. -
9042+
# Repeated fields: The field values are appended to the list defined in the
9043+
# template. - Sub-messages and groups: The fields are recursively merged.
9044+
# Corresponds to the JSON property `inspectTemplate`
9045+
# @return [String]
9046+
attr_accessor :inspect_template
9047+
90329048
# Deprecated. This field has no effect.
90339049
# Corresponds to the JSON property `locationId`
90349050
# @return [String]
@@ -9041,9 +9057,11 @@ def initialize(**args)
90419057
# Update properties of this object
90429058
def update!(**args)
90439059
@byte_item = args[:byte_item] if args.key?(:byte_item)
9060+
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
90449061
@image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
90459062
@include_findings = args[:include_findings] if args.key?(:include_findings)
90469063
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
9064+
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
90479065
@location_id = args[:location_id] if args.key?(:location_id)
90489066
end
90499067
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.99.0"
19+
GEM_VERSION = "0.100.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 = "20250921"
25+
REVISION = "20251012"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4777,11 +4777,13 @@ class GooglePrivacyDlpV2RedactImageRequest
47774777
class Representation < Google::Apis::Core::JsonRepresentation
47784778
property :byte_item, as: 'byteItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem::Representation
47794779

4780+
property :deidentify_template, as: 'deidentifyTemplate'
47804781
collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig::Representation
47814782

47824783
property :include_findings, as: 'includeFindings'
47834784
property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation
47844785

4786+
property :inspect_template, as: 'inspectTemplate'
47854787
property :location_id, as: 'locationId'
47864788
end
47874789
end

0 commit comments

Comments
 (0)