Class GoogleMapsAddressvalidationV1AddressComponent
Represents an address component, such as a street, city, or state.
Implements
Inherited Members
Namespace: Google.Apis.AddressValidation.v1.Data
Assembly: Google.Apis.AddressValidation.v1.dll
Syntax
public class GoogleMapsAddressvalidationV1AddressComponent : IDirectResponseSchema
Properties
ComponentName
The name for this component.
Declaration
[JsonProperty("componentName")]
public virtual GoogleMapsAddressvalidationV1ComponentName ComponentName { get; set; }
Property Value
Type | Description |
---|---|
GoogleMapsAddressvalidationV1ComponentName |
ComponentType
The type of the address component. See Table 2: Additional types returned by the Places service for a list of possible types.
Declaration
[JsonProperty("componentType")]
public virtual string ComponentType { get; set; }
Property Value
Type | Description |
---|---|
string |
ConfirmationLevel
Indicates the level of certainty that we have that the component is correct.
Declaration
[JsonProperty("confirmationLevel")]
public virtual string ConfirmationLevel { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Inferred
Indicates that the component was not part of the input, but we inferred it for the address location and believe it should be provided for a complete address.
Declaration
[JsonProperty("inferred")]
public virtual bool? Inferred { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Replaced
Indicates the name of the component was replaced with a completely different one, for example a wrong postal code being replaced with one that is correct for the address. This is not a cosmetic change, the input component has been changed to a different one.
Declaration
[JsonProperty("replaced")]
public virtual bool? Replaced { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SpellCorrected
Indicates a correction to a misspelling in the component name. The API does not always flag changes from one spelling variant to another, such as when changing "centre" to "center". It also does not always flag common misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre Pkwy".
Declaration
[JsonProperty("spellCorrected")]
public virtual bool? SpellCorrected { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Unexpected
Indicates an address component that is not expected to be present in a postal address for the given region. We have retained it only because it was part of the input.
Declaration
[JsonProperty("unexpected")]
public virtual bool? Unexpected { get; set; }
Property Value
Type | Description |
---|---|
bool? |