Skip to content

Commit 9df6fca

Browse files
Google APIscopybara-github
authored andcommitted
feat!: remove deprecated fields highrise and multi_family
docs: minor documentation updates PiperOrigin-RevId: 487257549
1 parent 150b407 commit 9df6fca

6 files changed

Lines changed: 16 additions & 28 deletions

File tree

google/maps/addressvalidation/v1/address.proto

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,21 @@ message Address {
3838
// The validated address represented as a postal address.
3939
google.type.PostalAddress postal_address = 3;
4040

41-
// The individual address components of the formatted and corrected address,
41+
// Unordered list. The individual address components of the formatted and corrected address,
4242
// along with validation information. This provides information on the
4343
// validation status of the individual components.
4444
//
45-
// Address components are not ordered in a particular way. DO NOT make any
45+
// Address components are not ordered in a particular way. Do not make any
4646
// assumptions on the ordering of the address components in the list.
47-
repeated AddressComponent address_components = 4
48-
[(google.api.field_behavior) = UNORDERED_LIST];
47+
repeated AddressComponent address_components = 4 [(google.api.field_behavior) = UNORDERED_LIST];
4948

5049
// The types of components that were expected to be present in a correctly
5150
// formatted mailing address but were not found in the input AND could
5251
// not be inferred. Components of this type are not present in
5352
// `formatted_address`, `postal_address`, or `address_components`. An
5453
// example might be `['street_number', 'route']` for an input like
55-
// "Boulder, Colorado, 80301, USA." The list of possible types can be found
56-
// [here](https://developers.google.com/maps/documentation/geocoding/overview#Types).
54+
// "Boulder, Colorado, 80301, USA". The list of possible types can be found
55+
// [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
5756
repeated string missing_component_types = 5;
5857

5958
// The types of the components that are present in the `address_components`
@@ -65,8 +64,8 @@ message Address {
6564
// [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
6665
// or the
6766
// [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
68-
// flag is not set to `true`.The list of possible types can be found
69-
// [here](https://developers.google.com/maps/documentation/geocoding/overview#Types).
67+
// flag is not set to `true`. The list of possible types can be found
68+
// [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
7069
repeated string unconfirmed_component_types = 6;
7170

7271
// Any tokens in the input that could not be resolved. This might be an

google/maps/addressvalidation/v1/address_validation_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ message ValidateAddressRequest {
6565
// Required. The address being validated. Unformatted addresses should be
6666
// submitted via [`address_lines`][google.type.PostalAddress.address_lines].
6767
//
68-
// The total length of the fields in this input must not exceed 300
68+
// The total length of the fields in this input must not exceed 280
6969
// characters.
7070
//
7171
// Supported regions can be found in the

google/maps/addressvalidation/v1/addressvalidation_v1.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ documentation:
1212
addresses. Given an address, it returns information about the correctness
1313
of the components of the parsed address, a geocode, and a verdict on the
1414
deliverability of the parsed address.
15-
overview: The Address Validation API allows developers to ...
15+
overview: |-
16+
The Address Validation API allows developers to validate an address and
17+
its components, standardize the address for mailing, and determine the
18+
best known geocode for it.

google/maps/addressvalidation/v1/geocode.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ message Geocode {
6262

6363
// The type(s) of place that the input geocoded to. For example,
6464
// `['locality', 'political']`. The full list of types can be found
65-
// [here](https://developers.google.com/maps/documentation/geocoding/overview#Types).
65+
// [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
6666
repeated string place_types = 7;
6767
}
6868

google/maps/addressvalidation/v1/metadata.proto

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ option ruby_package = "Google::Maps::AddressValidation::V1";
2828

2929
// The metadata for the address.
3030
message AddressMetadata {
31-
// Indicates that this address is a high-rise building.
32-
// If unset, indicates that the value is unknown.
33-
//
34-
// DEPRECATED: Please use
35-
// [`address_record_type`](google.maps.addressvalidation.v1.ValidationResult.usps_data.address_record_type)
36-
// instead. This field will be removed with the GA release.
37-
optional bool highrise = 1 [deprecated = true];
38-
3931
// Indicates that this is the address of a business.
4032
// If unset, indicates that the value is unknown.
4133
optional bool business = 2;
@@ -44,12 +36,6 @@ message AddressMetadata {
4436
// If unset, indicates that the value is unknown.
4537
optional bool po_box = 3;
4638

47-
// Indicates that the address is of a multi-family building.
48-
// If unset, indicates that the value is unknown.
49-
//
50-
// DEPRECATED: this field will be removed with the GA release.
51-
optional bool multi_family = 4 [deprecated = true];
52-
5339
// Indicates that this is the address of a residence.
5440
// If unset, indicates that the value is unknown.
5541
optional bool residential = 6;

google/maps/addressvalidation/v1/usps_data.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ message UspsData {
125125
string dpv_no_stat = 8;
126126

127127
// The carrier route code.
128-
// A four character code--a one letter prefix and a three digit route
129-
// designator.
128+
// A four character code consisting of a one letter prefix and a three digit
129+
// route designator.
130130
//
131131
// Prefixes:
132132
//
@@ -210,7 +210,7 @@ message UspsData {
210210
// processing is suspended because of the detection of artificially created
211211
// addresses.
212212
//
213-
// The USPS data fields may not be populated when this error is present.
213+
// The USPS data fields might not be populated when this error is present.
214214
string error_message = 27;
215215

216216
// Indicator that the request has been CASS processed.

0 commit comments

Comments
 (0)