Class AddressValidationSettings
Settings for AddressValidationClient instances.
Inherited Members
Namespace: Google.Maps.AddressValidation.V1
Assembly: Google.Maps.AddressValidation.V1.dll
Syntax
public sealed class AddressValidationSettings : ServiceSettingsBase
Constructors
AddressValidationSettings()
Constructs a new AddressValidationSettings object with default settings.
Declaration
public AddressValidationSettings()
Properties
ProvideValidationFeedbackSettings
CallSettings for synchronous and asynchronous calls to
AddressValidationClient.ProvideValidationFeedback
and
AddressValidationClient.ProvideValidationFeedbackAsync
.
Declaration
public CallSettings ProvideValidationFeedbackSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ValidateAddressSettings
CallSettings for synchronous and asynchronous calls to
AddressValidationClient.ValidateAddress
and AddressValidationClient.ValidateAddressAsync
.
Declaration
public CallSettings ValidateAddressSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public AddressValidationSettings Clone()
Returns
Type | Description |
---|---|
AddressValidationSettings | A deep clone of this AddressValidationSettings object. |
GetDefault()
Get a new instance of the default AddressValidationSettings.
Declaration
public static AddressValidationSettings GetDefault()
Returns
Type | Description |
---|---|
AddressValidationSettings | A new instance of the default AddressValidationSettings. |