Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ToxicCombination

Returns a new instance of GoogleCloudSecuritycenterV2ToxicCombination.



9967
9968
9969
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9967

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

Instance Attribute Details

#attack_exposure_scoreFloat

Corresponds to the JSON property attackExposureScore

Returns:

  • (Float)


9960
9961
9962
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9960

def attack_exposure_score
  @attack_exposure_score
end

Corresponds to the JSON property relatedFindings

Returns:

  • (Array<String>)


9965
9966
9967
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9965

def related_findings
  @related_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9972
9973
9974
9975
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9972

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