Class: Google::Apis::ThreatintelligenceV1beta::InsiderThreatAlertDetail
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::InsiderThreatAlertDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb
Overview
Captures the specific details of InsiderThreat alert.
Instance Attribute Summary collapse
-
#discovery_document_ids ⇒ Array<String>
Required.
-
#severity ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsiderThreatAlertDetail
constructor
A new instance of InsiderThreatAlertDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InsiderThreatAlertDetail
Returns a new instance of InsiderThreatAlertDetail.
1377 1378 1379 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#discovery_document_ids ⇒ Array<String>
Required. Array of ids to accommodate multiple discovery documents
Corresponds to the JSON property discoveryDocumentIds
1369 1370 1371 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1369 def discovery_document_ids @discovery_document_ids end |
#severity ⇒ String
Required. The severity of the Insider Threat alert. Allowed values are: * LOW
MEDIUM*HIGH*CRITICALCorresponds to the JSON propertyseverity
1375 1376 1377 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1375 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1382 1383 1384 1385 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1382 def update!(**args) @discovery_document_ids = args[:discovery_document_ids] if args.key?(:discovery_document_ids) @severity = args[:severity] if args.key?(:severity) end |