AutomationTooLarge

class AutomationTooLarge : ValidationIssue


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

Summary

Public constructors

AutomationTooLarge(
    node: Node,
    severity: ValidationIssueSeverity,
    byteCount: Long,
    byteCountLimit: Long
)

Create an AutomationTooLarge instance.

Public properties

Long

The size of the serialized automation, in bytes.

Long

The maximum allowed size of the serialized automation, in bytes.

Inherited properties

From com.google.home.automation.ValidationIssue
ValidationIssueType

The type of the validation issue.

Node

The node for which validation is failing.

ValidationIssueSeverity

The severity of the validation issue.

Public constructors

AutomationTooLarge

AutomationTooLarge(
    node: Node,
    severity: ValidationIssueSeverity,
    byteCount: Long,
    byteCountLimit: Long
)

Create an AutomationTooLarge instance.

Public properties

byteCount

val byteCountLong

The size of the serialized automation, in bytes.

byteCountLimit

val byteCountLimitLong

The maximum allowed size of the serialized automation, in bytes.