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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.