Table of Contents

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 = 4

Block-level result (Japan only).

[EnumMember(Value = "OTHER")] Other = 6

All other levels (e.g. locality).

[EnumMember(Value = "PREMISE")] Premise = 2

Building-level result.

[EnumMember(Value = "PREMISE_PROXIMITY")] PremiseProximity = 3

Approximation of the building, e.g. a corner or nearby landmark.

[EnumMember(Value = "ROUTE")] Route = 5

Street-level result.

[EnumMember(Value = "SUB_PREMISE")] SubPremise = 1

Below-building level result (apartment, suite).

[EnumMember(Value = "GRANULARITY_UNSPECIFIED")] Unspecified = 0

Default value. The granularity is unspecified.