Class: Google::Apis::ContaineranalysisV1beta1::Remediation
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::Remediation
- 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
Specifies details on how to handle (and presumably, fix) a vulnerability.
Instance Attribute Summary collapse
-
#details ⇒ String
Contains a comprehensive human-readable discussion of the remediation.
-
#remediation_time ⇒ String
Contains the date from which the remediation is available.
-
#remediation_type ⇒ String
The type of remediation that can be applied.
-
#remediation_uri ⇒ Google::Apis::ContaineranalysisV1beta1::RelatedUrl
Metadata for any related URL information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Remediation
constructor
A new instance of Remediation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Remediation
Returns a new instance of Remediation.
5261 5262 5263 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Contains a comprehensive human-readable discussion of the remediation.
Corresponds to the JSON property details
5244 5245 5246 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5244 def details @details end |
#remediation_time ⇒ String
Contains the date from which the remediation is available.
Corresponds to the JSON property remediationTime
5249 5250 5251 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5249 def remediation_time @remediation_time end |
#remediation_type ⇒ String
The type of remediation that can be applied.
Corresponds to the JSON property remediationType
5254 5255 5256 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5254 def remediation_type @remediation_type end |
#remediation_uri ⇒ Google::Apis::ContaineranalysisV1beta1::RelatedUrl
Metadata for any related URL information.
Corresponds to the JSON property remediationUri
5259 5260 5261 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5259 def remediation_uri @remediation_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5266 5267 5268 5269 5270 5271 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5266 def update!(**args) @details = args[:details] if args.key?(:details) @remediation_time = args[:remediation_time] if args.key?(:remediation_time) @remediation_type = args[:remediation_type] if args.key?(:remediation_type) @remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri) end |