GoogleApi.Admin.Directory_v1.Model.BuildingAddress (google_api_admin v0.25.2) View Source

Public API: Resources.buildings

Attributes

  • addressLines (type: list(String.t), default: nil) - Unstructured address lines describing the lower levels of an address.
  • administrativeArea (type: String.t, default: nil) - Optional. Highest administrative subdivision which is used for postal addresses of a country or region.
  • languageCode (type: String.t, default: nil) - Optional. BCP-47 language code of the contents of this address (if known).
  • locality (type: String.t, default: nil) - Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use addressLines.
  • postalCode (type: String.t, default: nil) - Optional. Postal code of the address.
  • regionCode (type: String.t, default: nil) - Required. CLDR region code of the country/region of the address.
  • sublocality (type: String.t, default: nil) - Optional. Sublocality of the address.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Admin.Directory_v1.Model.BuildingAddress{
  addressLines: [String.t()],
  administrativeArea: String.t(),
  languageCode: String.t(),
  locality: String.t(),
  postalCode: String.t(),
  regionCode: String.t(),
  sublocality: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.