Class: Google::Apis::SecuritycenterV1::AttackPathNode
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AttackPathNode
- 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
-
#associated_findings ⇒ Array<Google::Apis::SecuritycenterV1::PathNodeAssociatedFinding>
Corresponds to the JSON property
associatedFindings. -
#attack_steps ⇒ Array<Google::Apis::SecuritycenterV1::AttackStepNode>
Corresponds to the JSON property
attackSteps. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#resource ⇒ String
Corresponds to the JSON property
resource. -
#resource_type ⇒ String
Corresponds to the JSON property
resourceType. -
#uuid ⇒ String
Corresponds to the JSON property
uuid.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttackPathNode
constructor
A new instance of AttackPathNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttackPathNode
Returns a new instance of AttackPathNode.
813 814 815 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#associated_findings ⇒ Array<Google::Apis::SecuritycenterV1::PathNodeAssociatedFinding>
Corresponds to the JSON property associatedFindings
786 787 788 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 786 def associated_findings @associated_findings end |
#attack_steps ⇒ Array<Google::Apis::SecuritycenterV1::AttackStepNode>
Corresponds to the JSON property attackSteps
791 792 793 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 791 def attack_steps @attack_steps end |
#display_name ⇒ String
Corresponds to the JSON property displayName
796 797 798 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 796 def display_name @display_name end |
#resource ⇒ String
Corresponds to the JSON property resource
801 802 803 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 801 def resource @resource end |
#resource_type ⇒ String
Corresponds to the JSON property resourceType
806 807 808 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 806 def resource_type @resource_type end |
#uuid ⇒ String
Corresponds to the JSON property uuid
811 812 813 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 811 def uuid @uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
818 819 820 821 822 823 824 825 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 818 def update!(**args) @associated_findings = args[:associated_findings] if args.key?(:associated_findings) @attack_steps = args[:attack_steps] if args.key?(:attack_steps) @display_name = args[:display_name] if args.key?(:display_name) @resource = args[:resource] if args.key?(:resource) @resource_type = args[:resource_type] if args.key?(:resource_type) @uuid = args[:uuid] if args.key?(:uuid) end |