# Node


```
sealed class Node
```

<br />

Known direct subclasses [Action](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Action), [Assignment](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Assignment), [Condition](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Condition), [Delay](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Delay), [IfChain](https://developers.home.google.com/reference/kotlin/com/google/home/automation/IfChain), [IfFlow](https://developers.home.google.com/reference/kotlin/com/google/home/automation/IfFlow), [ManualStarter](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ManualStarter), [ParallelFlow](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ParallelFlow), [SelectFlow](https://developers.home.google.com/reference/kotlin/com/google/home/automation/SelectFlow), [SequentialFlow](https://developers.home.google.com/reference/kotlin/com/google/home/automation/SequentialFlow), [Starter](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Starter), [StateReader](https://developers.home.google.com/reference/kotlin/com/google/home/automation/StateReader), [Suppression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Suppression), [UnknownNode](https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownNode)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Action` | Represents a command that the automation can issue, such as turning on a device, or a change to the value of a trait attribute, such as increasing a temperature threshold. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Assignment` | A class that assigns a value to a variable. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Condition` | A logical state that controls whether an automation that has been triggered by a `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Starter` or `https://developers.home.google.com/reference/kotlin/com/google/home/automation/StateReader`" should continue or stop executing. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Delay` | A `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` that provides the ability to pause for a specified amount of time. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/IfChain` | An intermediary builder type used while building an `https://developers.home.google.com/reference/kotlin/com/google/home/automation/IfFlow`. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/IfFlow` | A `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` that conditionally executes one of its branches based on evaluating conditions in order. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ManualStarter` | A starter that allows the user to manually activate an automation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ParallelFlow` | A set of one or more Automation nodes that execute in parallel. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SelectFlow` | A `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node` that, when it contains more than one `Node`, allows only one `Node` to execute. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/SequentialFlow` | A set of one or more Automation nodes that execute sequentially. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Starter` | Defines the initial triggers that activate an automation, such as a change to a trait. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/StateReader` | A class that accesses a trait's state. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Suppression` | Terminates execution of all the following nodes if the automation is triggered again within the specified time range. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownNode` | An unknown node type converted from ADM proto. |

*** ** * ** ***

An Automation node.

## Summary

| ### Protected constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node#Node()()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node#Node(kotlin.String)(nodeId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?)` |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node#nodeId()` String identifier of this node. |

## Protected constructors

### Node

```
protected Node()
```

### Node

```
protected Node(nodeId: String?)
```

## Public functions

### toString

```
open fun toString(): String
```

## Public properties

### nodeId

```
val nodeId: String?
```

String identifier of this node. Must be unique within a single automation graph.