View Source GoogleApi.Content.V21.Model.Address (google_api_content v0.67.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 (for example, neighborhoods or suburbs).
  • country (type: String.t, default: nil) - Required. CLDR country code (for example, "US").
  • postalCode (type: String.t, default: nil) - Required. Postal code or ZIP (for example, "94043").
  • streetAddress (type: String.t, default: nil) - Street-level part of the address. Use \n to add a second line.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.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.