possibleNextAction property
Preview: This feature is in Preview (pre-GA).
Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the Google Maps Platform Service Specific Terms. For more information, see the launch stage descriptions. Offers an interpretive summary of the API response, intended to assist in determining a potential subsequent action to take. This field is derived from other fields in the API response and should not be considered as a guarantee of address accuracy or deliverability. See Build your validation logic for more details. Possible string values are:
- "POSSIBLE_NEXT_ACTION_UNSPECIFIED" : Default value. This value is unused.
- "FIX" : One or more fields of the API response indicate a potential
issue with the post-processed address, for example the
verdict.validation_granularity
isOTHER
. Prompting your customer to edit the address could help improve the quality of the address. - "CONFIRM_ADD_SUBPREMISES" : The API response indicates the post-processed address might be missing a subpremises. Prompting your customer to review the address and consider adding a unit number could help improve the quality of the address. The post-processed address might also have other minor issues. Note: this enum value can only be returned for US addresses.
- "CONFIRM" : One or more fields of the API response indicate potential
minor issues with the post-processed address, for example the
postal_code
address component wasreplaced
. Prompting your customer to review the address could help improve the quality of the address. - "ACCEPT" : The API response does not contain signals that warrant one of the other PossibleNextAction values. You might consider using the post-processed address without further prompting your customer, though this does not guarantee the address is valid, and the address might still contain corrections. It is your responsibility to determine if and how to prompt your customer, depending on your own risk assessment.
Implementation
core.String? possibleNextAction;