> Documentation index: https://developers.home.google.com/reference/swift/GoogleHomeSDK/llms.txt

    struct InvalidArgumentReason

    extension InvalidArgumentReason : CustomStringConvertible, Equatable, ExpressibleByExtendedGraphemeClusterLiteral, ExpressibleByStringLiteral, ExpressibleByUnicodeScalarLiteral, Hashable, RawRepresentable, Sendable, SendableMetatype

Reasons associated with `INVALID_ARGUMENT` (Code 3).
- `


  ### [rawValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV8rawValueSSvp)


  ` The corresponding value of the raw type.

  A new instance initialized with `rawValue` will be equivalent to this
  instance. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      let selectedSize = PaperSize.Letter
      print(selectedSize.rawValue)
      // Prints "Letter"

      print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
      // Prints "true"

  #### Declaration

  Swift

      let rawValue: String

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV8rawValueACSS_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init(rawValue: String)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |

- `


  ### [init(stringLiteral:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV13stringLiteralACSS_tcfc)


  ` Creates an instance initialized to the given string value.

  #### Declaration

  Swift

      init(stringLiteral value: String)

- `


  ### [description](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV11descriptionSSvp)


  ` A textual representation of this instance.

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

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

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

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

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

  #### Declaration

  Swift

      var description: String { get }

- `


  ### [aboveMaximumDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV20aboveMaximumDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let aboveMaximumDuration: InvalidArgumentReason

- `


  ### [aboveMaximumLightEffectsDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV32aboveMaximumLightEffectsDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let aboveMaximumLightEffectsDuration: InvalidArgumentReason

- `


  ### [aboveMaximumTemperatureHoldDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV35aboveMaximumTemperatureHoldDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let aboveMaximumTemperatureHoldDuration: InvalidArgumentReason

- `


  ### [aboveMaximumTimerDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV25aboveMaximumTimerDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let aboveMaximumTimerDuration: InvalidArgumentReason

- `


  ### [amountAboveLimit](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV16amountAboveLimitACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let amountAboveLimit: InvalidArgumentReason

- `


  ### [belowMinimumDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV20belowMinimumDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let belowMinimumDuration: InvalidArgumentReason

- `


  ### [belowMinimumLightEffectsDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV32belowMinimumLightEffectsDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let belowMinimumLightEffectsDuration: InvalidArgumentReason

- `


  ### [belowMinimumTimerDuration](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV25belowMinimumTimerDurationACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let belowMinimumTimerDuration: InvalidArgumentReason

- `


  ### [clipLengthAboveMax](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV18clipLengthAboveMaxACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let clipLengthAboveMax: InvalidArgumentReason

- `


  ### [clipLengthNotPositive](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV21clipLengthNotPositiveACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let clipLengthNotPositive: InvalidArgumentReason

- `


  ### [degreesOutOfRange](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17degreesOutOfRangeACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let degreesOutOfRange: InvalidArgumentReason

- `


  ### [dispenseAmountAboveLimit](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV24dispenseAmountAboveLimitACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let dispenseAmountAboveLimit: InvalidArgumentReason

- `


  ### [dispenseAmountBelowLimit](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV24dispenseAmountBelowLimitACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let dispenseAmountBelowLimit: InvalidArgumentReason

- `


  ### [dispenseAmountRemainingExceeded](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV31dispenseAmountRemainingExceededACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let dispenseAmountRemainingExceeded: InvalidArgumentReason

- `


  ### [emptyJson](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV9emptyJsonACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let emptyJson: InvalidArgumentReason

- `


  ### [malformedJson](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV13malformedJsonACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let malformedJson: InvalidArgumentReason

- `


  ### [maxArmLevelReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV18maxArmLevelReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let maxArmLevelReached: InvalidArgumentReason

- `


  ### [maxSettingReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17maxSettingReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let maxSettingReached: InvalidArgumentReason

- `


  ### [maxSpeedReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV15maxSpeedReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let maxSpeedReached: InvalidArgumentReason

- `


  ### [minArmLevelReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV18minArmLevelReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let minArmLevelReached: InvalidArgumentReason

- `


  ### [minSettingReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17minSettingReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let minSettingReached: InvalidArgumentReason

- `


  ### [minSpeedReached](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV15minSpeedReachedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let minSpeedReached: InvalidArgumentReason

- `


  ### [percentOutOfRange](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17percentOutOfRangeACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let percentOutOfRange: InvalidArgumentReason

- `


  ### [rangeTooClose](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV13rangeTooCloseACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let rangeTooClose: InvalidArgumentReason

- `


  ### [startRequiresTime](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17startRequiresTimeACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let startRequiresTime: InvalidArgumentReason

- `


  ### [temperatureRangeRequiresHeatCool](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV32temperatureRangeRequiresHeatCoolACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let temperatureRangeRequiresHeatCool: InvalidArgumentReason

- `


  ### [unknownFoodPreset](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV17unknownFoodPresetACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let unknownFoodPreset: InvalidArgumentReason

- `


  ### [unsupportedInput](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV16unsupportedInputACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let unsupportedInput: InvalidArgumentReason

- `


  ### [valueOutOfRange](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InvalidArgumentReason.md.txt#/s:13GoogleHomeSDK21InvalidArgumentReasonV15valueOutOfRangeACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let valueOutOfRange: InvalidArgumentReason