google-apis-addressvalidation_v1 0.9.0 → 0.11.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: a4f98968d1f9a46517782617205c8ebb1d9068968338649c28de0ea1a35b731a
|
4
|
+
data.tar.gz: 9551ec32504847200ff25897337da87f56e4a8ca51245ceed43616c64c36df35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b3c5cce5f1940ef153da59efa60cafcadef4be0db6b4ca7f125691a9ded22d783a060471c8c983521aa5a60454070b3c4f42e820199cfb359587f678b1951ea
|
7
|
+
data.tar.gz: 9a1799f01e780015fc1a362d600e5a4f0dfd8b03fa3f7d67d12a42f93215dd5f07e67f6d12627cc79623a2368abcf88085670bd04dc4c9854ebc9ecb980115fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-addressvalidation_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2025-06-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250618
|
6
|
+
|
7
|
+
### v0.10.0 (2025-06-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250611
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.9.0 (2025-05-04)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.17.0
|
@@ -108,16 +108,17 @@ module Google
|
|
108
108
|
# @return [Array<String>]
|
109
109
|
attr_accessor :missing_component_types
|
110
110
|
|
111
|
-
# Represents a postal address
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# locations
|
115
|
-
# created by user input or from importing existing data, depending on the
|
116
|
-
# of process. Advice on address input or editing: - Use an
|
117
|
-
# ready address widget such as https://github.com/google/
|
118
|
-
# Users should not be presented with UI elements for input or
|
119
|
-
# outside countries where that field is used. For more
|
120
|
-
# this schema, see: https://support.google.com/business/
|
111
|
+
# Represents a postal address, such as for postal delivery or payments addresses.
|
112
|
+
# With a postal address, a postal service can deliver items to a premise, P.O.
|
113
|
+
# box, or similar. A postal address is not intended to model geographical
|
114
|
+
# locations like roads, towns, or mountains. In typical usage, an address would
|
115
|
+
# be created by user input or from importing existing data, depending on the
|
116
|
+
# type of process. Advice on address input or editing: - Use an
|
117
|
+
# internationalization-ready address widget such as https://github.com/google/
|
118
|
+
# libaddressinput. - Users should not be presented with UI elements for input or
|
119
|
+
# editing of fields outside countries where that field is used. For more
|
120
|
+
# guidance on how to use this schema, see: https://support.google.com/business/
|
121
|
+
# answer/6397478.
|
121
122
|
# Corresponds to the JSON property `postalAddress`
|
122
123
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
123
124
|
attr_accessor :postal_address
|
@@ -227,8 +228,8 @@ module Google
|
|
227
228
|
end
|
228
229
|
end
|
229
230
|
|
230
|
-
# The metadata for the address. `metadata` is not guaranteed to
|
231
|
-
# populated for every address sent to the Address Validation API.
|
231
|
+
# The metadata for the post-processed address. `metadata` is not guaranteed to
|
232
|
+
# be fully populated for every address sent to the Address Validation API.
|
232
233
|
class GoogleMapsAddressvalidationV1AddressMetadata
|
233
234
|
include Google::Apis::Core::Hashable
|
234
235
|
|
@@ -862,16 +863,17 @@ module Google
|
|
862
863
|
class GoogleMapsAddressvalidationV1ValidateAddressRequest
|
863
864
|
include Google::Apis::Core::Hashable
|
864
865
|
|
865
|
-
# Represents a postal address
|
866
|
-
#
|
867
|
-
#
|
868
|
-
# locations
|
869
|
-
# created by user input or from importing existing data, depending on the
|
870
|
-
# of process. Advice on address input or editing: - Use an
|
871
|
-
# ready address widget such as https://github.com/google/
|
872
|
-
# Users should not be presented with UI elements for input or
|
873
|
-
# outside countries where that field is used. For more
|
874
|
-
# this schema, see: https://support.google.com/business/
|
866
|
+
# Represents a postal address, such as for postal delivery or payments addresses.
|
867
|
+
# With a postal address, a postal service can deliver items to a premise, P.O.
|
868
|
+
# box, or similar. A postal address is not intended to model geographical
|
869
|
+
# locations like roads, towns, or mountains. In typical usage, an address would
|
870
|
+
# be created by user input or from importing existing data, depending on the
|
871
|
+
# type of process. Advice on address input or editing: - Use an
|
872
|
+
# internationalization-ready address widget such as https://github.com/google/
|
873
|
+
# libaddressinput. - Users should not be presented with UI elements for input or
|
874
|
+
# editing of fields outside countries where that field is used. For more
|
875
|
+
# guidance on how to use this schema, see: https://support.google.com/business/
|
876
|
+
# answer/6397478.
|
875
877
|
# Corresponds to the JSON property `address`
|
876
878
|
# @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
|
877
879
|
attr_accessor :address
|
@@ -993,8 +995,8 @@ module Google
|
|
993
995
|
# @return [Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1Geocode]
|
994
996
|
attr_accessor :geocode
|
995
997
|
|
996
|
-
# The metadata for the address. `metadata` is not guaranteed to
|
997
|
-
# populated for every address sent to the Address Validation API.
|
998
|
+
# The metadata for the post-processed address. `metadata` is not guaranteed to
|
999
|
+
# be fully populated for every address sent to the Address Validation API.
|
998
1000
|
# Corresponds to the JSON property `metadata`
|
999
1001
|
# @return [Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1AddressMetadata]
|
1000
1002
|
attr_accessor :metadata
|
@@ -1031,10 +1033,10 @@ module Google
|
|
1031
1033
|
class GoogleMapsAddressvalidationV1Verdict
|
1032
1034
|
include Google::Apis::Core::Hashable
|
1033
1035
|
|
1034
|
-
# The address is considered complete if there are no unresolved
|
1035
|
-
# unexpected or missing address components. If unset, indicates that
|
1036
|
-
# is `false`. See `missing_component_types`, `unresolved_tokens` or `
|
1037
|
-
# fields for more details.
|
1036
|
+
# The post-processed address is considered complete if there are no unresolved
|
1037
|
+
# tokens, no unexpected or missing address components. If unset, indicates that
|
1038
|
+
# the value is `false`. See `missing_component_types`, `unresolved_tokens` or `
|
1039
|
+
# unexpected` fields for more details.
|
1038
1040
|
# Corresponds to the JSON property `addressComplete`
|
1039
1041
|
# @return [Boolean]
|
1040
1042
|
attr_accessor :address_complete
|
@@ -1065,6 +1067,13 @@ module Google
|
|
1065
1067
|
attr_accessor :has_replaced_components
|
1066
1068
|
alias_method :has_replaced_components?, :has_replaced_components
|
1067
1069
|
|
1070
|
+
# At least one address component was spell-corrected, see [google.maps.
|
1071
|
+
# addressvalidation.v1.Address.address_components] for details.
|
1072
|
+
# Corresponds to the JSON property `hasSpellCorrectedComponents`
|
1073
|
+
# @return [Boolean]
|
1074
|
+
attr_accessor :has_spell_corrected_components
|
1075
|
+
alias_method :has_spell_corrected_components?, :has_spell_corrected_components
|
1076
|
+
|
1068
1077
|
# At least one address component cannot be categorized or validated, see [google.
|
1069
1078
|
# maps.addressvalidation.v1.Address.address_components] for details.
|
1070
1079
|
# Corresponds to the JSON property `hasUnconfirmedComponents`
|
@@ -1076,17 +1085,33 @@ module Google
|
|
1076
1085
|
# input address and does not give any validation signals. For validation signals,
|
1077
1086
|
# refer to `validation_granularity` below. For example, if the input address
|
1078
1087
|
# includes a specific apartment number, then the `input_granularity` here will
|
1079
|
-
# be `SUB_PREMISE`. If
|
1080
|
-
# the apartment number is invalid, the `
|
1081
|
-
# PREMISE` or
|
1088
|
+
# be `SUB_PREMISE`. If the address validation service cannot match the apartment
|
1089
|
+
# number in the databases or the apartment number is invalid, the `
|
1090
|
+
# validation_granularity` will likely be `PREMISE` or more coarse.
|
1082
1091
|
# Corresponds to the JSON property `inputGranularity`
|
1083
1092
|
# @return [String]
|
1084
1093
|
attr_accessor :input_granularity
|
1085
1094
|
|
1086
|
-
#
|
1087
|
-
#
|
1088
|
-
#
|
1089
|
-
#
|
1095
|
+
# Preview: This feature is in Preview (pre-GA). Pre-GA products and features
|
1096
|
+
# might have limited support, and changes to pre-GA products and features might
|
1097
|
+
# not be compatible with other pre-GA versions. Pre-GA Offerings are covered by
|
1098
|
+
# the [Google Maps Platform Service Specific Terms](https://cloud.google.com/
|
1099
|
+
# maps-platform/terms/maps-service-terms). For more information, see the [launch
|
1100
|
+
# stage descriptions](https://developers.google.com/maps/launch-stages). Offers
|
1101
|
+
# an interpretive summary of the API response, intended to assist in determining
|
1102
|
+
# a potential subsequent action to take. This field is derived from other fields
|
1103
|
+
# in the API response and should not be considered as a guarantee of address
|
1104
|
+
# accuracy or deliverability. See [Build your validation logic](https://
|
1105
|
+
# developers.google.com/maps/documentation/address-validation/build-validation-
|
1106
|
+
# logic) for more details.
|
1107
|
+
# Corresponds to the JSON property `possibleNextAction`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :possible_next_action
|
1110
|
+
|
1111
|
+
# The level of granularity for the post-processed address that the API can fully
|
1112
|
+
# validate. For example, a `validation_granularity` of `PREMISE` indicates all
|
1113
|
+
# address components at the level of `PREMISE` or more coarse can be validated.
|
1114
|
+
# Per address component validation result can be found in [google.maps.
|
1090
1115
|
# addressvalidation.v1.Address.address_components].
|
1091
1116
|
# Corresponds to the JSON property `validationGranularity`
|
1092
1117
|
# @return [String]
|
@@ -1102,8 +1127,10 @@ module Google
|
|
1102
1127
|
@geocode_granularity = args[:geocode_granularity] if args.key?(:geocode_granularity)
|
1103
1128
|
@has_inferred_components = args[:has_inferred_components] if args.key?(:has_inferred_components)
|
1104
1129
|
@has_replaced_components = args[:has_replaced_components] if args.key?(:has_replaced_components)
|
1130
|
+
@has_spell_corrected_components = args[:has_spell_corrected_components] if args.key?(:has_spell_corrected_components)
|
1105
1131
|
@has_unconfirmed_components = args[:has_unconfirmed_components] if args.key?(:has_unconfirmed_components)
|
1106
1132
|
@input_granularity = args[:input_granularity] if args.key?(:input_granularity)
|
1133
|
+
@possible_next_action = args[:possible_next_action] if args.key?(:possible_next_action)
|
1107
1134
|
@validation_granularity = args[:validation_granularity] if args.key?(:validation_granularity)
|
1108
1135
|
end
|
1109
1136
|
end
|
@@ -1136,16 +1163,17 @@ module Google
|
|
1136
1163
|
end
|
1137
1164
|
end
|
1138
1165
|
|
1139
|
-
# Represents a postal address
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
# locations
|
1143
|
-
# created by user input or from importing existing data, depending on the
|
1144
|
-
# of process. Advice on address input or editing: - Use an
|
1145
|
-
# ready address widget such as https://github.com/google/
|
1146
|
-
# Users should not be presented with UI elements for input or
|
1147
|
-
# outside countries where that field is used. For more
|
1148
|
-
# this schema, see: https://support.google.com/business/
|
1166
|
+
# Represents a postal address, such as for postal delivery or payments addresses.
|
1167
|
+
# With a postal address, a postal service can deliver items to a premise, P.O.
|
1168
|
+
# box, or similar. A postal address is not intended to model geographical
|
1169
|
+
# locations like roads, towns, or mountains. In typical usage, an address would
|
1170
|
+
# be created by user input or from importing existing data, depending on the
|
1171
|
+
# type of process. Advice on address input or editing: - Use an
|
1172
|
+
# internationalization-ready address widget such as https://github.com/google/
|
1173
|
+
# libaddressinput. - Users should not be presented with UI elements for input or
|
1174
|
+
# editing of fields outside countries where that field is used. For more
|
1175
|
+
# guidance on how to use this schema, see: https://support.google.com/business/
|
1176
|
+
# answer/6397478.
|
1149
1177
|
class GoogleTypePostalAddress
|
1150
1178
|
include Google::Apis::Core::Hashable
|
1151
1179
|
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -335,8 +335,10 @@ module Google
|
|
335
335
|
property :geocode_granularity, as: 'geocodeGranularity'
|
336
336
|
property :has_inferred_components, as: 'hasInferredComponents'
|
337
337
|
property :has_replaced_components, as: 'hasReplacedComponents'
|
338
|
+
property :has_spell_corrected_components, as: 'hasSpellCorrectedComponents'
|
338
339
|
property :has_unconfirmed_components, as: 'hasUnconfirmedComponents'
|
339
340
|
property :input_granularity, as: 'inputGranularity'
|
341
|
+
property :possible_next_action, as: 'possibleNextAction'
|
340
342
|
property :validation_granularity, as: 'validationGranularity'
|
341
343
|
end
|
342
344
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.11.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Address Validation API V1
|
79
79
|
test_files: []
|