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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.