Class: Google::Apis::CloudsearchV1::DlpMessageScanRecord
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::DlpMessageScanRecord
- 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
A summary of a DLP scan. This is a combination summary that contains both scan on message and scan on attachments if any.
Instance Attribute Summary collapse
-
#attachment_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event.
-
#dlp_action ⇒ Google::Apis::CloudsearchV1::DlpAction
The applied action.
-
#message_scan_summary ⇒ Google::Apis::CloudsearchV1::DlpScanSummary
A summary of a DLP scan event.
-
#scan_outcome ⇒ String
The DLP scan outcome for the message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DlpMessageScanRecord
constructor
A new instance of DlpMessageScanRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DlpMessageScanRecord
Returns a new instance of DlpMessageScanRecord.
7699 7700 7701 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attachment_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 attachmentScanSummary
7680 7681 7682 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7680 def @attachment_scan_summary end |
#dlp_action ⇒ Google::Apis::CloudsearchV1::DlpAction
The applied action.
Corresponds to the JSON property dlpAction
7685 7686 7687 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7685 def dlp_action @dlp_action end |
#message_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 messageScanSummary
7692 7693 7694 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7692 def @message_scan_summary end |
#scan_outcome ⇒ String
The DLP scan outcome for the message.
Corresponds to the JSON property scanOutcome
7697 7698 7699 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7697 def scan_outcome @scan_outcome end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7704 7705 7706 7707 7708 7709 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7704 def update!(**args) @attachment_scan_summary = args[:attachment_scan_summary] if args.key?(:attachment_scan_summary) @dlp_action = args[:dlp_action] if args.key?(:dlp_action) @message_scan_summary = args[:message_scan_summary] if args.key?(:message_scan_summary) @scan_outcome = args[:scan_outcome] if args.key?(:scan_outcome) end |