Class GoogleMapsAddressvalidationV1Geocode
Contains information about the place the input was geocoded to.
Implements
Inherited Members
Namespace: Google.Apis.AddressValidation.v1.Data
Assembly: Google.Apis.AddressValidation.v1.dll
Syntax
public class GoogleMapsAddressvalidationV1Geocode : IDirectResponseSchema
Properties
Bounds
The bounds of the geocoded place.
Declaration
[JsonProperty("bounds")]
public virtual GoogleGeoTypeViewport Bounds { get; set; }
Property Value
Type | Description |
---|---|
GoogleGeoTypeViewport |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FeatureSizeMeters
The size of the geocoded place, in meters. This is another measure of the coarseness of the geocoded location, but in physical size rather than in semantic meaning.
Declaration
[JsonProperty("featureSizeMeters")]
public virtual float? FeatureSizeMeters { get; set; }
Property Value
Type | Description |
---|---|
float? |
Location
The geocoded location of the input. Using place IDs is preferred over using addresses, latitude/longitude coordinates, or plus codes. Using coordinates when routing or calculating driving directions will always result in the point being snapped to the road nearest to those coordinates. This may not be a road that will quickly or safely lead to the destination and may not be near an access point to the property. Additionally, when a location is reverse geocoded, there is no guarantee that the returned address will match the original.
Declaration
[JsonProperty("location")]
public virtual GoogleTypeLatLng Location { get; set; }
Property Value
Type | Description |
---|---|
GoogleTypeLatLng |
PlaceId
The PlaceID of the place this input geocodes to. For more information about Place IDs see here.
Declaration
[JsonProperty("placeId")]
public virtual string PlaceId { get; set; }
Property Value
Type | Description |
---|---|
string |
PlaceTypes
The type(s) of place that the input geocoded to. For example, ['locality', 'political']
. The full list of
types can be found
here.
Declaration
[JsonProperty("placeTypes")]
public virtual IList<string> PlaceTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
PlusCode
The plus code corresponding to the location
.
Declaration
[JsonProperty("plusCode")]
public virtual GoogleMapsAddressvalidationV1PlusCode PlusCode { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsAddressvalidationV1PlusCode |