Class: Google::Apis::OndemandscanningV1::Remediation
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::Remediation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_v1/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::OndemandscanningV1::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.
3297 3298 3299 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3297 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
3285 3286 3287 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3285 def details @details end |
#remediation_type ⇒ String
The type of remediation that can be applied.
Corresponds to the JSON property remediationType
3290 3291 3292 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3290 def remediation_type @remediation_type end |
#remediation_uri ⇒ Google::Apis::OndemandscanningV1::RelatedUrl
Metadata for any related URL information.
Corresponds to the JSON property remediationUri
3295 3296 3297 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3295 def remediation_uri @remediation_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3302 3303 3304 3305 3306 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 3302 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 |