validationGranularity property
The granularity level that the API can fully validate the address to.
For example, an validation_granularity
of PREMISE
indicates all
address components at the level of PREMISE
or more coarse can be
validated. Per address component validation result can be found in
[google.maps.addressvalidation.v1.Address.address_components].
Possible string values are:
- "GRANULARITY_UNSPECIFIED" : Default value. This value is unused.
- "SUB_PREMISE" : Below-building level result, such as an apartment.
- "PREMISE" : Building-level result.
- "PREMISE_PROXIMITY" : A geocode that approximates the building-level location of the address.
- "BLOCK" : The address or geocode indicates a block. Only used in regions which have block-level addressing, such as Japan.
- "ROUTE" : The geocode or address is granular to route, such as a street, road, or highway.
- "OTHER" : All other granularities, which are bucketed together since they are not deliverable.
Implementation
core.String? validationGranularity;