inputGranularity property
The granularity of the input address.
This is the result of parsing the input address and does not give any
validation signals. For validation signals, refer to
validation_granularity
below. For example, if the input address includes
a specific apartment number, then the input_granularity
here will be
SUB_PREMISE
. If we cannot match the apartment number in the databases or
the apartment number is invalid, the validation_granularity
will likely
be PREMISE
or below.
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? inputGranularity;