Class: Aws::GeoPlaces::Types::GeocodeResultItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoPlaces::Types::GeocodeResultItem
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-geoplaces/types.rb
Overview
The Geocoded result.
Constant Summary collapse
- SENSITIVE =
[:position, :map_view]
Instance Attribute Summary collapse
-
#access_points ⇒ Array<Types::AccessPoint>
Position of the access point represent by longitude and latitude.
-
#address ⇒ Types::Address
The place’s address.
-
#address_number_corrected ⇒ Boolean
Boolean indicating if the address provided has been corrected.
-
#categories ⇒ Array<Types::Category>
Categories of results that results must belong to.
-
#distance ⇒ Integer
The distance in meters from the QueryPosition.
-
#food_types ⇒ Array<Types::FoodType>
List of food types offered by this result.
-
#map_view ⇒ Array<Float>
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
-
#match_scores ⇒ Types::MatchScoreDetails
Indicates how well the entire input matches the returned.
-
#place_id ⇒ String
The ‘PlaceId` of the place you wish to receive the information for.
-
#place_type ⇒ String
A ‘PlaceType` is a category that the result place must belong to.
-
#political_view ⇒ String
The alpha-2 or alpha-3 character code for the political view of a country.
-
#position ⇒ Array<Float>
The position in longitude and latitude.
-
#postal_code_details ⇒ Array<Types::PostalCodeDetails>
Contains details about the postal code of the place/result.
-
#time_zone ⇒ Types::TimeZone
The time zone in which the place is located.
-
#title ⇒ String
The localized display name of this result item based on request parameter ‘language`.
Instance Attribute Details
#access_points ⇒ Array<Types::AccessPoint>
Position of the access point represent by longitude and latitude.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#address ⇒ Types::Address
The place’s address.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#address_number_corrected ⇒ Boolean
Boolean indicating if the address provided has been corrected.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#categories ⇒ Array<Types::Category>
Categories of results that results must belong to.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#distance ⇒ Integer
The distance in meters from the QueryPosition.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#food_types ⇒ Array<Types::FoodType>
List of food types offered by this result.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#map_view ⇒ Array<Float>
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
The bounding box formed is defined as a set 4 coordinates: ‘[lng, lat, lng, lat]`
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#match_scores ⇒ Types::MatchScoreDetails
Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#place_id ⇒ String
The ‘PlaceId` of the place you wish to receive the information for.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#place_type ⇒ String
A ‘PlaceType` is a category that the result place must belong to.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#political_view ⇒ String
The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#position ⇒ Array<Float>
The position in longitude and latitude.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#postal_code_details ⇒ Array<Types::PostalCodeDetails>
Contains details about the postal code of the place/result.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#time_zone ⇒ Types::TimeZone
The time zone in which the place is located.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |
#title ⇒ String
The localized display name of this result item based on request parameter ‘language`.
1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 1113 class GeocodeResultItem < Struct.new( :place_id, :place_type, :title, :address, :address_number_corrected, :postal_code_details, :position, :distance, :map_view, :categories, :food_types, :access_points, :time_zone, :political_view, :match_scores) SENSITIVE = [:position, :map_view] include Aws::Structure end |