Class: Google::Apis::ContaineranalysisV1beta1::Remediation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Remediation

Returns a new instance of Remediation.



5295
5296
5297
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5295

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)


5278
5279
5280
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5278

def details
  @details
end

#remediation_timeString

Contains the date from which the remediation is available. Corresponds to the JSON property remediationTime

Returns:

  • (String)


5283
5284
5285
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5283

def remediation_time
  @remediation_time
end

#remediation_typeString

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

Returns:

  • (String)


5288
5289
5290
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5288

def remediation_type
  @remediation_type
end

#remediation_uriGoogle::Apis::ContaineranalysisV1beta1::RelatedUrl

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



5293
5294
5295
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5293

def remediation_uri
  @remediation_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5300
5301
5302
5303
5304
5305
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 5300

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