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

Public API: Resources.buildings


  • 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


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.