Class: Aws::GeoPlaces::Types::SearchTextFilter

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

Instance Attribute Details

#bounding_boxArray<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}]

Returns:

  • (Array<Float>)


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

#circleTypes::FilterCircle

The Circle that all results must be in.

Returns:



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_countriesArray<String>

A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.

Returns:

  • (Array<String>)


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