Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233064,10 +233064,12 @@
"/dlp:v2/GooglePrivacyDlpV2RedactConfig": google_privacy_dlp_v2_redact_config
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest": google_privacy_dlp_v2_redact_image_request
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/byteItem": byte_item
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/deidentifyTemplate": deidentify_template
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs": image_redaction_configs
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/includeFindings": include_findings
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectConfig": inspect_config
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectTemplate": inspect_template
"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/locationId": location_id
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse": google_privacy_dlp_v2_redact_image_response
"/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/extractedText": extracted_text
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-dlp_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-dlp_v2

### v0.100.0 (2025-10-19)

* Regenerated from discovery document revision 20251012

### v0.99.0 (2025-09-28)

* Regenerated from discovery document revision 20250921
Expand Down
54 changes: 36 additions & 18 deletions generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,14 @@ class GooglePrivacyDlpV2Action
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
# data-protection-job-result` aspect. For more information, see [Send inspection
# results to Dataplex Universal Catalog as aspects](https://cloud.google.com/
# sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored
# 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
Expand Down Expand Up @@ -8552,15 +8551,14 @@ def update!(**args)
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
# data-protection-job-result` aspect. For more information, see [Send inspection
# results to Dataplex Universal Catalog as aspects](https://cloud.google.com/
# sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored
# 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

Expand Down Expand Up @@ -9012,6 +9010,14 @@ class GooglePrivacyDlpV2RedactImageRequest
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]
attr_accessor :byte_item

# The full resource name of the de-identification template to use. Settings in
# the main `image_redaction_configs` field override the corresponding settings
# in this de-identification template. The request fails if the type of the
# template's deidentify_config is not image_transformations.
# Corresponds to the JSON property `deidentifyTemplate`
# @return [String]
attr_accessor :deidentify_template

# The configuration for specifying what content to redact from images.
# Corresponds to the JSON property `imageRedactionConfigs`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>]
Expand All @@ -9029,6 +9035,16 @@ class GooglePrivacyDlpV2RedactImageRequest
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
attr_accessor :inspect_config

# The full resource name of the inspection template to use. Settings in the main
# `inspect_config` field override the corresponding settings in this inspection
# template. The merge behavior is as follows: - Singular field: The main field's
# value replaces the value of the corresponding field in the template. -
# Repeated fields: The field values are appended to the list defined in the
# template. - Sub-messages and groups: The fields are recursively merged.
# Corresponds to the JSON property `inspectTemplate`
# @return [String]
attr_accessor :inspect_template

# Deprecated. This field has no effect.
# Corresponds to the JSON property `locationId`
# @return [String]
Expand All @@ -9041,9 +9057,11 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@byte_item = args[:byte_item] if args.key?(:byte_item)
@deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
@image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
@include_findings = args[:include_findings] if args.key?(:include_findings)
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
@location_id = args[:location_id] if args.key?(:location_id)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DlpV2
# Version of the google-apis-dlp_v2 gem
GEM_VERSION = "0.99.0"
GEM_VERSION = "0.100.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 = "20250921"
REVISION = "20251012"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -4777,11 +4777,13 @@ class GooglePrivacyDlpV2RedactImageRequest
class Representation < Google::Apis::Core::JsonRepresentation
property :byte_item, as: 'byteItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem::Representation

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

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

property :inspect_template, as: 'inspectTemplate'
property :location_id, as: 'locationId'
end
end
Expand Down
Loading