# Payload

    struct Payload

Payload for the `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent.html`.
- `


  ### [priority](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV8prioritys6UInt32VSgvp)


  ` The notification level. The currently supported value is 0, which indicates that the
  notification should be spoken aloud.

  #### Declaration

  Swift

      let priority: UInt32?

- `


  ### [armState](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV03armG0AE0dG0OSgvp)


  ` The current arm state of the device.

  #### Declaration

  Swift

      let armState: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmState.html?

- `


  ### [exitAllowanceEndTimeSeconds](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV27exitAllowanceEndTimeSecondss5Int64VSgvp)


  ` The Epoch Unix timestamp of when an active exit allowance expires, before which the user
  must leave the house if the device is arming. The timestamp is a long integer, such as
  `1710825433`. Once the exact time represented by the timestamp has been reached, the alarm
  sounds. The user may cancel arming or disarming while this countdown is active.

  #### Declaration

  Swift

      let exitAllowanceEndTimeSeconds: Int64?

- `


  ### [entryAllowanceEndTimeSeconds](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV28entryAllowanceEndTimeSecondss5Int64VSgvp)


  ` The Epoch Unix timestamp of when an active entry allowance expires, before which the user
  must enter a pin to prevent the alarm from sounding. The timestamp is a long integer, such
  as `1710825433`. Once the exact time represented by the timestamp has been reached, the
  alarm sounds. In the meantime, the device provides a time countdown to the user.

  #### Declaration

  Swift

      let entryAllowanceEndTimeSeconds: Int64?

- `


  ### [currentArmLevel](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV07currentD5LevelSSSgvp)


  ` The level name of the current security level if multiple security levels exist.

  #### Declaration

  Swift

      let currentArmLevel: String?

- `


  ### [targetArmLevel](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV06targetD5LevelSSSgvp)


  ` The level from `https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/Attributes.html#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV10AttributesV09availableD6LevelsAE09AvailabledI0VSgvp` that the device will enter
  after an exit countdown completes.

  #### Declaration

  Swift

      let targetArmLevel: String?

- `


  ### [triggeredDeviceId](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV17triggeredDeviceIdSSSgvp)


  ` The ID of the device that triggered the event, which may be different from the device that
  sent the notification.

  #### Declaration

  Swift

      let triggeredDeviceId: String?

- `


  ### [errorCode](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV9errorCodeAE05ErrorK0OSgvp)


  ` The status of the device that triggered the event.

  #### Declaration

  Swift

      let errorCode: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ErrorCode.html?

- `


  ### [debugDescription](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/ArmDisarmTrait/ArmDisarmArmStateEvent/Payload#/s:15GoogleHomeTypes0A0O14ArmDisarmTraitV0deD10StateEventV7PayloadV16debugDescriptionSSvp)


  ` A textual representation of this instance, suitable for debugging.

  Calling this property directly is discouraged. Instead, convert an
  instance of any type to a string by using the `String(reflecting:)`
  initializer. This initializer works with any type, and uses the custom
  `debugDescription` property for types that conform to
  `CustomDebugStringConvertible`:

      struct Point: CustomDebugStringConvertible {
          let x: Int, y: Int

          var debugDescription: String {
              return "(\(x), \(y))"
          }
      }

      let p = Point(x: 21, y: 30)
      let s = String(reflecting: p)
      print(s)
      // Prints "(21, 30)"

  The conversion of `p` to a string in the assignment to `s` uses the
  `Point` type's `debugDescription` property.

  #### Declaration

  Swift

      var debugDescription: String { get }