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.
505 506 507 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 505 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
498 499 500 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 498 def destination @destination end |
#source ⇒ String
The attack node uuid of the source node.
Corresponds to the JSON property source
503 504 505 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 503 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
510 511 512 513 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 510 def update!(**args) @destination = args[:destination] if args.key?(:destination) @source = args[:source] if args.key?(:source) end |