google_api_people v0.4.1 GoogleApi.People.V1.Model.Address View Source

A person's physical address. May be a P.O. box or street address. All fields are optional.

Attributes

  • city (String.t): The city of the address. Defaults to: null.
  • country (String.t): The country of the address. Defaults to: null.
  • countryCode (String.t): The ISO 3166-1 alpha-2 country code of the address. Defaults to: null.
  • extendedAddress (String.t): The extended address of the address; for example, the apartment number. Defaults to: null.
  • formattedType (String.t): The read-only type of the address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. Defaults to: null.
  • formattedValue (String.t): The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values. Defaults to: null.
  • metadata (FieldMetadata): Metadata about the address. Defaults to: null.
  • poBox (String.t): The P.O. box of the address. Defaults to: null.
  • postalCode (String.t): The postal code of the address. Defaults to: null.
  • region (String.t): The region of the address; for example, the state or province. Defaults to: null.
  • streetAddress (String.t): The street address. Defaults to: null.
  • type (String.t): The type of the address. The type can be custom or one of these predefined values: `home` `work` * `other` Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.People.V1.Model.Address{
  city: any(),
  country: any(),
  countryCode: any(),
  extendedAddress: any(),
  formattedType: any(),
  formattedValue: any(),
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t(),
  poBox: any(),
  postalCode: any(),
  region: any(),
  streetAddress: any(),
  type: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.