View Source GoogleApi.Content.V2.Model.Address (google_api_content v0.61.1)

Attributes

  • administrativeArea (type: String.t, default: nil) - Required. Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC").
  • city (type: String.t, default: nil) - Required. City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).
  • country (type: String.t, default: nil) - Required. CLDR country code(e.g. "US").
  • postalCode (type: String.t, default: nil) - Required. Postal code or ZIP (e.g. "94043"). Required.
  • streetAddress (type: String.t, default: nil) - Street-level part 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.Content.V2.Model.Address{
  administrativeArea: String.t() | nil,
  city: String.t() | nil,
  country: String.t() | nil,
  postalCode: String.t() | nil,
  streetAddress: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.