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.
2292 2293 2294 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2292 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
2284 2285 2286 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2284 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
2290 2291 2292 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2290 def technologies @technologies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2297 2298 2299 2300 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2297 def update!(**args) @alert_threshold = args[:alert_threshold] if args.key?(:alert_threshold) @technologies = args[:technologies] if args.key?(:technologies) end |