Class: Google::Apis::ContaineranalysisV1beta1::Threat
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::Threat
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Contains the vulnerability kinetic information. This information can change as the vulnerability ages and new information becomes available.
Instance Attribute Summary collapse
-
#details ⇒ String
Represents a thorough human-readable discussion of the threat.
-
#threat_type ⇒ String
The type of threat.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Threat
constructor
A new instance of Threat.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Threat
Returns a new instance of Threat.
5637 5638 5639 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Represents a thorough human-readable discussion of the threat.
Corresponds to the JSON property details
5630 5631 5632 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5630 def details @details end |
#threat_type ⇒ String
The type of threat.
Corresponds to the JSON property threatType
5635 5636 5637 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5635 def threat_type @threat_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5642 5643 5644 5645 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5642 def update!(**args) @details = args[:details] if args.key?(:details) @threat_type = args[:threat_type] if args.key?(:threat_type) end |