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
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265282,6 +265282,8 @@
"/dlp:v2/GooglePrivacyDlpV2ConversationLocation/messageIndex": message_index
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage": google_privacy_dlp_v2_conversation_message
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage/content": content
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage/messageParts": message_parts
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage/messageParts/message_part": message_part
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage/messageType": message_type
"/dlp:v2/GooglePrivacyDlpV2ConversationMessage/participantId": participant_id
"/dlp:v2/GooglePrivacyDlpV2CreateConnectionRequest": google_privacy_dlp_v2_create_connection_request
Expand Down Expand Up @@ -266084,6 +266086,8 @@
"/dlp:v2/GooglePrivacyDlpV2LoggingConfig": google_privacy_dlp_v2_logging_config
"/dlp:v2/GooglePrivacyDlpV2LoggingConfig/logToBigQuery": log_to_big_query
"/dlp:v2/GooglePrivacyDlpV2Manual": google_privacy_dlp_v2_manual
"/dlp:v2/GooglePrivacyDlpV2MessagePart": google_privacy_dlp_v2_message_part
"/dlp:v2/GooglePrivacyDlpV2MessagePart/text": text
"/dlp:v2/GooglePrivacyDlpV2MetadataKeyValueExpression": google_privacy_dlp_v2_metadata_key_value_expression
"/dlp:v2/GooglePrivacyDlpV2MetadataKeyValueExpression/keyRegex": key_regex
"/dlp:v2/GooglePrivacyDlpV2MetadataKeyValueExpression/valueRegex": value_regex
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.116.0 (2026-09-06)

* Regenerated from discovery document revision 20260829

### v0.115.0 (2026-08-30)

* Regenerated from discovery document revision 20260825
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-dlp_v2/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
google-apis-dlp_v2 (0.115.0)
google-apis-dlp_v2 (0.116.0)
google-apis-core (>= 0.15.0, < 2.a)

GEM
Expand Down Expand Up @@ -106,7 +106,7 @@ CHECKSUMS
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337
google-apis-dlp_v2 (0.115.0)
google-apis-dlp_v2 (0.116.0)
google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
googleauth (1.17.1) sha256=0f7e6fc70e204cee1b2d71f1e1de2d3b349d432404197fe68ebf7fa23d0821b9
Expand Down
45 changes: 28 additions & 17 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 @@ -2184,14 +2184,6 @@ class GooglePrivacyDlpV2ContentPolicy
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
attr_accessor :inspect_config

# The inspectTemplate contains a configuration (set of types of sensitive data
# to be detected) to be used anywhere you otherwise would normally specify
# InspectConfig. See https://docs.cloud.google.com/sensitive-data-protection/
# docs/concepts-templates to learn more.
# Corresponds to the JSON property `inspectTemplate`
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
attr_accessor :inspect_template

# Optional. Log the actions taken by the content policy to external systems.
# Corresponds to the JSON property `loggingConfigs`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig>]
Expand Down Expand Up @@ -2231,7 +2223,6 @@ def update!(**args)
@failed_to_scan_supported_file_type = args[:failed_to_scan_supported_file_type] if args.key?(:failed_to_scan_supported_file_type)
@input_too_large = args[:input_too_large] if args.key?(:input_too_large)
@inspect_config = args[:inspect_config] if args.key?(:inspect_config)
@inspect_template = args[:inspect_template] if args.key?(:inspect_template)
@logging_configs = args[:logging_configs] if args.key?(:logging_configs)
@name = args[:name] if args.key?(:name)
@rules = args[:rules] if args.key?(:rules)
Expand Down Expand Up @@ -2291,11 +2282,18 @@ def update!(**args)
class GooglePrivacyDlpV2ConversationMessage
include Google::Apis::Core::Hashable

# The contents of this message.
# Deprecated: Use `message_parts` instead. The contents of this message. Only
# one of `content` and `message_parts` can be set.
# Corresponds to the JSON property `content`
# @return [String]
attr_accessor :content

# Optional. The parts of the message. Restricted to being at most a single text
# item. Only one of `content` and `message_parts` can be set.
# Corresponds to the JSON property `messageParts`
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart>]
attr_accessor :message_parts

# The type of message.
# Corresponds to the JSON property `messageType`
# @return [String]
Expand All @@ -2316,6 +2314,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@content = args[:content] if args.key?(:content)
@message_parts = args[:message_parts] if args.key?(:message_parts)
@message_type = args[:message_type] if args.key?(:message_type)
@participant_id = args[:participant_id] if args.key?(:participant_id)
end
Expand Down Expand Up @@ -8566,6 +8565,25 @@ def update!(**args)
end
end

# A part of a conversation message.
class GooglePrivacyDlpV2MessagePart
include Google::Apis::Core::Hashable

# String content for text-based messages.
# Corresponds to the JSON property `text`
# @return [String]
attr_accessor :text

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@text = args[:text] if args.key?(:text)
end
end

# Configuration for a custom infoType that detects key-value pairs in the
# metadata matching the specified regular expressions.
class GooglePrivacyDlpV2MetadataKeyValueExpression
Expand Down Expand Up @@ -9107,12 +9125,6 @@ class GooglePrivacyDlpV2PolicyRule
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition>]
attr_accessor :conditions

# If set, the verdict will be returned to the user. Deprecated: Use `action`
# instead.
# Corresponds to the JSON property `returnVerdict`
# @return [String]
attr_accessor :return_verdict

def initialize(**args)
update!(**args)
end
Expand All @@ -9121,7 +9133,6 @@ def initialize(**args)
def update!(**args)
@action = args[:action] if args.key?(:action)
@conditions = args[:conditions] if args.key?(:conditions)
@return_verdict = args[:return_verdict] if args.key?(:return_verdict)
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.115.0"
GEM_VERSION = "0.116.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.19.0"

# Revision of the discovery document this client was generated from
REVISION = "20260825"
REVISION = "20260829"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GooglePrivacyDlpV2MessagePart
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GooglePrivacyDlpV2MetadataKeyValueExpression
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -2940,8 +2946,6 @@ class Representation < Google::Apis::Core::JsonRepresentation

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

property :inspect_template, as: 'inspectTemplate', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation

collection :logging_configs, as: 'loggingConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig::Representation

property :name, as: 'name'
Expand Down Expand Up @@ -2974,6 +2978,8 @@ class GooglePrivacyDlpV2ConversationMessage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :content, as: 'content'
collection :message_parts, as: 'messageParts', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MessagePart::Representation

property :message_type, as: 'messageType'
property :participant_id, as: 'participantId'
end
Expand Down Expand Up @@ -4867,6 +4873,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GooglePrivacyDlpV2MessagePart
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :text, as: 'text'
end
end

class GooglePrivacyDlpV2MetadataKeyValueExpression
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -5051,7 +5064,6 @@ class Representation < Google::Apis::Core::JsonRepresentation

collection :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition::Representation

property :return_verdict, as: 'returnVerdict'
end
end

Expand Down
Loading