Class: Google::Apis::SecuritycenterV1beta2::ToxicCombination
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::ToxicCombination
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#attack_exposure_score ⇒ Float
Corresponds to the JSON property
attackExposureScore. -
#related_findings ⇒ Array<String>
Corresponds to the JSON property
relatedFindings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToxicCombination
constructor
A new instance of ToxicCombination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ToxicCombination
Returns a new instance of ToxicCombination.
11414 11415 11416 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attack_exposure_score ⇒ Float
Corresponds to the JSON property attackExposureScore
11407 11408 11409 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11407 def attack_exposure_score @attack_exposure_score end |
#related_findings ⇒ Array<String>
Corresponds to the JSON property relatedFindings
11412 11413 11414 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11412 def @related_findings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11419 11420 11421 11422 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11419 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 |