View Source GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1AddressMetadata (google_api_address_validation v0.3.1)

The metadata for the address. metadata is not guaranteed to be fully populated for every address sent to the Address Validation API.

Attributes

  • business (type: boolean(), default: nil) - Indicates that this is the address of a business. If unset, indicates that the value is unknown.
  • poBox (type: boolean(), default: nil) - Indicates that the address of a PO box. If unset, indicates that the value is unknown.
  • residential (type: boolean(), default: nil) - Indicates that this is the address of a residence. If unset, indicates that the value is unknown.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1AddressMetadata{
    business: boolean() | nil,
    poBox: boolean() | nil,
    residential: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.