Enum Granularity
- Namespace
- GoogleMapsApi.Entities.AddressValidation.Response
- Assembly
- GoogleMapsApi.dll
Granularity at which an address (or its inferred geocode) is understood. Used by both the
inputGranularity, validationGranularity, and geocodeGranularity verdict fields.
public enum Granularity
Fields
[EnumMember(Value = "BLOCK")] Block = 4Block-level result (Japan only).
[EnumMember(Value = "OTHER")] Other = 6All other levels (e.g. locality).
[EnumMember(Value = "PREMISE")] Premise = 2Building-level result.
[EnumMember(Value = "PREMISE_PROXIMITY")] PremiseProximity = 3Approximation of the building, e.g. a corner or nearby landmark.
[EnumMember(Value = "ROUTE")] Route = 5Street-level result.
[EnumMember(Value = "SUB_PREMISE")] SubPremise = 1Below-building level result (apartment, suite).
[EnumMember(Value = "GRANULARITY_UNSPECIFIED")] Unspecified = 0Default value. The granularity is unspecified.