Class GoogleMapsAddressvalidationV1Address
Details of the post-processed address. Post-processing includes correcting misspelled parts of the address, replacing incorrect parts, and inferring missing parts.
Implements
Inherited Members
Namespace: Google.Apis.AddressValidation.v1.Data
Assembly: Google.Apis.AddressValidation.v1.dll
Syntax
public class GoogleMapsAddressvalidationV1Address : IDirectResponseSchema
Properties
AddressComponents
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
Declaration
[JsonProperty("addressComponents")]
public virtual IList<GoogleMapsAddressvalidationV1AddressComponent> AddressComponents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsAddressvalidationV1AddressComponent> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FormattedAddress
The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.
Declaration
[JsonProperty("formattedAddress")]
public virtual string FormattedAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
MissingComponentTypes
The types of components that were expected to be present in a correctly formatted mailing address but were
not found in the input AND could not be inferred. Components of this type are not present in
formatted_address
, postal_address
, or address_components
. An example might be ['street_number', 'route']
for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found
here.
Declaration
[JsonProperty("missingComponentTypes")]
public virtual IList<string> MissingComponentTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
PostalAddress
The post-processed address represented as a postal address.
Declaration
[JsonProperty("postalAddress")]
public virtual GoogleTypePostalAddress PostalAddress { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypePostalAddress |
UnconfirmedComponentTypes
The types of the components that are present in the address_components
but could not be confirmed to be
correct. This field is provided for the sake of convenience: its contents are equivalent to iterating
through the address_components
to find the types of all the components where the confirmation_level is not
CONFIRMED or the inferred flag is not set to true
. The list of possible types can be found
here.
Declaration
[JsonProperty("unconfirmedComponentTypes")]
public virtual IList<string> UnconfirmedComponentTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UnresolvedTokens
Any tokens in the input that could not be resolved. This might be an input that was not recognized as a
valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the
unresolved tokens may look like ["123235253253"]
since that does not look like a valid street number.
Declaration
[JsonProperty("unresolvedTokens")]
public virtual IList<string> UnresolvedTokens { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |