# Suppression

# Suppression


```
class Suppression : Node
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.automation.Node](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node) ||
|   | ↳ | [com.google.home.automation.Suppression](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.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Suppression#Suppression(java.time.Duration)(duration: https://developer.android.com/reference/java/time/Duration.html)` Create a `Suppression` instance. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/java/time/Duration.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Suppression#duration()` How long to ignore starters. |

| ### Inherited properties |
|---|
| From [com.google.home.automation.Node](https://developers.home.google.com/reference/kotlin/com/google/home/automation/Node) |---|---| | `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. | |

## Public constructors

### Suppression

```
Suppression(duration: Duration)
```

Create a `Suppression` instance.

| Parameters |
|---|---|
| `duration: https://developer.android.com/reference/java/time/Duration.html` | The duration of the suppression. This may be as short as five seconds or as long as 24 hours. |

## Public properties

### duration

```
val duration: Duration
```

How long to ignore starters.