# Google Cloud Security Command Center V1 Client - Class AttackStepNode (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class AttackStepNode.

Detailed steps the attack can take between path nodes.

Generated from protobuf message `google.cloud.securitycenter.v1.AttackPath.AttackPathNode.AttackStepNode`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V1 \\ AttackPath \\ AttackPathNode

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uuid` | `string` Unique ID for one Node |
| `↳ type` | `int` Attack step type. Can be either AND, OR or DEFENSE |
| `↳ display_name` | `string` User friendly name of the attack step |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Attack step labels for metadata |
| `↳ description` | `string` Attack step description |

### getUuid

Unique ID for one Node

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setUuid

Unique ID for one Node

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getType

Attack step type. Can be either AND, OR or DEFENSE

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [NodeType](https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V1.AttackPath.AttackPathNode.NodeType). |

### setType

Attack step type. Can be either AND, OR or DEFENSE

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [NodeType](https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V1.AttackPath.AttackPathNode.NodeType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

User friendly name of the attack step

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

User friendly name of the attack step

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLabels

Attack step labels for metadata

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Attack step labels for metadata

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Attack step description

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

Attack step description

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |