Class: Google::Apis::SecuritycenterV1::AttackPath
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AttackPath
- 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
-
#edges ⇒ Array<Google::Apis::SecuritycenterV1::AttackPathEdge>
Corresponds to the JSON property
edges. -
#name ⇒ String
Corresponds to the JSON property
name. -
#path_nodes ⇒ Array<Google::Apis::SecuritycenterV1::AttackPathNode>
Corresponds to the JSON property
pathNodes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttackPath
constructor
A new instance of AttackPath.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttackPath
Returns a new instance of AttackPath.
667 668 669 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#edges ⇒ Array<Google::Apis::SecuritycenterV1::AttackPathEdge>
Corresponds to the JSON property edges
655 656 657 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 655 def edges @edges end |
#name ⇒ String
Corresponds to the JSON property name
660 661 662 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 660 def name @name end |
#path_nodes ⇒ Array<Google::Apis::SecuritycenterV1::AttackPathNode>
Corresponds to the JSON property pathNodes
665 666 667 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 665 def path_nodes @path_nodes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
672 673 674 675 676 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 672 def update!(**args) @edges = args[:edges] if args.key?(:edges) @name = args[:name] if args.key?(:name) @path_nodes = args[:path_nodes] if args.key?(:path_nodes) end |