Class: Aws::GeoPlaces::Types::AddressComponentMatchScores
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoPlaces::Types::AddressComponentMatchScores
- Defined in:
- gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb
Overview
Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#address_number ⇒ Float
The house number or address results should have.
-
#block ⇒ Float
Name of the block.
-
#building ⇒ Float
The name of the building at the address.
-
#country ⇒ Float
The alpha-2 or alpha-3 character code for the country that the results will be present in.
-
#district ⇒ Float
The district or division of a city the results should be present in.
-
#intersection ⇒ Array<Float>
Name of the streets in the intersection.
-
#locality ⇒ Float
The city or locality results should be present in.
-
#postal_code ⇒ Float
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
-
#region ⇒ Float
The region or state results should be to be present in.
-
#secondary_address_components ⇒ Array<Types::SecondaryAddressComponentMatchScore>
Match scores for the secondary address components in the result.
-
#sub_block ⇒ Float
Name of sub-block.
-
#sub_district ⇒ Float
A subdivision of a district.
-
#sub_region ⇒ Float
The sub-region or county for which results should be present in.
Instance Attribute Details
#address_number ⇒ Float
The house number or address results should have.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#block ⇒ Float
Name of the block.
Example: Sunny Mansion 203 block: 2 Chome
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#building ⇒ Float
The name of the building at the address.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#country ⇒ Float
The alpha-2 or alpha-3 character code for the country that the results will be present in.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#district ⇒ Float
The district or division of a city the results should be present in.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#intersection ⇒ Array<Float>
Name of the streets in the intersection.
Example: ["Friedrichstraße","Unter den Linden"]
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#locality ⇒ Float
The city or locality results should be present in.
Example: Vancouver
.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#postal_code ⇒ Float
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#region ⇒ Float
The region or state results should be to be present in.
Example: North Rhine-Westphalia
.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#secondary_address_components ⇒ Array<Types::SecondaryAddressComponentMatchScore>
Match scores for the secondary address components in the result.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#sub_block ⇒ Float
Name of sub-block.
Example: Sunny Mansion 203 sub-block: 4
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#sub_district ⇒ Float
A subdivision of a district.
Example: Minden-Lübbecke
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |
#sub_region ⇒ Float
The sub-region or county for which results should be present in.
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 243 class AddressComponentMatchScores < Struct.new( :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :address_number, :building, :secondary_address_components) SENSITIVE = [] include Aws::Structure end |