    struct PostalAddress

    extension PostalAddress : https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK15AutomationValueP, Decodable, Encodable, Equatable, Hashable, Sendable, SendableMetatype, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/StructDataRepresentable.html

Represents a postal address, such as for postal delivery or payments addresses.
- `


  ### [revision](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV8revisions5Int32Vvp)


  ` The schema revision of the `PostalAddress`. This must be set to 0, which is the latest
  revision.

  #### Declaration

  Swift

      let revision: Int32

- `


  ### [regionCode](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV10regionCodeSSvp)


  ` Required. CLDR region code of the country/region of the address.

  #### Declaration

  Swift

      let regionCode: String

- `


  ### [languageCode](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV12languageCodeSSvp)


  ` BCP-47 language code of the contents of this address (if known).

  #### Declaration

  Swift

      let languageCode: String

- `


  ### [postalCode](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV10postalCodeSSvp)


  ` Postal code of the address.

  #### Declaration

  Swift

      let postalCode: String

- `


  ### [sortingCode](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV11sortingCodeSSvp)


  ` Additional, country-specific, sorting code.

  #### Declaration

  Swift

      let sortingCode: String

- `


  ### [administrativeArea](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV18administrativeAreaSSvp)


  ` Highest administrative subdivision which is used for postal addresses of a country or region.

  #### Declaration

  Swift

      let administrativeArea: String

- `


  ### [locality](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV8localitySSvp)


  ` Generally refers to the city or town portion of the address.

  #### Declaration

  Swift

      let locality: String

- `


  ### [sublocality](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV11sublocalitySSvp)


  ` Sublocality of the address.

  #### Declaration

  Swift

      let sublocality: String

- `


  ### [addressLines](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV12addressLinesSaySSGvp)


  ` Unstructured address lines describing the lower levels of an address.

  #### Declaration

  Swift

      let addressLines: [String]

- `


  ### [recipients](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV10recipientsSaySSGvp)


  ` The recipient at the address.

  #### Declaration

  Swift

      let recipients: [String]

- `


  ### [organization](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV12organizationSSvp)


  ` The name of the organization at the address.

  #### Declaration

  Swift

      let organization: String

- `


  ### [init(revision:regionCode:languageCode:postalCode:sortingCode:administrativeArea:locality:sublocality:addressLines:recipients:organization:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV8revision10regionCode08languageH006postalH007sortingH018administrativeArea8locality11sublocality12addressLines10recipients12organizationACs5Int32V_S7SSaySSGAQSStcfc)


  ` Initializes the postal address with the given properties.

  #### Declaration

  Swift

      init(revision: Int32 = 0, regionCode: String, languageCode: String = "", postalCode: String = "", sortingCode: String = "", administrativeArea: String = "", locality: String = "", sublocality: String = "", addressLines: [String] = [], recipients: [String] = [], organization: String = "")

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV7decoderAcA12TraitDecoderV_tKcfc)


  ` Initializes `PostalAddress` with the trait decoder.

  #### Declaration

  Swift

      init(decoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitDecoder.html) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The trait decoder to decode the postal address. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV6encode4withyAA12TraitEncoderC_tKF)


  ` Encodes `PostalAddress` to the trait encoder.

  #### Declaration

  Swift

      func encode(with encoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/TraitEncoder.html) throws

- `


  ### [init(from:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/PostalAddress#/s:13GoogleHomeSDK13PostalAddressV4fromACs7Decoder_p_tKcfc)


  ` Creates a new instance by decoding from the given decoder.

  This initializer throws an error if reading from the decoder fails, or
  if the data read is corrupted or otherwise invalid.

  #### Declaration

  Swift

      init(from decoder: any Decoder) throws