Class: Google::Apis::SecuritycenterV1::AttackPathEdge
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AttackPathEdge
- 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
Represents a connection between a source node and a destination node in this attack path.
Instance Attribute Summary collapse
-
#destination ⇒ String
The attack node uuid of the destination node.
-
#source ⇒ String
The attack node uuid of the source node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttackPathEdge
constructor
A new instance of AttackPathEdge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttackPathEdge
Returns a new instance of AttackPathEdge.
491 492 493 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
The attack node uuid of the destination node.
Corresponds to the JSON property destination
484 485 486 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 484 def destination @destination end |
#source ⇒ String
The attack node uuid of the source node.
Corresponds to the JSON property source
489 490 491 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 489 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 499 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 496 def update!(**args) @destination = args[:destination] if args.key?(:destination) @source = args[:source] if args.key?(:source) end |