google-apis-addressvalidation_v1 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a1ffe764574a77e623ed9b42aa0b1a2ef7ea710d2c30ac613d1355683474f3e
|
4
|
+
data.tar.gz: 0f78ffd8047c95350942136f6ab8889de93013d4a375616fd62d9c9b7a92eacb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c76961db5de16744bd96773467e895c31166b404cbc8828ffc9bb1c89ce4a5ae9c78612cf862f4a4963200e6776480dc661f24b7cb8c61754473f85a877f7979
|
7
|
+
data.tar.gz: 32e2269ccf8eb55d075e9c49fa11dec894c35a3c84b079c52019a31c6c152b2fedc6c277a16274afaecc9d42648eea7ae7349236713de80eddc5d60bd215f211
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-addressvalidation_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2024-11-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241120
|
6
|
+
|
7
|
+
### v0.4.0 (2024-11-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241110
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.3.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240703
|
@@ -84,7 +84,11 @@ module Google
|
|
84
84
|
attr_accessor :address_components
|
85
85
|
|
86
86
|
# The post-processed address, formatted as a single-line address following the
|
87
|
-
# address formatting rules of the region where the address is located.
|
87
|
+
# address formatting rules of the region where the address is located. Note: the
|
88
|
+
# format of this address may not match the format of the address in the `
|
89
|
+
# postal_address` field. For example, the `postal_address` always represents the
|
90
|
+
# country as a 2 letter `region_code`, such as "US" or "NZ". By contrast, this
|
91
|
+
# field uses a longer form of the country name, such as "USA" or "New Zealand".
|
88
92
|
# Corresponds to the JSON property `formattedAddress`
|
89
93
|
# @return [String]
|
90
94
|
attr_accessor :formatted_address
|
@@ -100,16 +104,16 @@ module Google
|
|
100
104
|
# @return [Array<String>]
|
101
105
|
attr_accessor :missing_component_types
|
102
106
|
|
103
|
-
# Represents a postal address
|
104
|
-
# Given a postal address, a postal service can deliver items to a
|
105
|
-
# Box or similar. It is not intended to model geographical
|
106
|
-
# towns, mountains). In typical usage an address would be
|
107
|
-
# or from importing existing data, depending on the type
|
108
|
-
# address input / editing: - Use an internationalization-
|
109
|
-
# such as https://github.com/google/libaddressinput) -
|
110
|
-
# presented with UI elements for input or editing of fields
|
111
|
-
# where that field is used. For more guidance on how to use
|
112
|
-
# see: https://support.google.com/business/answer/6397478
|
107
|
+
# Represents a postal address. For example for postal delivery or payments
|
108
|
+
# addresses. Given a postal address, a postal service can deliver items to a
|
109
|
+
# premise, P.O. Box or similar. It is not intended to model geographical
|
110
|
+
# locations (roads, towns, mountains). In typical usage an address would be
|
111
|
+
# created by user input or from importing existing data, depending on the type
|
112
|
+
# of process. Advice on address input / editing: - Use an internationalization-
|
113
|
+
# ready address widget such as https://github.com/google/libaddressinput) -
|
114
|
+
# Users should not be presented with UI elements for input or editing of fields
|
115
|
+
# outside countries where that field is used. For more guidance on how to use
|
116
|
+
# this schema, see: https://support.google.com/business/answer/6397478
|
113
117
|
# Corresponds to the JSON property `postalAddress`
|
114
118
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
115
119
|
attr_accessor :postal_address
|
@@ -126,10 +130,10 @@ module Google
|
|
126
130
|
attr_accessor :unconfirmed_component_types
|
127
131
|
|
128
132
|
# Any tokens in the input that could not be resolved. This might be an input
|
129
|
-
# that was not recognized as a valid part of an address
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
+
# that was not recognized as a valid part of an address. For example, for an
|
134
|
+
# input such as "Parcel 0000123123 & 0000456456 Str # Guthrie Center IA 50115 US"
|
135
|
+
# , the unresolved tokens might look like `["Parcel", "0000123123", "&", "
|
136
|
+
# 0000456456"]`.
|
133
137
|
# Corresponds to the JSON property `unresolvedTokens`
|
134
138
|
# @return [Array<String>]
|
135
139
|
attr_accessor :unresolved_tokens
|
@@ -854,16 +858,16 @@ module Google
|
|
854
858
|
class GoogleMapsAddressvalidationV1ValidateAddressRequest
|
855
859
|
include Google::Apis::Core::Hashable
|
856
860
|
|
857
|
-
# Represents a postal address
|
858
|
-
# Given a postal address, a postal service can deliver items to a
|
859
|
-
# Box or similar. It is not intended to model geographical
|
860
|
-
# towns, mountains). In typical usage an address would be
|
861
|
-
# or from importing existing data, depending on the type
|
862
|
-
# address input / editing: - Use an internationalization-
|
863
|
-
# such as https://github.com/google/libaddressinput) -
|
864
|
-
# presented with UI elements for input or editing of fields
|
865
|
-
# where that field is used. For more guidance on how to use
|
866
|
-
# see: https://support.google.com/business/answer/6397478
|
861
|
+
# Represents a postal address. For example for postal delivery or payments
|
862
|
+
# addresses. Given a postal address, a postal service can deliver items to a
|
863
|
+
# premise, P.O. Box or similar. It is not intended to model geographical
|
864
|
+
# locations (roads, towns, mountains). In typical usage an address would be
|
865
|
+
# created by user input or from importing existing data, depending on the type
|
866
|
+
# of process. Advice on address input / editing: - Use an internationalization-
|
867
|
+
# ready address widget such as https://github.com/google/libaddressinput) -
|
868
|
+
# Users should not be presented with UI elements for input or editing of fields
|
869
|
+
# outside countries where that field is used. For more guidance on how to use
|
870
|
+
# this schema, see: https://support.google.com/business/answer/6397478
|
867
871
|
# Corresponds to the JSON property `address`
|
868
872
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
869
873
|
attr_accessor :address
|
@@ -1128,35 +1132,36 @@ module Google
|
|
1128
1132
|
end
|
1129
1133
|
end
|
1130
1134
|
|
1131
|
-
# Represents a postal address
|
1132
|
-
# Given a postal address, a postal service can deliver items to a
|
1133
|
-
# Box or similar. It is not intended to model geographical
|
1134
|
-
# towns, mountains). In typical usage an address would be
|
1135
|
-
# or from importing existing data, depending on the type
|
1136
|
-
# address input / editing: - Use an internationalization-
|
1137
|
-
# such as https://github.com/google/libaddressinput) -
|
1138
|
-
# presented with UI elements for input or editing of fields
|
1139
|
-
# where that field is used. For more guidance on how to use
|
1140
|
-
# see: https://support.google.com/business/answer/6397478
|
1135
|
+
# Represents a postal address. For example for postal delivery or payments
|
1136
|
+
# addresses. Given a postal address, a postal service can deliver items to a
|
1137
|
+
# premise, P.O. Box or similar. It is not intended to model geographical
|
1138
|
+
# locations (roads, towns, mountains). In typical usage an address would be
|
1139
|
+
# created by user input or from importing existing data, depending on the type
|
1140
|
+
# of process. Advice on address input / editing: - Use an internationalization-
|
1141
|
+
# ready address widget such as https://github.com/google/libaddressinput) -
|
1142
|
+
# Users should not be presented with UI elements for input or editing of fields
|
1143
|
+
# outside countries where that field is used. For more guidance on how to use
|
1144
|
+
# this schema, see: https://support.google.com/business/answer/6397478
|
1141
1145
|
class GoogleTypePostalAddress
|
1142
1146
|
include Google::Apis::Core::Hashable
|
1143
1147
|
|
1144
1148
|
# Unstructured address lines describing the lower levels of an address. Because
|
1145
1149
|
# values in address_lines do not have type information and may sometimes contain
|
1146
|
-
# multiple values in a single field (
|
1147
|
-
# the line order is clear. The order of address lines should be "envelope
|
1148
|
-
# for the country/region of the address. In places where this can vary (
|
1149
|
-
# Japan), address_language is used to make it explicit (
|
1150
|
-
# small ordering and "ja-Latn" or "en" for small-to-large).
|
1151
|
-
# specific line of an address can be selected based on the
|
1152
|
-
# permitted structural representation of an address
|
1153
|
-
# with all remaining information placed in the
|
1154
|
-
# possible to format such an address very
|
1155
|
-
# no semantic reasoning could be made about
|
1156
|
-
# it was at least partially resolved.
|
1157
|
-
# region_code and address_lines, and then
|
1158
|
-
# handle completely unstructured addresses (
|
1159
|
-
# of the address should be localities or
|
1150
|
+
# multiple values in a single field (For example "Austin, TX"), it is important
|
1151
|
+
# that the line order is clear. The order of address lines should be "envelope
|
1152
|
+
# order" for the country/region of the address. In places where this can vary (
|
1153
|
+
# For example Japan), address_language is used to make it explicit (For example "
|
1154
|
+
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
|
1155
|
+
# This way, the most specific line of an address can be selected based on the
|
1156
|
+
# language. The minimum permitted structural representation of an address
|
1157
|
+
# consists of a region_code with all remaining information placed in the
|
1158
|
+
# address_lines. It would be possible to format such an address very
|
1159
|
+
# approximately without geocoding, but no semantic reasoning could be made about
|
1160
|
+
# any of the address components until it was at least partially resolved.
|
1161
|
+
# Creating an address only containing a region_code and address_lines, and then
|
1162
|
+
# geocoding is the recommended way to handle completely unstructured addresses (
|
1163
|
+
# as opposed to guessing which parts of the address should be localities or
|
1164
|
+
# administrative areas).
|
1160
1165
|
# Corresponds to the JSON property `addressLines`
|
1161
1166
|
# @return [Array<String>]
|
1162
1167
|
attr_accessor :address_lines
|
@@ -1164,9 +1169,9 @@ module Google
|
|
1164
1169
|
# Optional. Highest administrative subdivision which is used for postal
|
1165
1170
|
# addresses of a country or region. For example, this can be a state, a province,
|
1166
1171
|
# an oblast, or a prefecture. Specifically, for Spain this is the province and
|
1167
|
-
# not the autonomous community (
|
1168
|
-
# countries don't use an administrative area in postal addresses.
|
1169
|
-
# Switzerland this should be left unpopulated.
|
1172
|
+
# not the autonomous community (For example "Barcelona" and not "Catalonia").
|
1173
|
+
# Many countries don't use an administrative area in postal addresses. For
|
1174
|
+
# example in Switzerland this should be left unpopulated.
|
1170
1175
|
# Corresponds to the JSON property `administrativeArea`
|
1171
1176
|
# @return [String]
|
1172
1177
|
attr_accessor :administrative_area
|
@@ -1198,8 +1203,8 @@ module Google
|
|
1198
1203
|
|
1199
1204
|
# Optional. Postal code of the address. Not all countries use or require postal
|
1200
1205
|
# codes to be present, but where they are used, they may trigger additional
|
1201
|
-
# validation with other parts of the address (
|
1202
|
-
# S.A.).
|
1206
|
+
# validation with other parts of the address (For example state/zip validation
|
1207
|
+
# in the U.S.A.).
|
1203
1208
|
# Corresponds to the JSON property `postalCode`
|
1204
1209
|
# @return [String]
|
1205
1210
|
attr_accessor :postal_code
|
@@ -1228,9 +1233,9 @@ module Google
|
|
1228
1233
|
|
1229
1234
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
1230
1235
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
1231
|
-
# optionally followed by a number (
|
1232
|
-
# representing the "sector code" (Jamaica), "delivery area indicator" (
|
1233
|
-
# or "post office indicator" (
|
1236
|
+
# optionally followed by a number (For example "CEDEX 7"), or just a number
|
1237
|
+
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
1238
|
+
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
|
1234
1239
|
# Corresponds to the JSON property `sortingCode`
|
1235
1240
|
# @return [String]
|
1236
1241
|
attr_accessor :sorting_code
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AddressvalidationV1
|
18
18
|
# Version of the google-apis-addressvalidation_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241120"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-addressvalidation_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Address Validation API V1
|