Class: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig
- 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
TechnologyWatchListConfig is the configuration for the technology watchlist.
Instance Attribute Summary collapse
-
#alert_threshold ⇒ Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListAlertThreshold
TechnologyWatchListAlertThreshold contains the thresholds for alerting.
-
#technologies ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TechnologyWatchListConfig
constructor
A new instance of TechnologyWatchListConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TechnologyWatchListConfig
Returns a new instance of TechnologyWatchListConfig.
2121 2122 2123 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_threshold ⇒ Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListAlertThreshold
TechnologyWatchListAlertThreshold contains the thresholds for alerting.
Corresponds to the JSON property alertThreshold
2113 2114 2115 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2113 def alert_threshold @alert_threshold end |
#technologies ⇒ Array<String>
Optional. List of vendor, technology or cpe fingerprint. example: Microsoft
office 360 Apache Server 3.5 cpe:2.3:a:microsoft:outlook::::::::
Corresponds to the JSON property technologies
2119 2120 2121 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2119 def technologies @technologies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2126 2127 2128 2129 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2126 def update!(**args) @alert_threshold = args[:alert_threshold] if args.key?(:alert_threshold) @technologies = args[:technologies] if args.key?(:technologies) end |