Class: Google::Apis::SecuritycenterV1::PathNodeAssociatedFinding

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PathNodeAssociatedFinding

Returns a new instance of PathNodeAssociatedFinding.



11792
11793
11794
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11792

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

Instance Attribute Details

#canonical_findingString

Corresponds to the JSON property canonicalFinding

Returns:

  • (String)


11780
11781
11782
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11780

def canonical_finding
  @canonical_finding
end

#finding_categoryString

Corresponds to the JSON property findingCategory

Returns:

  • (String)


11785
11786
11787
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11785

def finding_category
  @finding_category
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11790
11791
11792
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11790

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11797
11798
11799
11800
11801
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11797

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