google-apis-addressvalidation_v1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 744c1511fe77e96de80472506aafb5eebfc5b155ee39dffa7c8f3c555da5856f
4
- data.tar.gz: 0e2bf6d92eccf204b62afeca5bf726b81020485b1cdb528a194fecfb95dae929
3
+ metadata.gz: 0a1ffe764574a77e623ed9b42aa0b1a2ef7ea710d2c30ac613d1355683474f3e
4
+ data.tar.gz: 0f78ffd8047c95350942136f6ab8889de93013d4a375616fd62d9c9b7a92eacb
5
5
  SHA512:
6
- metadata.gz: d63c0964e8e0ec78bb7a01a9b441fd10f3a672212d0e27d2d8b6a179e99a7f3fffb4e6f60abd618cad91788f22a76595d9873c390003ce34140782d0b0a48fdf
7
- data.tar.gz: 5986bc43ac2fd7395935a5b39509c24e5256e8a2fc6a1bf0798dd4e648119b44d827d24e73897e8f12522e477032009f8575d8193b514021106cb0b0b860a454
6
+ metadata.gz: c76961db5de16744bd96773467e895c31166b404cbc8828ffc9bb1c89ce4a5ae9c78612cf862f4a4963200e6776480dc661f24b7cb8c61754473f85a877f7979
7
+ data.tar.gz: 32e2269ccf8eb55d075e9c49fa11dec894c35a3c84b079c52019a31c6c152b2fedc6c277a16274afaecc9d42648eea7ae7349236713de80eddc5d60bd215f211
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Release history for google-apis-addressvalidation_v1
2
2
 
3
- ### v0.4.0 (2024-11-10)
3
+ ### v0.5.0 (2024-11-24)
4
4
 
5
- * Regenerated from discovery document revision 20241106
5
+ * Regenerated from discovery document revision 20241120
6
+
7
+ ### v0.4.0 (2024-11-17)
8
+
9
+ * Regenerated from discovery document revision 20241110
6
10
  * Regenerated using generator version 0.15.1
7
11
 
8
12
  ### 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 / 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 / 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,35 +1132,36 @@ 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 / 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
1149
  # 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).
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
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 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).
1163
1165
  # Corresponds to the JSON property `addressLines`
1164
1166
  # @return [Array<String>]
1165
1167
  attr_accessor :address_lines
@@ -1167,9 +1169,9 @@ module Google
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
1171
  # 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.
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.
1173
1175
  # Corresponds to the JSON property `administrativeArea`
1174
1176
  # @return [String]
1175
1177
  attr_accessor :administrative_area
@@ -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/zip validation
1207
+ # in the U.S.A.).
1206
1208
  # Corresponds to the JSON property `postalCode`
1207
1209
  # @return [String]
1208
1210
  attr_accessor :postal_code
@@ -1231,9 +1233,9 @@ 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" (For example Côte d'Ivoire).
1237
1239
  # Corresponds to the JSON property `sortingCode`
1238
1240
  # @return [String]
1239
1241
  attr_accessor :sorting_code
@@ -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.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241106"
25
+ REVISION = "20241120"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
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.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-17 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-addressvalidation_v1/v0.5.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-addressvalidation_v1
63
63
  post_install_message:
64
64
  rdoc_options: []