Skip to content

Commit 5976b12

Browse files
feat(places): update the api
#### places:v1 The following keys were deleted: - schemas.GoogleMapsPlacesV1Int32Range (Total Keys: 6) - schemas.GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint.properties.dateDeprecated (Total Keys: 3) - schemas.GoogleMapsPlacesV1SearchTextRequest.properties.location (Total Keys: 2) - schemas.GoogleMapsPlacesV1SearchTextRequest.properties.priceRange (Total Keys: 2) - schemas.GoogleMapsPlacesV1SearchTextRequestLocation (Total Keys: 4)
1 parent 70c90df commit 5976b12

File tree

3 files changed

+1
-99
lines changed

3 files changed

+1
-99
lines changed

docs/dyn/places_v1.Text.html

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,6 @@ <h3>Method Details</h3>
9797
{ # Request proto for SearchText.
9898
&quot;includedType&quot;: &quot;A String&quot;, # The requested place type. Full list of types supported: https://developers.google.com/places/supported_types. Only support one included type.
9999
&quot;languageCode&quot;: &quot;A String&quot;, # Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.
100-
&quot;location&quot;: { # [Deprecated!]The region to search. # [Deprecated!]The region to search. Setting location would usually yields better results. Recommended to set. This location serves as a bias unless strict_restriction is set to true, which turns the location to a strict restriction.
101-
&quot;rectangle&quot;: { # A latitude-longitude viewport, represented as two diagonally opposite `low` and `high` points. A viewport is considered a closed region, i.e. it includes its boundary. The latitude bounds must range between -90 to 90 degrees inclusive, and the longitude bounds must range between -180 to 180 degrees inclusive. Various cases include: - If `low` = `high`, the viewport consists of that single point. - If `low.longitude` &gt; `high.longitude`, the longitude range is inverted (the viewport crosses the 180 degree longitude line). - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees, the viewport includes all longitudes. - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees, the longitude range is empty. - If `low.latitude` &gt; `high.latitude`, the latitude range is empty. Both `low` and `high` must be populated, and the represented box cannot be empty (as specified by the definitions above). An empty viewport will result in an error. For example, this viewport fully encloses New York City: { &quot;low&quot;: { &quot;latitude&quot;: 40.477398, &quot;longitude&quot;: -74.259087 }, &quot;high&quot;: { &quot;latitude&quot;: 40.91618, &quot;longitude&quot;: -73.70018 } } # A rectangle box defined by northeast and southwest corner.
102-
&quot;high&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The high point of the viewport.
103-
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
104-
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
105-
},
106-
&quot;low&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. The low point of the viewport.
107-
&quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
108-
&quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
109-
},
110-
},
111-
&quot;strictRestriction&quot;: True or False, # Make location field a strict restriction and filter out POIs outside of the given location. If location type field is unset this field will have no effect.
112-
},
113100
&quot;locationBias&quot;: { # The region to search. This location serves as a bias which means results around given location might be returned. # The region to search. This location serves as a bias which means results around given location might be returned. Cannot be set along with location_restriction.
114101
&quot;circle&quot;: { # Circle with a LatLng as center and radius. # A circle defined by center point and radius.
115102
&quot;center&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # Required. Center latitude and longitude. The range of latitude must be within [-90.0, 90.0]. The range of the longitude must be within [-180.0, 180.0].
@@ -147,10 +134,6 @@ <h3>Method Details</h3>
147134
&quot;priceLevels&quot;: [ # Used to restrict the search to places that are marked as certain price levels. Users can choose any combinations of price levels. Default to select all price levels.
148135
&quot;A String&quot;,
149136
],
150-
&quot;priceRange&quot;: { # int 32 range. Both min and max are optional. If only min is set, then the range only has a lower bound. If only max is set, then range only has an upper bound. At least one of min and max must be set. Values are inclusive. # [Deprecated!]Used to restrict the search to places that are within a certain price range. This is on a scale of 0 to 4. Set a minimum of 0 or set a maximum of 4 has no effect on the search results. Min price is default to 0 and max price is default to 4. Default value will be used if either min or max is unset.
151-
&quot;max&quot;: 42, # Upper bound. If unset, behavior is documented on the range field.
152-
&quot;min&quot;: 42, # Lower bound. If unset, behavior is documented on the range field.
153-
},
154137
&quot;rankPreference&quot;: &quot;A String&quot;, # How results will be ranked in the response.
155138
&quot;regionCode&quot;: &quot;A String&quot;, # The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag. Note that 3-digit region codes are not currently supported.
156139
&quot;strictTypeFiltering&quot;: True or False, # Used to set strict type filtering for included_type. If set to true, only results of the same type will be returned. Default to false.
@@ -197,7 +180,6 @@ <h3>Method Details</h3>
197180
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
198181
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
199182
},
200-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
201183
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
202184
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
203185
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -209,7 +191,6 @@ <h3>Method Details</h3>
209191
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
210192
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
211193
},
212-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
213194
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
214195
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
215196
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -242,7 +223,6 @@ <h3>Method Details</h3>
242223
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
243224
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
244225
},
245-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
246226
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
247227
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
248228
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -254,7 +234,6 @@ <h3>Method Details</h3>
254234
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
255235
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
256236
},
257-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
258237
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
259238
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
260239
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -309,7 +288,6 @@ <h3>Method Details</h3>
309288
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
310289
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
311290
},
312-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
313291
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
314292
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
315293
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -321,7 +299,6 @@ <h3>Method Details</h3>
321299
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
322300
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
323301
},
324-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
325302
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
326303
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
327304
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -381,7 +358,6 @@ <h3>Method Details</h3>
381358
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
382359
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
383360
},
384-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
385361
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
386362
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
387363
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.
@@ -393,7 +369,6 @@ <h3>Method Details</h3>
393369
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
394370
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
395371
},
396-
&quot;dateDeprecated&quot;: &quot;A String&quot;, # Output only. Date of the endpoint expressed in RFC3339 format in the local timezone for the place. For example 2010-12-31.
397372
&quot;day&quot;: 42, # Output only. A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is Monday, etc.
398373
&quot;hour&quot;: 42, # Output only. The hour in 2 digits. Ranges from 00 to 23.
399374
&quot;minute&quot;: 42, # Output only. The minute in 2 digits. Ranges from 00 to 59.

0 commit comments

Comments
 (0)