Class: Google::Apis::SecuritycenterV1beta1::ToxicCombination

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ToxicCombination

Returns a new instance of ToxicCombination.



12195
12196
12197
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12195

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

Instance Attribute Details

#attack_exposure_scoreFloat

Corresponds to the JSON property attackExposureScore

Returns:

  • (Float)


12188
12189
12190
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12188

def attack_exposure_score
  @attack_exposure_score
end

Corresponds to the JSON property relatedFindings

Returns:

  • (Array<String>)


12193
12194
12195
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12193

def related_findings
  @related_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12200
12201
12202
12203
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 12200

def update!(**args)
  @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
  @related_findings = args[:related_findings] if args.key?(:related_findings)
end