Class: Google::Apis::SecuritycenterV1::PathNodeAssociatedFinding
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::PathNodeAssociatedFinding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
A finding that is associated with this node in the attack path.
Instance Attribute Summary collapse
-
#canonical_finding ⇒ String
Canonical name of the associated findings.
-
#finding_category ⇒ String
The additional taxonomy group within findings from a given source.
-
#name ⇒ String
Full resource name of the finding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PathNodeAssociatedFinding
constructor
A new instance of PathNodeAssociatedFinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PathNodeAssociatedFinding
Returns a new instance of PathNodeAssociatedFinding.
9227 9228 9229 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#canonical_finding ⇒ String
Canonical name of the associated findings. Example: organizations/123/sources/
456/findings/789
Corresponds to the JSON property canonicalFinding
9215 9216 9217 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9215 def canonical_finding @canonical_finding end |
#finding_category ⇒ String
The additional taxonomy group within findings from a given source.
Corresponds to the JSON property findingCategory
9220 9221 9222 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9220 def finding_category @finding_category end |
#name ⇒ String
Full resource name of the finding.
Corresponds to the JSON property name
9225 9226 9227 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9225 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9232 9233 9234 9235 9236 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9232 def update!(**args) @canonical_finding = args[:canonical_finding] if args.key?(:canonical_finding) @finding_category = args[:finding_category] if args.key?(:finding_category) @name = args[:name] if args.key?(:name) end |