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
Instance Attribute Summary collapse
-
#destination ⇒ String
Corresponds to the JSON property
destination. -
#source ⇒ String
Corresponds to the JSON property
source.
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.
693 694 695 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
Corresponds to the JSON property destination
686 687 688 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 686 def destination @destination end |
#source ⇒ String
Corresponds to the JSON property source
691 692 693 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 691 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
698 699 700 701 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 698 def update!(**args) @destination = args[:destination] if args.key?(:destination) @source = args[:source] if args.key?(:source) end |