Class: Google::Apis::CloudsearchV1::DlpMessageScanRecord

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DlpMessageScanRecord

Returns a new instance of DlpMessageScanRecord.



7763
7764
7765
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7763

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

Instance Attribute Details

#attachment_scan_summaryGoogle::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



7744
7745
7746
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7744

def attachment_scan_summary
  @attachment_scan_summary
end

#dlp_actionGoogle::Apis::CloudsearchV1::DlpAction

The applied action. Corresponds to the JSON property dlpAction



7749
7750
7751
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7749

def dlp_action
  @dlp_action
end

#message_scan_summaryGoogle::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



7756
7757
7758
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7756

def message_scan_summary
  @message_scan_summary
end

#scan_outcomeString

The DLP scan outcome for the message. Corresponds to the JSON property scanOutcome

Returns:

  • (String)


7761
7762
7763
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7761

def scan_outcome
  @scan_outcome
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7768
7769
7770
7771
7772
7773
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7768

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