Filter
import type { Filter } from "https://googleapis.deno.dev/v1/areainsights:v1.ts";
Filters for the ComputeInsights RPC.
interface Filter {
locationFilter?: LocationFilter;
operatingStatus?:
| "OPERATING_STATUS_UNSPECIFIED"
| "OPERATING_STATUS_OPERATIONAL"
| "OPERATING_STATUS_PERMANENTLY_CLOSED"
| "OPERATING_STATUS_TEMPORARILY_CLOSED"[];
priceLevels?:
| "PRICE_LEVEL_UNSPECIFIED"
| "PRICE_LEVEL_FREE"
| "PRICE_LEVEL_INEXPENSIVE"
| "PRICE_LEVEL_MODERATE"
| "PRICE_LEVEL_EXPENSIVE"
| "PRICE_LEVEL_VERY_EXPENSIVE"[];
ratingFilter?: RatingFilter;
typeFilter?: TypeFilter;
}§Properties
§
locationFilter?: LocationFilter
[src]Required. Restricts results to places which are located in the area specified by location filters.
§
operatingStatus?: "OPERATING_STATUS_UNSPECIFIED" | "OPERATING_STATUS_OPERATIONAL" | "OPERATING_STATUS_PERMANENTLY_CLOSED" | "OPERATING_STATUS_TEMPORARILY_CLOSED"[]
[src]Optional. Restricts results to places whose operating status is included on this list. If operating_status is not set, OPERATING_STATUS_OPERATIONAL is used as default.
§
priceLevels?: "PRICE_LEVEL_UNSPECIFIED" | "PRICE_LEVEL_FREE" | "PRICE_LEVEL_INEXPENSIVE" | "PRICE_LEVEL_MODERATE" | "PRICE_LEVEL_EXPENSIVE" | "PRICE_LEVEL_VERY_EXPENSIVE"[]
[src]Optional. Restricts results to places whose price level is included on this list. If price_level is not set, all price levels are included in the results.
§
ratingFilter?: RatingFilter
[src]Optional. Restricts results to places whose average user ratings are in the range specified by rating_filter. If rating_filter is not set, all ratings are included in the result.
§
typeFilter?: TypeFilter
[src]Required. Place type filters.