google-apis-addressvalidation_v1 0.5.0 → 0.6.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: b91376d71eb64ea4d18df4651abb33ff40014c11f2570dcb251c090f8430ed39
|
4
|
+
data.tar.gz: 14848baffa8377ac542b3621d166a4c5c07ad504576d5e2e8344103e883374a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec43f2fac5a1af4fccd14eb1c7ef4961cb02ab8f6bfb7192881b5894c27c174625c59a89e036d6944aa7eec2f5c0f2047fc31310cee13e47dbe2be6f8e4c171
|
7
|
+
data.tar.gz: 5894f45685e6a554708fac36b25f0297524b024571b32ad46c9c5ff0f6251407e662907b4305b92344bede631a1b309614a18bf2f62c135f424c4be0e0027267
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-addressvalidation_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2025-03-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250318
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.5.0 (2024-11-24)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241120
|
@@ -104,16 +104,16 @@ module Google
|
|
104
104
|
# @return [Array<String>]
|
105
105
|
attr_accessor :missing_component_types
|
106
106
|
|
107
|
-
# Represents a postal address
|
108
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
109
|
-
# premise, P.O.
|
110
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
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
111
|
# created by user input or from importing existing data, depending on the type
|
112
|
-
# of process. Advice on address input
|
113
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
112
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
113
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
114
114
|
# Users should not be presented with UI elements for input or editing of fields
|
115
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
|
116
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
117
117
|
# Corresponds to the JSON property `postalAddress`
|
118
118
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
119
119
|
attr_accessor :postal_address
|
@@ -858,16 +858,16 @@ module Google
|
|
858
858
|
class GoogleMapsAddressvalidationV1ValidateAddressRequest
|
859
859
|
include Google::Apis::Core::Hashable
|
860
860
|
|
861
|
-
# Represents a postal address
|
862
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
863
|
-
# premise, P.O.
|
864
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
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
865
|
# created by user input or from importing existing data, depending on the type
|
866
|
-
# of process. Advice on address input
|
867
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
866
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
867
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
868
868
|
# Users should not be presented with UI elements for input or editing of fields
|
869
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
|
870
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
871
871
|
# Corresponds to the JSON property `address`
|
872
872
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
873
873
|
attr_accessor :address
|
@@ -1132,46 +1132,46 @@ module Google
|
|
1132
1132
|
end
|
1133
1133
|
end
|
1134
1134
|
|
1135
|
-
# Represents a postal address
|
1136
|
-
# addresses. Given a postal address, a postal service can deliver items to a
|
1137
|
-
# premise, P.O.
|
1138
|
-
# locations (roads, towns, mountains). In typical usage an address would be
|
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
1139
|
# created by user input or from importing existing data, depending on the type
|
1140
|
-
# of process. Advice on address input
|
1141
|
-
# ready address widget such as https://github.com/google/libaddressinput
|
1140
|
+
# of process. Advice on address input or editing: - Use an internationalization-
|
1141
|
+
# ready address widget such as https://github.com/google/libaddressinput. -
|
1142
1142
|
# Users should not be presented with UI elements for input or editing of fields
|
1143
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
|
1144
|
+
# this schema, see: https://support.google.com/business/answer/6397478.
|
1145
1145
|
class GoogleTypePostalAddress
|
1146
1146
|
include Google::Apis::Core::Hashable
|
1147
1147
|
|
1148
1148
|
# Unstructured address lines describing the lower levels of an address. Because
|
1149
|
-
# values in address_lines do not have type information and may sometimes
|
1150
|
-
# multiple values in a single field (
|
1151
|
-
# that the line order is clear. The order of address lines should be "
|
1152
|
-
# order" for the country
|
1153
|
-
#
|
1154
|
-
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
1155
|
-
#
|
1156
|
-
# language. The minimum permitted structural representation of an
|
1157
|
-
# consists of a region_code with all remaining information placed in
|
1158
|
-
# address_lines
|
1149
|
+
# values in `address_lines` do not have type information and may sometimes
|
1150
|
+
# contain multiple values in a single field (for example, "Austin, TX"), it is
|
1151
|
+
# important that the line order is clear. The order of address lines should be "
|
1152
|
+
# envelope order" for the country or region of the address. In places where this
|
1153
|
+
# can vary (for example, Japan), `address_language` is used to make it explicit (
|
1154
|
+
# for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
|
1155
|
+
# to-large). In this way, the most specific line of an address can be selected
|
1156
|
+
# based on the language. The minimum permitted structural representation of an
|
1157
|
+
# address consists of a `region_code` with all remaining information placed in
|
1158
|
+
# the `address_lines`. It would be possible to format such an address very
|
1159
1159
|
# approximately without geocoding, but no semantic reasoning could be made about
|
1160
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
|
1162
|
-
# geocoding is the recommended way to handle completely unstructured
|
1163
|
-
# as opposed to guessing which parts of the address should be
|
1164
|
-
# administrative areas).
|
1161
|
+
# Creating an address only containing a `region_code` and `address_lines` and
|
1162
|
+
# then geocoding is the recommended way to handle completely unstructured
|
1163
|
+
# addresses (as opposed to guessing which parts of the address should be
|
1164
|
+
# localities or administrative areas).
|
1165
1165
|
# Corresponds to the JSON property `addressLines`
|
1166
1166
|
# @return [Array<String>]
|
1167
1167
|
attr_accessor :address_lines
|
1168
1168
|
|
1169
1169
|
# Optional. Highest administrative subdivision which is used for postal
|
1170
1170
|
# addresses of a country or region. For example, this can be a state, a province,
|
1171
|
-
# an oblast, or a prefecture.
|
1172
|
-
#
|
1173
|
-
#
|
1174
|
-
#
|
1171
|
+
# an oblast, or a prefecture. For Spain, this is the province and not the
|
1172
|
+
# autonomous community (for example, "Barcelona" and not "Catalonia"). Many
|
1173
|
+
# countries don't use an administrative area in postal addresses. For example,
|
1174
|
+
# in Switzerland, this should be left unpopulated.
|
1175
1175
|
# Corresponds to the JSON property `administrativeArea`
|
1176
1176
|
# @return [String]
|
1177
1177
|
attr_accessor :administrative_area
|
@@ -1188,10 +1188,10 @@ module Google
|
|
1188
1188
|
# @return [String]
|
1189
1189
|
attr_accessor :language_code
|
1190
1190
|
|
1191
|
-
# Optional. Generally refers to the city
|
1192
|
-
# US city, IT comune, UK post town. In regions of the world where
|
1193
|
-
# not well defined or do not fit into this structure well, leave
|
1194
|
-
# and use address_lines
|
1191
|
+
# Optional. Generally refers to the city or town portion of the address.
|
1192
|
+
# Examples: US city, IT comune, UK post town. In regions of the world where
|
1193
|
+
# localities are not well defined or do not fit into this structure well, leave `
|
1194
|
+
# locality` empty and use `address_lines`.
|
1195
1195
|
# Corresponds to the JSON property `locality`
|
1196
1196
|
# @return [String]
|
1197
1197
|
attr_accessor :locality
|
@@ -1203,8 +1203,8 @@ module Google
|
|
1203
1203
|
|
1204
1204
|
# Optional. Postal code of the address. Not all countries use or require postal
|
1205
1205
|
# codes to be present, but where they are used, they may trigger additional
|
1206
|
-
# validation with other parts of the address (
|
1207
|
-
# in the
|
1206
|
+
# validation with other parts of the address (for example, state or zip code
|
1207
|
+
# validation in the United States).
|
1208
1208
|
# Corresponds to the JSON property `postalCode`
|
1209
1209
|
# @return [String]
|
1210
1210
|
attr_accessor :postal_code
|
@@ -1233,15 +1233,15 @@ module Google
|
|
1233
1233
|
|
1234
1234
|
# Optional. Additional, country-specific, sorting code. This is not used in most
|
1235
1235
|
# regions. Where it is used, the value is either a string like "CEDEX",
|
1236
|
-
# optionally followed by a number (
|
1236
|
+
# optionally followed by a number (for example, "CEDEX 7"), or just a number
|
1237
1237
|
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
|
1238
|
-
# Malawi) or "post office indicator" (
|
1238
|
+
# Malawi) or "post office indicator" (Côte d'Ivoire).
|
1239
1239
|
# Corresponds to the JSON property `sortingCode`
|
1240
1240
|
# @return [String]
|
1241
1241
|
attr_accessor :sorting_code
|
1242
1242
|
|
1243
|
-
# Optional. Sublocality of the address. For example, this can be
|
1244
|
-
#
|
1243
|
+
# Optional. Sublocality of the address. For example, this can be a neighborhood,
|
1244
|
+
# borough, or district.
|
1245
1245
|
# Corresponds to the JSON property `sublocality`
|
1246
1246
|
# @return [String]
|
1247
1247
|
attr_accessor :sublocality
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-23 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.6.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Address Validation API V1
|
82
79
|
test_files: []
|