class V1 extends Resource (View source)

The "v1" collection of methods.

Typical usage is:

 $addressvalidationService = new Google\Service\AddressValidation(...);
 $v1 = $addressvalidationService->v1;

Methods

provideValidationFeedback(GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest $postBody, array $optParams = [])

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. (v1.provideValidationFeedback)

validateAddress(GoogleMapsAddressvalidationV1ValidateAddressRequest $postBody, array $optParams = [])

Validates an address. (v1.validateAddress)

Details

GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse provideValidationFeedback(GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest $postBody, array $optParams = [])

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. (v1.provideValidationFeedback)

Parameters

GoogleMapsAddressvalidationV1ProvideValidationFeedbackRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleMapsAddressvalidationV1ProvideValidationFeedbackResponse

Exceptions

Exception

GoogleMapsAddressvalidationV1ValidateAddressResponse validateAddress(GoogleMapsAddressvalidationV1ValidateAddressRequest $postBody, array $optParams = [])

Validates an address. (v1.validateAddress)

Parameters

GoogleMapsAddressvalidationV1ValidateAddressRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleMapsAddressvalidationV1ValidateAddressResponse

Exceptions

Exception