Class ValidationResult
- Namespace
- GoogleMapsApi.Entities.AddressValidation.Response
- Assembly
- GoogleMapsApi.dll
The validation result for a single address: verdict summary, standardized address, geocode, metadata, and (for US/PR addresses with USPS CASS enabled) USPS-processed data.
public sealed class ValidationResult
- Inheritance
-
ValidationResult
- Inherited Members
Properties
Address
Validated, standardized form of the address.
[JsonPropertyName("address")]
public ValidatedAddress? Address { get; set; }
Property Value
EnglishLatinAddress
English/Latin-script form of the validated address. Populated only when
LanguageOptions.ReturnEnglishLatinAddress was set on the request.
[JsonPropertyName("englishLatinAddress")]
public ValidatedAddress? EnglishLatinAddress { get; set; }
Property Value
Geocode
Geocoding information (lat/lng, place ID, plus code) for the address.
[JsonPropertyName("geocode")]
public Geocode? Geocode { get; set; }
Property Value
Metadata
Address type metadata (business / PO box / residential).
[JsonPropertyName("metadata")]
public AddressMetadata? Metadata { get; set; }
Property Value
UspsData
USPS CASS-processed data. Populated only for US/PR with USPS CASS enabled.
[JsonPropertyName("uspsData")]
public UspsData? UspsData { get; set; }
Property Value
Verdict
High-level summary of how well the address was validated.
[JsonPropertyName("verdict")]
public Verdict? Verdict { get; set; }