Class: Aws::GeoPlaces::Types::AddressComponentMatchScores

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#address_number ⇒ Float

The house number or address results should have.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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"]

Returns:

  • (Array<Float>)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Coverage for this functionality is available in the following countries: AUS, AUT, BRA, CAN, ESP, FRA, GBR, IDN, IND, NZL, TUR, TWN, USA.



307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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.

Returns:

  • (Float)


307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 307

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