Skip to content

Commit 91a3f22

Browse files
authored
update Readme
1 parent 60c6354 commit 91a3f22

File tree

1 file changed

+16
-24
lines changed

1 file changed

+16
-24
lines changed

README.md

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,29 @@ You will need an API Key to call the Address Validation API.
2222

2323
Details of the elements we discuss in this section can be found in the [validateAddress object reference guide](https://developers.google.com/maps/documentation/address-validation/reference/rest/v1/TopLevel/validateAddress)
2424

25-
1. ### Test Mode : 1
25+
1. ### Test Mode : 1
2626

27-
In test mode you can store more details from the Address Validation API response .
28-
29-
- place_ID
30-
- latlong
31-
- formatted_address
32-
- postal_address
27+
Caching period: 30 consecutive calendar days, after which Customer must (1) delete the cached Google Maps Content or (2) replace with End User data provided through End User confirmation or correction. Refer to [Google Maps Platform Terms of Service Table 11.3.1 (Caching Permissions)](https://cloud.google.com/maps-platform/terms/maps-service-terms).
28+
- placeId
29+
- Location: latitude values, longitude values
3330
- verdict
34-
- address_type
35-
- usps_data
36-
- address_components
37-
38-
> **Note:** This is an extrmely permissive mode and should be avoided to be used for most scenarios. Only use case where this mode can be used is for testing and for very limited number of addresses. The responses have to be deleted within 15 days.
31+
- formattedAddress
32+
- postalAddress
33+
- addressComponent: componentName
34+
- USPS Data standardizedAddress
35+
- addressComponent: confirmationLevel, inferred, spellCorrected, replaced, unexpected
3936

4037
2. ### Production mode -Users : 2 (default)
4138

42-
A Production mode <ins>not</ins> initiated after user/human interaction, only minimal data elements are allowed to be stored as per [Google Maps Platform Terms of Service](https://cloud.google.com/maps-platform/terms). Typically involves successive and multiple programmatic requests to Address Validation API.
43-
44-
- place_ID
45-
- latlong
46-
- verdict
47-
- address_components
48-
49-
> **Note:** All the data elements in this mode can only be cached for a maximum of 30 days and > must be deleted afterwords.Only place_ID can be stored indefinitely.
39+
Caching period: 30 consecutive calendar days, after which Customer must (1) delete the cached Google Maps Content or (2) replace with End User data provided through End User confirmation or correction. Refer to [Google Maps Platform Terms of Service Table 11.3.1 (Caching Permissions)](https://cloud.google.com/maps-platform/terms/maps-service-terms).
40+
- placeId
41+
- Location: latitude values, longitude values
42+
- addressComponent: confirmationLevel, inferred, spellCorrected, replaced, unexpected
5043

5144
3. ### Production mode -NoUsers : 3
52-
53-
a Production mode initiated after user/human interaction, some more data may be cached for the unique purpose of the user completing his singular task.
54-
55-
- place_ID
45+
Caching period: indefinitely. Refer to [Google Maps Platform Terms of Service Table 11.3.1 (Caching Permissions)](https://cloud.google.com/maps-platform/terms/maps-service-terms).
46+
47+
- placeId
5648

5749
- Update the mode in `config.yaml` file:
5850

0 commit comments

Comments
 (0)