Class: Google::Apis::ContaineranalysisV1alpha1::Remediation
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Remediation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/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_type ⇒ String
The type of remediation that can be applied.
-
#remediation_uri ⇒ Google::Apis::ContaineranalysisV1alpha1::Uri
An URI message.
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.
6177 6178 6179 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6177 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
6165 6166 6167 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6165 def details @details end |
#remediation_type ⇒ String
The type of remediation that can be applied.
Corresponds to the JSON property remediationType
6170 6171 6172 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6170 def remediation_type @remediation_type end |
#remediation_uri ⇒ Google::Apis::ContaineranalysisV1alpha1::Uri
An URI message.
Corresponds to the JSON property remediationUri
6175 6176 6177 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6175 def remediation_uri @remediation_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6182 6183 6184 6185 6186 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6182 def update!(**args) @details = args[:details] if args.key?(:details) @remediation_type = args[:remediation_type] if args.key?(:remediation_type) @remediation_uri = args[:remediation_uri] if args.key?(:remediation_uri) end |