google-apis-addressvalidation_v1 0.4.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: 744c1511fe77e96de80472506aafb5eebfc5b155ee39dffa7c8f3c555da5856f
4
- data.tar.gz: 0e2bf6d92eccf204b62afeca5bf726b81020485b1cdb528a194fecfb95dae929
3
+ metadata.gz: b91376d71eb64ea4d18df4651abb33ff40014c11f2570dcb251c090f8430ed39
4
+ data.tar.gz: 14848baffa8377ac542b3621d166a4c5c07ad504576d5e2e8344103e883374a8
5
5
  SHA512:
6
- metadata.gz: d63c0964e8e0ec78bb7a01a9b441fd10f3a672212d0e27d2d8b6a179e99a7f3fffb4e6f60abd618cad91788f22a76595d9873c390003ce34140782d0b0a48fdf
7
- data.tar.gz: 5986bc43ac2fd7395935a5b39509c24e5256e8a2fc6a1bf0798dd4e648119b44d827d24e73897e8f12522e477032009f8575d8193b514021106cb0b0b860a454
6
+ metadata.gz: cec43f2fac5a1af4fccd14eb1c7ef4961cb02ab8f6bfb7192881b5894c27c174625c59a89e036d6944aa7eec2f5c0f2047fc31310cee13e47dbe2be6f8e4c171
7
+ data.tar.gz: 5894f45685e6a554708fac36b25f0297524b024571b32ad46c9c5ff0f6251407e662907b4305b92344bede631a1b309614a18bf2f62c135f424c4be0e0027267
data/CHANGELOG.md CHANGED
@@ -1,8 +1,17 @@
1
1
  # Release history for google-apis-addressvalidation_v1
2
2
 
3
- ### v0.4.0 (2024-11-10)
3
+ ### v0.6.0 (2025-03-23)
4
4
 
5
- * Regenerated from discovery document revision 20241106
5
+ * Regenerated from discovery document revision 20250318
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.5.0 (2024-11-24)
9
+
10
+ * Regenerated from discovery document revision 20241120
11
+
12
+ ### v0.4.0 (2024-11-17)
13
+
14
+ * Regenerated from discovery document revision 20241110
6
15
  * Regenerated using generator version 0.15.1
7
16
 
8
17
  ### v0.3.0 (2024-07-25)
@@ -86,9 +86,9 @@ module Google
86
86
  # The post-processed address, formatted as a single-line address following the
87
87
  # address formatting rules of the region where the address is located. Note: the
88
88
  # format of this address may not match the format of the address in the `
89
- # postal_address` field. For example, the `postal_address` will always represent
90
- # the country as a 2 letter `region_code` (ex. "US" or "CA"), whereas this field
91
- # will use a longer form of the country name (ex. "USA or "Canada").
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".
92
92
  # Corresponds to the JSON property `formattedAddress`
93
93
  # @return [String]
94
94
  attr_accessor :formatted_address
@@ -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, e.g. for postal delivery or payments addresses.
108
- # Given a postal address, a postal service can deliver items to a premise, P.O.
109
- # Box or similar. It is not intended to model geographical locations (roads,
110
- # towns, mountains). In typical usage an address would be created via user input
111
- # or from importing existing data, depending on the type of process. Advice on
112
- # address input / editing: - Use an internationalization-ready address widget
113
- # such as https://github.com/google/libaddressinput) - Users should not be
114
- # presented with UI elements for input or editing of fields outside countries
115
- # where that field is used. For more guidance on how to use this schema, please
116
- # 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 or 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.
117
117
  # Corresponds to the JSON property `postalAddress`
118
118
  # @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
119
119
  attr_accessor :postal_address
@@ -130,9 +130,10 @@ module Google
130
130
  attr_accessor :unconfirmed_component_types
131
131
 
132
132
  # Any tokens in the input that could not be resolved. This might be an input
133
- # that was not recognized as a valid part of an address (for example in an input
134
- # like "Parcel 0000123123 & 0000456456 Str # Guthrie Center IA 50115 US", the
135
- # unresolved tokens may look like `["Parcel", "0000123123", "&", "0000456456"]`.
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"]`.
136
137
  # Corresponds to the JSON property `unresolvedTokens`
137
138
  # @return [Array<String>]
138
139
  attr_accessor :unresolved_tokens
@@ -857,16 +858,16 @@ module Google
857
858
  class GoogleMapsAddressvalidationV1ValidateAddressRequest
858
859
  include Google::Apis::Core::Hashable
859
860
 
860
- # Represents a postal address, e.g. for postal delivery or payments addresses.
861
- # Given a postal address, a postal service can deliver items to a premise, P.O.
862
- # Box or similar. It is not intended to model geographical locations (roads,
863
- # towns, mountains). In typical usage an address would be created via user input
864
- # or from importing existing data, depending on the type of process. Advice on
865
- # address input / editing: - Use an internationalization-ready address widget
866
- # such as https://github.com/google/libaddressinput) - Users should not be
867
- # presented with UI elements for input or editing of fields outside countries
868
- # where that field is used. For more guidance on how to use this schema, please
869
- # 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 or 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.
870
871
  # Corresponds to the JSON property `address`
871
872
  # @return [Google::Apis::AddressvalidationV1::GoogleTypePostalAddress]
872
873
  attr_accessor :address
@@ -1131,45 +1132,46 @@ module Google
1131
1132
  end
1132
1133
  end
1133
1134
 
1134
- # Represents a postal address, e.g. for postal delivery or payments addresses.
1135
- # Given a postal address, a postal service can deliver items to a premise, P.O.
1136
- # Box or similar. It is not intended to model geographical locations (roads,
1137
- # towns, mountains). In typical usage an address would be created via user input
1138
- # or from importing existing data, depending on the type of process. Advice on
1139
- # address input / editing: - Use an internationalization-ready address widget
1140
- # such as https://github.com/google/libaddressinput) - Users should not be
1141
- # presented with UI elements for input or editing of fields outside countries
1142
- # where that field is used. For more guidance on how to use this schema, please
1143
- # 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 or 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.
1144
1145
  class GoogleTypePostalAddress
1145
1146
  include Google::Apis::Core::Hashable
1146
1147
 
1147
1148
  # Unstructured address lines describing the lower levels of an address. Because
1148
- # values in address_lines do not have type information and may sometimes contain
1149
- # multiple values in a single field (e.g. "Austin, TX"), it is important that
1150
- # the line order is clear. The order of address lines should be "envelope order"
1151
- # for the country/region of the address. In places where this can vary (e.g.
1152
- # Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
1153
- # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
1154
- # specific line of an address can be selected based on the language. The minimum
1155
- # permitted structural representation of an address consists of a region_code
1156
- # with all remaining information placed in the address_lines. It would be
1157
- # possible to format such an address very approximately without geocoding, but
1158
- # no semantic reasoning could be made about any of the address components until
1159
- # it was at least partially resolved. Creating an address only containing a
1160
- # region_code and address_lines, and then geocoding is the recommended way to
1161
- # handle completely unstructured addresses (as opposed to guessing which parts
1162
- # of the address should be localities or administrative areas).
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
+ # 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
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).
1163
1165
  # Corresponds to the JSON property `addressLines`
1164
1166
  # @return [Array<String>]
1165
1167
  attr_accessor :address_lines
1166
1168
 
1167
1169
  # Optional. Highest administrative subdivision which is used for postal
1168
1170
  # addresses of a country or region. For example, this can be a state, a province,
1169
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
1170
- # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
1171
- # countries don't use an administrative area in postal addresses. E.g. in
1172
- # Switzerland this should be left unpopulated.
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.
1173
1175
  # Corresponds to the JSON property `administrativeArea`
1174
1176
  # @return [String]
1175
1177
  attr_accessor :administrative_area
@@ -1186,10 +1188,10 @@ module Google
1186
1188
  # @return [String]
1187
1189
  attr_accessor :language_code
1188
1190
 
1189
- # Optional. Generally refers to the city/town portion of the address. Examples:
1190
- # US city, IT comune, UK post town. In regions of the world where localities are
1191
- # not well defined or do not fit into this structure well, leave locality empty
1192
- # 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`.
1193
1195
  # Corresponds to the JSON property `locality`
1194
1196
  # @return [String]
1195
1197
  attr_accessor :locality
@@ -1201,8 +1203,8 @@ module Google
1201
1203
 
1202
1204
  # Optional. Postal code of the address. Not all countries use or require postal
1203
1205
  # codes to be present, but where they are used, they may trigger additional
1204
- # validation with other parts of the address (e.g. state/zip validation in the U.
1205
- # S.A.).
1206
+ # validation with other parts of the address (for example, state or zip code
1207
+ # validation in the United States).
1206
1208
  # Corresponds to the JSON property `postalCode`
1207
1209
  # @return [String]
1208
1210
  attr_accessor :postal_code
@@ -1231,15 +1233,15 @@ module Google
1231
1233
 
1232
1234
  # Optional. Additional, country-specific, sorting code. This is not used in most
1233
1235
  # regions. Where it is used, the value is either a string like "CEDEX",
1234
- # optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
1235
- # representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
1236
- # or "post office indicator" (e.g. Côte d'Ivoire).
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" (Côte d'Ivoire).
1237
1239
  # Corresponds to the JSON property `sortingCode`
1238
1240
  # @return [String]
1239
1241
  attr_accessor :sorting_code
1240
1242
 
1241
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
1242
- # boroughs, districts.
1243
+ # Optional. Sublocality of the address. For example, this can be a neighborhood,
1244
+ # borough, or district.
1243
1245
  # Corresponds to the JSON property `sublocality`
1244
1246
  # @return [String]
1245
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.4.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.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241106"
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.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: 2024-11-17 00:00:00.000000000 Z
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.4.0
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.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: []