View Source GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1ValidationResult (google_api_address_validation v0.3.2)
The result of validating an address.
Attributes
-
address
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Address.t
, default:nil
) - Information about the address itself as opposed to the geocode. -
englishLatinAddress
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Address.t
, default:nil
) - Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the Google Maps Platform Service Specific Terms. For more information, see the launch stage descriptions. The address translated to English. Translated addresses are not reusable as API input. The service provides them so that the user can use their native language to confirm or deny the validation of the originally-provided address. If part of the address doesn't have an English translation, the service returns that part in an alternate language that uses a Latin script. See here for an explanation of how the alternate language is selected. If part of the address doesn't have any translations or transliterations in a language that uses a Latin script, the service returns that part in the local language associated with the address. Enable this output by using the [google.maps.addressvalidation.v1.LanguageOptions.return_english_latin_address] flag. Note: the [google.maps.addressvalidation.v1.Address.unconfirmed_component_types] field in theenglish_latin_address
and the [google.maps.addressvalidation.v1.AddressComponent.confirmation_level] fields inenglish_latin_address.address_components
are not populated. -
geocode
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Geocode.t
, default:nil
) - Information about the location and place that the address geocoded to. -
metadata
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1AddressMetadata.t
, default:nil
) - Other information relevant to deliverability.metadata
is not guaranteed to be fully populated for every address sent to the Address Validation API. -
uspsData
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1UspsData.t
, default:nil
) - Extra deliverability flags provided by USPS. Only provided in regionUS
andPR
. -
verdict
(type:GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Verdict.t
, default:nil
) - Overall verdict flags
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1ValidationResult{ address: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Address.t() | nil, englishLatinAddress: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Address.t() | nil, geocode: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Geocode.t() | nil, metadata: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1AddressMetadata.t() | nil, uspsData: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1UspsData.t() | nil, verdict: GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Verdict.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.