Class: Google::Apis::ThreatintelligenceV1beta::TechnologyWatchListConfig

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

Instance Method Summary collapse

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_thresholdGoogle::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

#technologiesArray<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

Returns:

  • (Array<String>)


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