# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode.

Represents one point that an attacker passes through in this attack path.

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #associated_findings

    def associated_findings() -> ::Array<::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-PathNodeAssociatedFinding)\>) --- The findings associated with this node in the attack path.

### #associated_findings=

    def associated_findings=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-PathNodeAssociatedFinding)\>) --- The findings associated with this node in the attack path.
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-PathNodeAssociatedFinding)\>) --- The findings associated with this node in the attack path.

### #attack_steps

    def attack_steps() -> ::Array<::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::AttackStepNode>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::AttackStepNode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-AttackStepNode)\>) --- A list of attack step nodes that exist in this attack path node.

### #attack_steps=

    def attack_steps=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::AttackStepNode>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::AttackStepNode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-AttackStepNode)\>) --- A list of attack step nodes that exist in this attack path node.
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::AttackStepNode](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-AttackPath-AttackPathNode-AttackStepNode)\>) --- A list of attack step nodes that exist in this attack path node.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Human-readable name of this resource.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Human-readable name of this resource.
**Returns**

- (::String) --- Human-readable name of this resource.

### #resource

    def resource() -> ::String

**Returns**

- (::String) --- The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource
  name
  format](https://cloud.google.com/asset-inventory/docs/resource-name-format)

### #resource=

    def resource=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource
  name
  format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
**Returns**

- (::String) --- The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource
  name
  format](https://cloud.google.com/asset-inventory/docs/resource-name-format)

### #resource_type

    def resource_type() -> ::String

**Returns**

- (::String) --- The [supported resource
  type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)

### #resource_type=

    def resource_type=(value) -> ::String

**Parameter**

- **value** (::String) --- The [supported resource
  type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
**Returns**

- (::String) --- The [supported resource
  type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)

### #uuid

    def uuid() -> ::String

**Returns**

- (::String) --- Unique id of the attack path node.

### #uuid=

    def uuid=(value) -> ::String

**Parameter**

- **value** (::String) --- Unique id of the attack path node.
**Returns**

- (::String) --- Unique id of the attack path node.