Class: Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomThreatScenarioConfig
- 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
CustomThreatScenarioConfig represents a user-defined threat scenario configuration.
Instance Attribute Summary collapse
-
#document_condition ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomThreatScenarioConfig
constructor
A new instance of CustomThreatScenarioConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomThreatScenarioConfig
Returns a new instance of CustomThreatScenarioConfig.
525 526 527 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 525 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_condition ⇒ String
Required. The condition driving the scenario, stored as a stringified JSON.
This is used to query/filter documents.
Corresponds to the JSON property documentCondition
523 524 525 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 523 def document_condition @document_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
530 531 532 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 530 def update!(**args) @document_condition = args[:document_condition] if args.key?(:document_condition) end |