Class: Aws::GeoPlaces::Types::GeocodeQueryComponents
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoPlaces::Types::GeocodeQueryComponents
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-geoplaces/types.rb
Overview
A structured free text query allows you to search for places by the name or text representation of specific properties of the place.
Constant Summary collapse
- SENSITIVE =
[:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code]
Instance Attribute Summary collapse
-
#address_number ⇒ String
The house number or address results should have.
-
#country ⇒ String
The alpha-2 or alpha-3 character code for the country that the results will be present in.
-
#district ⇒ String
The district or division of a city the results should be present in.
-
#locality ⇒ String
City or locality results should be present in.
-
#postal_code ⇒ String
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 posses.
-
#region ⇒ String
The region or state results should be to be present in.
-
#street ⇒ String
The name of the street results should be present in.
-
#sub_region ⇒ String
The sub-region or county for which results should be present in.
Instance Attribute Details
#address_number ⇒ String
The house number or address results should have.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#country ⇒ String
The alpha-2 or alpha-3 character code for the country that the results will be present in.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#district ⇒ String
The district or division of a city the results should be present in.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#locality ⇒ String
City or locality results should be present in.
Example: ‘Vancouver`.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#postal_code ⇒ String
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 posses.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#region ⇒ String
The region or state results should be to be present in.
Example: ‘North Rhine-Westphalia`.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#street ⇒ String
The name of the street results should be present in.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |
#sub_region ⇒ String
The sub-region or county for which results should be present in.
920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/aws-sdk-geoplaces/types.rb', line 920 class GeocodeQueryComponents < Struct.new( :country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code) SENSITIVE = [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code] include Aws::Structure end |