Class AddressValidation.AddressValidationBase
Base class for server-side implementations of AddressValidation
Namespace: Google.Maps.AddressValidation.V1
Assembly: Google.Maps.AddressValidation.V1.dll
Syntax
[BindServiceMethod(typeof(AddressValidation), "BindService")]
public abstract class AddressValidation.AddressValidationBase
Methods
ProvideValidationFeedback(ProvideValidationFeedbackRequest, ServerCallContext)
Feedback about the outcome of the sequence of validation attempts. This
should be the last call made after a sequence of validation calls for the
same address, and should be called once the transaction is concluded. This
should only be sent once for the sequence of ValidateAddress
requests
needed to validate an address fully.
Declaration
public virtual Task<ProvideValidationFeedbackResponse> ProvideValidationFeedback(ProvideValidationFeedbackRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ProvideValidationFeedbackRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ProvideValidationFeedbackResponse> | The response to send back to the client (wrapped by a task). |
ValidateAddress(ValidateAddressRequest, ServerCallContext)
Validates an address.
Declaration
public virtual Task<ValidateAddressResponse> ValidateAddress(ValidateAddressRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ValidateAddressRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ValidateAddressResponse> | The response to send back to the client (wrapped by a task). |