From 646a9061126a81dd8e567d4a36799b6ab220ba41 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 7 Nov 2024 13:18:03 +0000 Subject: [PATCH] feat: Automated regeneration of AddressValidation client --- .../lib/google_api/address_validation/v1/metadata.ex | 2 +- .../v1/model/google_maps_addressvalidation_v1_address.ex | 4 ++-- clients/address_validation/mix.exs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clients/address_validation/lib/google_api/address_validation/v1/metadata.ex b/clients/address_validation/lib/google_api/address_validation/v1/metadata.ex index 2317bc2ad5..d8c16f1f1f 100644 --- a/clients/address_validation/lib/google_api/address_validation/v1/metadata.ex +++ b/clients/address_validation/lib/google_api/address_validation/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.AddressValidation.V1 do API client metadata for GoogleApi.AddressValidation.V1. """ - @discovery_revision "20240703" + @discovery_revision "20241106" def discovery_revision(), do: @discovery_revision end diff --git a/clients/address_validation/lib/google_api/address_validation/v1/model/google_maps_addressvalidation_v1_address.ex b/clients/address_validation/lib/google_api/address_validation/v1/model/google_maps_addressvalidation_v1_address.ex index 208afac8cf..7d3319ff68 100644 --- a/clients/address_validation/lib/google_api/address_validation/v1/model/google_maps_addressvalidation_v1_address.ex +++ b/clients/address_validation/lib/google_api/address_validation/v1/model/google_maps_addressvalidation_v1_address.ex @@ -22,11 +22,11 @@ defmodule GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1Addr ## Attributes * `addressComponents` (*type:* `list(GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1AddressComponent.t)`, *default:* `nil`) - Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list. - * `formattedAddress` (*type:* `String.t`, *default:* `nil`) - The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located. + * `formattedAddress` (*type:* `String.t`, *default:* `nil`) - The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located. Note: the format of this address may not match the format of the address in the `postal_address` field. For example, the `postal_address` will always represent the country as a 2 letter `region_code` (ex. "US" or "CA"), whereas this field will use a longer form of the country name (ex. "USA or "Canada"). * `missingComponentTypes` (*type:* `list(String.t)`, *default:* `nil`) - The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. Components of this type are not present in `formatted_address`, `postal_address`, or `address_components`. An example might be `['street_number', 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types). * `postalAddress` (*type:* `GoogleApi.AddressValidation.V1.Model.GoogleTypePostalAddress.t`, *default:* `nil`) - The post-processed address represented as a postal address. * `unconfirmedComponentTypes` (*type:* `list(String.t)`, *default:* `nil`) - The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the confirmation_level is not CONFIRMED or the inferred flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types). - * `unresolvedTokens` (*type:* `list(String.t)`, *default:* `nil`) - Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number. + * `unresolvedTokens` (*type:* `list(String.t)`, *default:* `nil`) - Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "Parcel 0000123123 & 0000456456 Str # Guthrie Center IA 50115 US", the unresolved tokens may look like `["Parcel", "0000123123", "&", "0000456456"]`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/address_validation/mix.exs b/clients/address_validation/mix.exs index c73f3a0a85..5ceda7ece3 100644 --- a/clients/address_validation/mix.exs +++ b/clients/address_validation/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.AddressValidation.Mixfile do use Mix.Project - @version "0.3.0" + @version "0.3.1" def project() do [