# ValidationIssueType


```
enum ValidationIssueType : Enum
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html) ||
|   | ↳ | [com.google.home.automation.ValidationIssueType](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType) |

*** ** * ** ***

Validation Issue Type

## Summary

| ### Enum Values |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#AutomationTooLarge` | The automation's serialized form is larger than what is allowed by the abuse prevention config for the calling application. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#BlockedAction` | The action could impact the safety, security, or privacy of a household. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#ConditionDurationOutOfRange` | The condition duration is outside the accepted range of 1-30 minutes. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#DelayDurationOutOfRange` | The delay duration is outside the accepted range of 5 seconds to 24 hours. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#DuplicateStarterNode` | The `Starter` node is listening to the same trait change or event as other `Starter` nodes. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidArgumentCount` | The expression contains an invalid number of arguments. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidArgumentsForOperator` | The arguments for the operator are not valid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidCommand` | The command ID is not found in the event schema. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidConditionType` | The condition must evaluate to a boolean value. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidCustomCameraEventQuery` | The custom camera event query is invalid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidDuration` | The `seconds` or `nanos` field is out of range. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidDurationExpressionType` | The duration expression type is not valid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidEntity` | The Entity (ID or name) does not exist or does not belong to the user. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidEntityExpressionType` | The entity expression type is not valid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidEvent` | The event ID is not found in the event schema. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidField` | The `FIELD_SELECT` expression uses an invalid field. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidNullParameterValue` | The parameter value must not be null. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidOperand` | The expression uses an invalid operand. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidParameter` | The parameter name is not found in the behavior schema. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidParameterType` | The parameter type is not valid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidPersonalActionConfiguration` | A personal action cannot be triggered by a communal voice starter. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidReference` | The "reference," which refers to output produced by a preceding node, is unknown. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidTrait` | The trait is not found in the event schema. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#InvalidValue` | The value is invalid. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MisplacedSelectFlow` | The `Select` flow node must be the first node in an automation. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MisplacedStarterNode` | The `Starter` node must be the first node in an automation or in a `select` flow. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MissingRequiredFields` | The automation graph is missing required field(s). |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MissingRequiredParameters` | Required parameters are not set. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MissingStarterNode` | The node cannot be reached without a preceding `Starter` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#MultipleManualStarters` | The automation has more than one`ManualStarter` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#OutputNotAccessible` | A reference used an inaccessible output. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#OutputReinitialized` | An output variable has been reinitialized in multiple nodes. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#OutputTypeMismatch` | An output variable has been defined in multiple nodes with different types. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#ReadOnlyAttribute` | The attribute is not modifiable without a command using `write`. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#SuppressionDurationOutOfRange` | The suppression duration is outside the accepted range of 5 seconds to 24 hours. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#TooManyNodes` | The automation has more nodes than allowed by the abuse prevention configuration for the calling application. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#TooManyOperations` | The expression has more operations than allowed by the abuse prevention configuration for the calling application. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#Unknown` | Unknown issue type. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsubscribableAttribute` | The attribute is not subscribable and therefore cannot be used in a `Starter` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedActionBehavior` | The entity behavior type is not supported by the `Action` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityCommand` | The command is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityEvent` | The event is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityParameter` | The parameter is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityParameterValue` | The parameter value is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityTrait` | The trait is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedEntityType` | The entity type is not supported by the entity. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedNodeOutput` | This node type does not produce output. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedOperator` | The operator is unknown or unspecified. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedStarterBehavior` | The entity behavior type is not supported by the `Starter` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedStateReaderBehavior` | The entity behavior type is not supported by the `StateReader` node. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#UnsupportedSubNodeType` | The sub-node type is not allowed inside the parent node. |

| ### Public functions |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#valueOf(kotlin.String)(value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Returns the enum constant of this type with the specified name. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/kotlin/enums/EnumEntries<https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType>` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/ValidationIssueType#entries()` Returns a representation of an immutable list of all enum entries, in the order they're declared. |

## Enum Values

### AutomationTooLarge

```
val ValidationIssueType.AutomationTooLarge: ValidationIssueType
```

The automation's serialized form is larger than what is allowed by the abuse prevention config for the calling application.

### BlockedAction

```
val ValidationIssueType.BlockedAction: ValidationIssueType
```

The action could impact the safety, security, or privacy of a household. For more information, refer to [Blocked actions in automations](https://developers.home.google.com/apis/automation/blocked-actions).

### ConditionDurationOutOfRange

```
val ValidationIssueType.ConditionDurationOutOfRange: ValidationIssueType
```

The condition duration is outside the accepted range of 1-30 minutes.

### DelayDurationOutOfRange

```
val ValidationIssueType.DelayDurationOutOfRange: ValidationIssueType
```

The delay duration is outside the accepted range of 5 seconds to 24 hours.

### DuplicateStarterNode

```
val ValidationIssueType.DuplicateStarterNode: ValidationIssueType
```

The `Starter` node is listening to the same trait change or event as other `Starter` nodes.

### InvalidArgumentCount

```
val ValidationIssueType.InvalidArgumentCount: ValidationIssueType
```

The expression contains an invalid number of arguments.

### InvalidArgumentsForOperator

```
val ValidationIssueType.InvalidArgumentsForOperator: ValidationIssueType
```

The arguments for the operator are not valid.

### InvalidCommand

```
val ValidationIssueType.InvalidCommand: ValidationIssueType
```

The command ID is not found in the event schema. The optional `expectedBehaviorType` property indicates that the command ID belongs to other schemas.

### InvalidConditionType

```
val ValidationIssueType.InvalidConditionType: ValidationIssueType
```

The condition must evaluate to a boolean value.

### InvalidCustomCameraEventQuery

```
val ValidationIssueType.InvalidCustomCameraEventQuery: ValidationIssueType
```

The custom camera event query is invalid.

### InvalidDuration

```
val ValidationIssueType.InvalidDuration: ValidationIssueType
```

The `seconds` or `nanos` field is out of range. The `seconds` value must be in the range -315,576,000,000, +315,576,000,000, and the `nanos` value must be in the range -999,999,999, +999,999,999.

### InvalidDurationExpressionType

```
val ValidationIssueType.InvalidDurationExpressionType: ValidationIssueType
```

The duration expression type is not valid.

### InvalidEntity

```
val ValidationIssueType.InvalidEntity: ValidationIssueType
```

The Entity (ID or name) does not exist or does not belong to the user.

### InvalidEntityExpressionType

```
val ValidationIssueType.InvalidEntityExpressionType: ValidationIssueType
```

The entity expression type is not valid.

### InvalidEvent

```
val ValidationIssueType.InvalidEvent: ValidationIssueType
```

The event ID is not found in the event schema. The optional `expectedBehaviorType` property indicates that the event ID belongs to other schemas.

### InvalidField

```
val ValidationIssueType.InvalidField: ValidationIssueType
```

The `FIELD_SELECT` expression uses an invalid field. For example, if `var` is an `OnOff` trait type, because it has `on_off attribute`, `var.on_off` is a valid field select, while `var.brightness` would be an invalid `FIELD_SELECT`.

### InvalidNullParameterValue

```
val ValidationIssueType.InvalidNullParameterValue: ValidationIssueType
```

The parameter value must not be null.

### InvalidOperand

```
val ValidationIssueType.InvalidOperand: ValidationIssueType
```

The expression uses an invalid operand.

### InvalidParameter

```
val ValidationIssueType.InvalidParameter: ValidationIssueType
```

The parameter name is not found in the behavior schema.

### InvalidParameterType

```
val ValidationIssueType.InvalidParameterType: ValidationIssueType
```

The parameter type is not valid.

### InvalidPersonalActionConfiguration

```
val ValidationIssueType.InvalidPersonalActionConfiguration: ValidationIssueType
```

A personal action cannot be triggered by a communal voice starter.

### InvalidReference

```
val ValidationIssueType.InvalidReference: ValidationIssueType
```

The "reference," which refers to output produced by a preceding node, is unknown.

### InvalidTrait

```
val ValidationIssueType.InvalidTrait: ValidationIssueType
```

The trait is not found in the event schema. The optional `expectedBehaviorType` property indicates that the trait ID belongs to other schemas.

### InvalidValue

```
val ValidationIssueType.InvalidValue: ValidationIssueType
```

The value is invalid.

### MisplacedSelectFlow

```
val ValidationIssueType.MisplacedSelectFlow: ValidationIssueType
```

The `Select` flow node must be the first node in an automation.

### MisplacedStarterNode

```
val ValidationIssueType.MisplacedStarterNode: ValidationIssueType
```

The `Starter` node must be the first node in an automation or in a `select` flow.

### MissingRequiredFields

```
val ValidationIssueType.MissingRequiredFields: ValidationIssueType
```

The automation graph is missing required field(s).

### MissingRequiredParameters

```
val ValidationIssueType.MissingRequiredParameters: ValidationIssueType
```

Required parameters are not set.

### MissingStarterNode

```
val ValidationIssueType.MissingStarterNode: ValidationIssueType
```

The node cannot be reached without a preceding `Starter` node.

### MultipleManualStarters

```
val ValidationIssueType.MultipleManualStarters: ValidationIssueType
```

The automation has more than one`ManualStarter` node.

### OutputNotAccessible

```
val ValidationIssueType.OutputNotAccessible: ValidationIssueType
```

A reference used an inaccessible output.

### OutputReinitialized

```
val ValidationIssueType.OutputReinitialized: ValidationIssueType
```

An output variable has been reinitialized in multiple nodes.

### OutputTypeMismatch

```
val ValidationIssueType.OutputTypeMismatch: ValidationIssueType
```

An output variable has been defined in multiple nodes with different types.

### ReadOnlyAttribute

```
val ValidationIssueType.ReadOnlyAttribute: ValidationIssueType
```

The attribute is not modifiable without a command using `write`.

### SuppressionDurationOutOfRange

```
val ValidationIssueType.SuppressionDurationOutOfRange: ValidationIssueType
```

The suppression duration is outside the accepted range of 5 seconds to 24 hours.

### TooManyNodes

```
val ValidationIssueType.TooManyNodes: ValidationIssueType
```

The automation has more nodes than allowed by the abuse prevention configuration for the calling application. For more information, refer to [Resource limits](https://developers.home.google.com/apis/automation#resource_limits).

### TooManyOperations

```
val ValidationIssueType.TooManyOperations: ValidationIssueType
```

The expression has more operations than allowed by the abuse prevention configuration for the calling application.

### Unknown

```
val ValidationIssueType.Unknown: ValidationIssueType
```

Unknown issue type.

### UnsubscribableAttribute

```
val ValidationIssueType.UnsubscribableAttribute: ValidationIssueType
```

The attribute is not subscribable and therefore cannot be used in a `Starter` node.

### UnsupportedActionBehavior

```
val ValidationIssueType.UnsupportedActionBehavior: ValidationIssueType
```

The entity behavior type is not supported by the `Action` node.

### UnsupportedEntityCommand

```
val ValidationIssueType.UnsupportedEntityCommand: ValidationIssueType
```

The command is not supported by the entity.

### UnsupportedEntityEvent

```
val ValidationIssueType.UnsupportedEntityEvent: ValidationIssueType
```

The event is not supported by the entity.

### UnsupportedEntityParameter

```
val ValidationIssueType.UnsupportedEntityParameter: ValidationIssueType
```

The parameter is not supported by the entity.

### UnsupportedEntityParameterValue

```
val ValidationIssueType.UnsupportedEntityParameterValue: ValidationIssueType
```

The parameter value is not supported by the entity.

### UnsupportedEntityTrait

```
val ValidationIssueType.UnsupportedEntityTrait: ValidationIssueType
```

The trait is not supported by the entity.

### UnsupportedEntityType

```
val ValidationIssueType.UnsupportedEntityType: ValidationIssueType
```

The entity type is not supported by the entity.

### UnsupportedNodeOutput

```
val ValidationIssueType.UnsupportedNodeOutput: ValidationIssueType
```

This node type does not produce output.

### UnsupportedOperator

```
val ValidationIssueType.UnsupportedOperator: ValidationIssueType
```

The operator is unknown or unspecified.

### UnsupportedStarterBehavior

```
val ValidationIssueType.UnsupportedStarterBehavior: ValidationIssueType
```

The entity behavior type is not supported by the `Starter` node.

### UnsupportedStateReaderBehavior

```
val ValidationIssueType.UnsupportedStateReaderBehavior: ValidationIssueType
```

The entity behavior type is not supported by the `StateReader` node.

### UnsupportedSubNodeType

```
val ValidationIssueType.UnsupportedSubNodeType: ValidationIssueType
```

The sub-node type is not allowed inside the parent node.

## Public functions

### valueOf

```
fun valueOf(value: String): ValidationIssueType
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Throws |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html` | if this enum type has no constant with the specified name |

### values

```
fun values(): Array<ValidationIssueType>
```

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

## Public properties

### entries

```
val entries: EnumEntries<ValidationIssueType>
```

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.