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.



2292
2293
2294
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2292

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



2284
2285
2286
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 2284

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>)


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