Class: Google::Apis::SecuritycenterV1beta1::AssociatedFinding
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::AssociatedFinding
- 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
Overview
A finding that is associated with this node in the exposure path.
Instance Attribute Summary collapse
-
#canonical_finding_name ⇒ 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) ⇒ AssociatedFinding
constructor
A new instance of AssociatedFinding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssociatedFinding
Returns a new instance of AssociatedFinding.
287 288 289 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 287 def initialize(**args) update!(**args) end |
Instance Attribute Details
#canonical_finding_name ⇒ String
Canonical name of the associated findings. Example: organizations/123/sources/
456/findings/789
Corresponds to the JSON property canonicalFindingName
275 276 277 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 275 def canonical_finding_name @canonical_finding_name end |
#finding_category ⇒ String
The additional taxonomy group within findings from a given source.
Corresponds to the JSON property findingCategory
280 281 282 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 280 def finding_category @finding_category end |
#name ⇒ String
Full resource name of the finding.
Corresponds to the JSON property name
285 286 287 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 285 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
292 293 294 295 296 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 292 def update!(**args) @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name) @finding_category = args[:finding_category] if args.key?(:finding_category) @name = args[:name] if args.key?(:name) end |