Skip to content

Commit 2592f50

Browse files
Google APIscopybara-github
authored andcommitted
docs: Document that PREMISE_PROXIMITY is a valid value for an address granularity
PiperOrigin-RevId: 493546802
1 parent b88d338 commit 2592f50

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

google/maps/addressvalidation/v1/address_validation_service.proto

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ service AddressValidation {
4040
option (google.api.default_host) = "addressvalidation.googleapis.com";
4141

4242
// Validates an address.
43-
rpc ValidateAddress(ValidateAddressRequest) returns (ValidateAddressResponse) {
43+
rpc ValidateAddress(ValidateAddressRequest)
44+
returns (ValidateAddressResponse) {
4445
option (google.api.http) = {
4546
post: "/v1:validateAddress"
4647
body: "*"
@@ -52,7 +53,8 @@ service AddressValidation {
5253
// same address, and should be called once the transaction is concluded. This
5354
// should only be sent once for the sequence of `ValidateAddress` requests
5455
// needed to validate an address fully.
55-
rpc ProvideValidationFeedback(ProvideValidationFeedbackRequest) returns (ProvideValidationFeedbackResponse) {
56+
rpc ProvideValidationFeedback(ProvideValidationFeedbackRequest)
57+
returns (ProvideValidationFeedbackResponse) {
5658
option (google.api.http) = {
5759
post: "/v1:provideValidationFeedback"
5860
body: "*"
@@ -80,7 +82,8 @@ message ValidateAddressRequest {
8082
// [recipients][google.type.PostalAddress.recipients] and
8183
// [organization][google.type.PostalAddress.organization]. Any values in those
8284
// fields will be discarded and not returned. Please do not set them.
83-
google.type.PostalAddress address = 1 [(google.api.field_behavior) = REQUIRED];
85+
google.type.PostalAddress address = 1
86+
[(google.api.field_behavior) = REQUIRED];
8487

8588
// This field must be empty for the first address validation request. If
8689
// more requests are necessary to fully validate a single address (for
@@ -149,7 +152,8 @@ message ProvideValidationFeedbackRequest {
149152
// `INVALID_ARGUMENT` error will be returned.
150153
ValidationConclusion conclusion = 1 [(google.api.field_behavior) = REQUIRED];
151154

152-
// Required. The ID of the response that this feedback is for. This should be the
155+
// Required. The ID of the response that this feedback is for. This should be
156+
// the
153157
// [response_id][google.maps.addressvalidation.v1.ValidateAddressRequest.response_id]
154158
// from the first response in a series of address validation attempts.
155159
string response_id = 2 [(google.api.field_behavior) = REQUIRED];
@@ -158,9 +162,7 @@ message ProvideValidationFeedbackRequest {
158162
// The response for validation feedback.
159163
//
160164
// The response is empty if the feedback is sent successfully.
161-
message ProvideValidationFeedbackResponse {
162-
163-
}
165+
message ProvideValidationFeedbackResponse {}
164166

165167
// The result of validating an address.
166168
message ValidationResult {
@@ -202,7 +204,7 @@ message Verdict {
202204
PREMISE = 2;
203205

204206
// A geocode that should be very close to the building-level location of
205-
// the address. Only used for geocodes and not for addresses.
207+
// the address.
206208
PREMISE_PROXIMITY = 3;
207209

208210
// The address or geocode indicates a block. Only used in regions which

0 commit comments

Comments
 (0)