google-apis-addressvalidation_v1 0.5.0 → 0.7.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: 0a1ffe764574a77e623ed9b42aa0b1a2ef7ea710d2c30ac613d1355683474f3e
4
- data.tar.gz: 0f78ffd8047c95350942136f6ab8889de93013d4a375616fd62d9c9b7a92eacb
3
+ metadata.gz: a80d3da9e95ed70e0f84745cd8e81c9ec0b562c7135858b063f6842d37993844
4
+ data.tar.gz: 43474e09a845da6d796cdfddb434aca067bb9458de5cdeb77564ba8567c572a7
5
5
  SHA512:
6
- metadata.gz: c76961db5de16744bd96773467e895c31166b404cbc8828ffc9bb1c89ce4a5ae9c78612cf862f4a4963200e6776480dc661f24b7cb8c61754473f85a877f7979
7
- data.tar.gz: 32e2269ccf8eb55d075e9c49fa11dec894c35a3c84b079c52019a31c6c152b2fedc6c277a16274afaecc9d42648eea7ae7349236713de80eddc5d60bd215f211
6
+ metadata.gz: 8d7776e0d9343b10e24e36da65efaa243f01833b334cff895e50a2f181a0a88336a3c27be3cf2f1090817f2befdc81e9807ac9def8efebec14e0092eaba35087
7
+ data.tar.gz: df25a7ba465c60faa1880127a07cef14d1c28204e57f08a4901ab497e3b120468abd0aba0b6277480aa6fd3eaf8167ecad84c3a0e9292f5e921d418558db1892
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-addressvalidation_v1
2
2
 
3
+ ### v0.7.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250323
6
+
7
+ ### v0.6.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250318
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.5.0 (2024-11-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20241120
@@ -95,25 +95,29 @@ module Google
95
95
 
96
96
  # The types of components that were expected to be present in a correctly
97
97
  # formatted mailing address but were not found in the input AND could not be
98
- # inferred. Components of this type are not present in `formatted_address`, `
99
- # postal_address`, or `address_components`. An example might be `['street_number'
100
- # , 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of
101
- # possible types can be found [here](https://developers.google.com/maps/
102
- # documentation/geocoding/requests-geocoding#Types).
98
+ # inferred. An example might be `['street_number', 'route']` for an input like "
99
+ # Boulder, Colorado, 80301, USA". The list of possible types can be found [here](
100
+ # https://developers.google.com/maps/documentation/geocoding/requests-geocoding#
101
+ # Types). **Note: you might see a missing component type when you think you've
102
+ # already supplied the missing component.** For example, this can happen when
103
+ # the input address contains the building name, but not the premise number. In
104
+ # the address "渋谷区渋谷3丁目 Shibuya Stream", the building name "Shibuya Stream" has
105
+ # the component type `premise`, but the premise number is missing, so `
106
+ # missing_component_types` will contain `premise`.
103
107
  # Corresponds to the JSON property `missingComponentTypes`
104
108
  # @return [Array<String>]
105
109
  attr_accessor :missing_component_types
106
110
 
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
+ # Represents a postal address (for example, for postal delivery or payments
112
+ # addresses). Given a postal address, a postal service can deliver items to a
113
+ # premise, P.O. box or similar. It is not intended to model geographical
114
+ # locations (roads, towns, mountains). In typical usage, an address would be
111
115
  # 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) -
116
+ # of process. Advice on address input or editing: - Use an internationalization-
117
+ # ready address widget such as https://github.com/google/libaddressinput. -
114
118
  # Users should not be presented with UI elements for input or editing of fields
115
119
  # 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
120
+ # this schema, see: https://support.google.com/business/answer/6397478.
117
121
  # Corresponds to the JSON property `postalAddress`
118
122
  # @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
119
123
  attr_accessor :postal_address
@@ -858,16 +862,16 @@ module Google
858
862
  class GoogleMapsAddressvalidationV1ValidateAddressRequest
859
863
  include Google::Apis::Core::Hashable
860
864
 
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
+ # Represents a postal address (for example, for postal delivery or payments
866
+ # addresses). Given a postal address, a postal service can deliver items to a
867
+ # premise, P.O. box or similar. It is not intended to model geographical
868
+ # locations (roads, towns, mountains). In typical usage, an address would be
865
869
  # 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) -
870
+ # of process. Advice on address input or editing: - Use an internationalization-
871
+ # ready address widget such as https://github.com/google/libaddressinput. -
868
872
  # Users should not be presented with UI elements for input or editing of fields
869
873
  # 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
874
+ # this schema, see: https://support.google.com/business/answer/6397478.
871
875
  # Corresponds to the JSON property `address`
872
876
  # @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
873
877
  attr_accessor :address
@@ -1132,46 +1136,46 @@ module Google
1132
1136
  end
1133
1137
  end
1134
1138
 
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
+ # Represents a postal address (for example, for postal delivery or payments
1140
+ # addresses). Given a postal address, a postal service can deliver items to a
1141
+ # premise, P.O. box or similar. It is not intended to model geographical
1142
+ # locations (roads, towns, mountains). In typical usage, an address would be
1139
1143
  # 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) -
1144
+ # of process. Advice on address input or editing: - Use an internationalization-
1145
+ # ready address widget such as https://github.com/google/libaddressinput. -
1142
1146
  # Users should not be presented with UI elements for input or editing of fields
1143
1147
  # 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
1148
+ # this schema, see: https://support.google.com/business/answer/6397478.
1145
1149
  class GoogleTypePostalAddress
1146
1150
  include Google::Apis::Core::Hashable
1147
1151
 
1148
1152
  # Unstructured address lines describing the lower levels of an address. Because
1149
- # values in address_lines do not have type information and may sometimes contain
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
1153
+ # values in `address_lines` do not have type information and may sometimes
1154
+ # contain multiple values in a single field (for example, "Austin, TX"), it is
1155
+ # important that the line order is clear. The order of address lines should be "
1156
+ # envelope order" for the country or region of the address. In places where this
1157
+ # can vary (for example, Japan), `address_language` is used to make it explicit (
1158
+ # for example, "ja" for large-to-small ordering and "ja-Latn" or "en" for small-
1159
+ # to-large). In this way, the most specific line of an address can be selected
1160
+ # based on the language. The minimum permitted structural representation of an
1161
+ # address consists of a `region_code` with all remaining information placed in
1162
+ # the `address_lines`. It would be possible to format such an address very
1159
1163
  # approximately without geocoding, but no semantic reasoning could be made about
1160
1164
  # 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).
1165
+ # Creating an address only containing a `region_code` and `address_lines` and
1166
+ # then geocoding is the recommended way to handle completely unstructured
1167
+ # addresses (as opposed to guessing which parts of the address should be
1168
+ # localities or administrative areas).
1165
1169
  # Corresponds to the JSON property `addressLines`
1166
1170
  # @return [Array<String>]
1167
1171
  attr_accessor :address_lines
1168
1172
 
1169
1173
  # Optional. Highest administrative subdivision which is used for postal
1170
1174
  # addresses of a country or region. For example, this can be a state, a province,
1171
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
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.
1175
+ # an oblast, or a prefecture. For Spain, this is the province and not the
1176
+ # autonomous community (for example, "Barcelona" and not "Catalonia"). Many
1177
+ # countries don't use an administrative area in postal addresses. For example,
1178
+ # in Switzerland, this should be left unpopulated.
1175
1179
  # Corresponds to the JSON property `administrativeArea`
1176
1180
  # @return [String]
1177
1181
  attr_accessor :administrative_area
@@ -1188,10 +1192,10 @@ module Google
1188
1192
  # @return [String]
1189
1193
  attr_accessor :language_code
1190
1194
 
1191
- # Optional. Generally refers to the city/town portion of the address. Examples:
1192
- # US city, IT comune, UK post town. In regions of the world where localities are
1193
- # not well defined or do not fit into this structure well, leave locality empty
1194
- # and use address_lines.
1195
+ # Optional. Generally refers to the city or town portion of the address.
1196
+ # Examples: US city, IT comune, UK post town. In regions of the world where
1197
+ # localities are not well defined or do not fit into this structure well, leave `
1198
+ # locality` empty and use `address_lines`.
1195
1199
  # Corresponds to the JSON property `locality`
1196
1200
  # @return [String]
1197
1201
  attr_accessor :locality
@@ -1203,8 +1207,8 @@ module Google
1203
1207
 
1204
1208
  # Optional. Postal code of the address. Not all countries use or require postal
1205
1209
  # codes to be present, but where they are used, they may trigger additional
1206
- # validation with other parts of the address (For example state/zip validation
1207
- # in the U.S.A.).
1210
+ # validation with other parts of the address (for example, state or zip code
1211
+ # validation in the United States).
1208
1212
  # Corresponds to the JSON property `postalCode`
1209
1213
  # @return [String]
1210
1214
  attr_accessor :postal_code
@@ -1233,15 +1237,15 @@ module Google
1233
1237
 
1234
1238
  # Optional. Additional, country-specific, sorting code. This is not used in most
1235
1239
  # regions. Where it is used, the value is either a string like "CEDEX",
1236
- # optionally followed by a number (For example "CEDEX 7"), or just a number
1240
+ # optionally followed by a number (for example, "CEDEX 7"), or just a number
1237
1241
  # alone, representing the "sector code" (Jamaica), "delivery area indicator" (
1238
- # Malawi) or "post office indicator" (For example Côte d'Ivoire).
1242
+ # Malawi) or "post office indicator" (Côte d'Ivoire).
1239
1243
  # Corresponds to the JSON property `sortingCode`
1240
1244
  # @return [String]
1241
1245
  attr_accessor :sorting_code
1242
1246
 
1243
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
1244
- # boroughs, districts.
1247
+ # Optional. Sublocality of the address. For example, this can be a neighborhood,
1248
+ # borough, or district.
1245
1249
  # Corresponds to the JSON property `sublocality`
1246
1250
  # @return [String]
1247
1251
  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.5.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241120"
25
+ REVISION = "20250323"
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.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-30 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.5.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.7.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.22
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: []