Class: Google::Apis::CloudsearchV1::DataLossPreventionMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::DataLossPreventionMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Annotation metadata for Data Loss Prevention that pertains to DLP violation on message send or edit events. It is used for client -> BE communication and other downstream process in BE (e.g. storage and audit logging), and it should never be returned to the client.
Instance Attribute Summary collapse
-
#dlp_message_scan_record ⇒ Google::Apis::CloudsearchV1::DlpMessageScanRecord
A summary of a DLP scan.
-
#dlp_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event.
-
#warn_acknowledged ⇒ Boolean
(also: #warn_acknowledged?)
Flag set by client on message resend to bypass WARN violation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataLossPreventionMetadata
constructor
A new instance of DataLossPreventionMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataLossPreventionMetadata
Returns a new instance of DataLossPreventionMetadata.
7184 7185 7186 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dlp_message_scan_record ⇒ Google::Apis::CloudsearchV1::DlpMessageScanRecord
A summary of a DLP scan. This is a combination summary that contains both scan
on message and scan on attachments if any.
Corresponds to the JSON property dlpMessageScanRecord
7169 7170 7171 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7169 def @dlp_message_scan_record end |
#dlp_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event. This is a summary and should contain the
minimum amount of data required to identify and process DLP scans. It is
written to Starcast and encoded & returned to the client on attachment upload.
Corresponds to the JSON property dlpScanSummary
7176 7177 7178 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7176 def dlp_scan_summary @dlp_scan_summary end |
#warn_acknowledged ⇒ Boolean Also known as: warn_acknowledged?
Flag set by client on message resend to bypass WARN violation.
Corresponds to the JSON property warnAcknowledged
7181 7182 7183 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7181 def warn_acknowledged @warn_acknowledged end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7189 7190 7191 7192 7193 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7189 def update!(**args) @dlp_message_scan_record = args[:dlp_message_scan_record] if args.key?(:dlp_message_scan_record) @dlp_scan_summary = args[:dlp_scan_summary] if args.key?(:dlp_scan_summary) @warn_acknowledged = args[:warn_acknowledged] if args.key?(:warn_acknowledged) end |