Class: Google::Apis::SecuritycenterV1::AttackStepNode
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AttackStepNode
- 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
Detailed steps the attack can take between path nodes.
Instance Attribute Summary collapse
-
#description ⇒ String
Attack step description Corresponds to the JSON property
description
. -
#display_name ⇒ String
User friendly name of the attack step Corresponds to the JSON property
displayName
. -
#labels ⇒ Hash<String,String>
Attack step labels for metadata Corresponds to the JSON property
labels
. -
#type ⇒ String
Attack step type.
-
#uuid ⇒ String
Unique ID for one Node Corresponds to the JSON property
uuid
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttackStepNode
constructor
A new instance of AttackStepNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttackStepNode
Returns a new instance of AttackStepNode.
597 598 599 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Attack step description
Corresponds to the JSON property description
575 576 577 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 575 def description @description end |
#display_name ⇒ String
User friendly name of the attack step
Corresponds to the JSON property displayName
580 581 582 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 580 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Attack step labels for metadata
Corresponds to the JSON property labels
585 586 587 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 585 def labels @labels end |
#type ⇒ String
Attack step type. Can be either AND, OR or DEFENSE
Corresponds to the JSON property type
590 591 592 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 590 def type @type end |
#uuid ⇒ String
Unique ID for one Node
Corresponds to the JSON property uuid
595 596 597 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 595 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
602 603 604 605 606 607 608 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 602 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) @type = args[:type] if args.key?(:type) @uuid = args[:uuid] if args.key?(:uuid) end |