google-apis-addressvalidation_v1 0.10.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
@@ -228,8 +228,8 @@ module Google
|
|
228
228
|
end
|
229
229
|
end
|
230
230
|
|
231
|
-
# The metadata for the address. `metadata` is not guaranteed to
|
232
|
-
# 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.
|
233
233
|
class GoogleMapsAddressvalidationV1AddressMetadata
|
234
234
|
include Google::Apis::Core::Hashable
|
235
235
|
|
@@ -995,8 +995,8 @@ module Google
|
|
995
995
|
# @return [Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1Geocode]
|
996
996
|
attr_accessor :geocode
|
997
997
|
|
998
|
-
# The metadata for the address. `metadata` is not guaranteed to
|
999
|
-
# 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.
|
1000
1000
|
# Corresponds to the JSON property `metadata`
|
1001
1001
|
# @return [Google::Apis::AddressvalidationV1::GoogleMapsAddressvalidationV1AddressMetadata]
|
1002
1002
|
attr_accessor :metadata
|
@@ -1033,10 +1033,10 @@ module Google
|
|
1033
1033
|
class GoogleMapsAddressvalidationV1Verdict
|
1034
1034
|
include Google::Apis::Core::Hashable
|
1035
1035
|
|
1036
|
-
# The address is considered complete if there are no unresolved
|
1037
|
-
# unexpected or missing address components. If unset, indicates that
|
1038
|
-
# is `false`. See `missing_component_types`, `unresolved_tokens` or `
|
1039
|
-
# 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.
|
1040
1040
|
# Corresponds to the JSON property `addressComplete`
|
1041
1041
|
# @return [Boolean]
|
1042
1042
|
attr_accessor :address_complete
|
@@ -1067,6 +1067,13 @@ module Google
|
|
1067
1067
|
attr_accessor :has_replaced_components
|
1068
1068
|
alias_method :has_replaced_components?, :has_replaced_components
|
1069
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
|
+
|
1070
1077
|
# At least one address component cannot be categorized or validated, see [google.
|
1071
1078
|
# maps.addressvalidation.v1.Address.address_components] for details.
|
1072
1079
|
# Corresponds to the JSON property `hasUnconfirmedComponents`
|
@@ -1078,17 +1085,33 @@ module Google
|
|
1078
1085
|
# input address and does not give any validation signals. For validation signals,
|
1079
1086
|
# refer to `validation_granularity` below. For example, if the input address
|
1080
1087
|
# includes a specific apartment number, then the `input_granularity` here will
|
1081
|
-
# be `SUB_PREMISE`. If
|
1082
|
-
# the apartment number is invalid, the `
|
1083
|
-
# 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.
|
1084
1091
|
# Corresponds to the JSON property `inputGranularity`
|
1085
1092
|
# @return [String]
|
1086
1093
|
attr_accessor :input_granularity
|
1087
1094
|
|
1088
|
-
#
|
1089
|
-
#
|
1090
|
-
#
|
1091
|
-
#
|
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.
|
1092
1115
|
# addressvalidation.v1.Address.address_components].
|
1093
1116
|
# Corresponds to the JSON property `validationGranularity`
|
1094
1117
|
# @return [String]
|
@@ -1104,8 +1127,10 @@ module Google
|
|
1104
1127
|
@geocode_granularity = args[:geocode_granularity] if args.key?(:geocode_granularity)
|
1105
1128
|
@has_inferred_components = args[:has_inferred_components] if args.key?(:has_inferred_components)
|
1106
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)
|
1107
1131
|
@has_unconfirmed_components = args[:has_unconfirmed_components] if args.key?(:has_unconfirmed_components)
|
1108
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)
|
1109
1134
|
@validation_granularity = args[:validation_granularity] if args.key?(:validation_granularity)
|
1110
1135
|
end
|
1111
1136
|
end
|
@@ -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
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:
|