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.
583 584 585 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 583 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Attack step description
Corresponds to the JSON property description
561 562 563 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 561 def description @description end |
#display_name ⇒ String
User friendly name of the attack step
Corresponds to the JSON property displayName
566 567 568 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 566 def display_name @display_name end |
#labels ⇒ Hash<String,String>
Attack step labels for metadata
Corresponds to the JSON property labels
571 572 573 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 571 def labels @labels end |
#type ⇒ String
Attack step type. Can be either AND, OR or DEFENSE
Corresponds to the JSON property type
576 577 578 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 576 def type @type end |
#uuid ⇒ String
Unique ID for one Node
Corresponds to the JSON property uuid
581 582 583 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 581 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
588 589 590 591 592 593 594 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 588 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 |