Class: Google::Apis::OndemandscanningV1beta1::Remediation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb

Overview

Specifies details on how to handle (and presumably, fix) a vulnerability.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Remediation

Returns a new instance of Remediation.



2686
2687
2688
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2686

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#detailsString

Contains a comprehensive human-readable discussion of the remediation. Corresponds to the JSON property details

Returns:

  • (String)


2674
2675
2676
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2674

def details
  @details
end

#remediation_typeString

The type of remediation that can be applied. Corresponds to the JSON property remediationType

Returns:

  • (String)


2679
2680
2681
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2679

def remediation_type
  @remediation_type
end

#remediation_uriGoogle::Apis::OndemandscanningV1beta1::RelatedUrl

Metadata for any related URL information. Corresponds to the JSON property remediationUri



2684
2685
2686
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2684

def remediation_uri
  @remediation_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2691
2692
2693
2694
2695
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 2691

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