Class: Aws::GeoPlaces::Types::SearchTextFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoPlaces::Types::SearchTextFilter
- Defined in:
- gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb
Overview
SearchText structure which contains a set of inclusion/exclusion properties that results must posses in order to be returned as a result.
Constant Summary collapse
- SENSITIVE =
[:bounding_box, :circle]
Instance Attribute Summary collapse
-
#bounding_box ⇒ Array<Float>
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
-
#circle ⇒ Types::FilterCircle
The
Circle
that all results must be in. -
#include_countries ⇒ Array<String>
A list of countries that all results must be in.
Instance Attribute Details
#bounding_box ⇒ 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:
[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]
2077 2078 2079 2080 2081 2082 2083 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2077 class SearchTextFilter < Struct.new( :bounding_box, :circle, :include_countries) SENSITIVE = [:bounding_box, :circle] include Aws::Structure end |
#circle ⇒ Types::FilterCircle
The Circle
that all results must be in.
2077 2078 2079 2080 2081 2082 2083 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2077 class SearchTextFilter < Struct.new( :bounding_box, :circle, :include_countries) SENSITIVE = [:bounding_box, :circle] include Aws::Structure end |
#include_countries ⇒ Array<String>
A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
2077 2078 2079 2080 2081 2082 2083 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2077 class SearchTextFilter < Struct.new( :bounding_box, :circle, :include_countries) SENSITIVE = [:bounding_box, :circle] include Aws::Structure end |