Skip to content

Commit

Permalink
feat(places): update the api
Browse files Browse the repository at this point in the history
#### places:v1

The following keys were added:
- schemas.GoogleMapsPlacesV1SearchTextRequest.properties.evOptions.$ref (Total Keys: 1)
- schemas.GoogleMapsPlacesV1SearchTextRequestEVOptions (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent b74c804 commit 37e5f9e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/dyn/places_v1.places.html
Expand Up @@ -1029,6 +1029,12 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Request proto for SearchText.
&quot;evOptions&quot;: { # Searchable EV options of a place search request. # Optional. Set the searchable EV options of a place search request.
&quot;connectorTypes&quot;: [ # Optional. The list of preferred EV connector types. A place that does not support any of the listed connector types are filter out.
&quot;A String&quot;,
],
&quot;minimumChargingRateKw&quot;: 3.14, # Optional. Filtering places by minimum charging rate. Any places with charging a rate less than the minimum charging rate are filtered out.
},
&quot;includedType&quot;: &quot;A String&quot;, # The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included type.
&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.
&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.
Expand Down
49 changes: 48 additions & 1 deletion googleapiclient/discovery_cache/documents/places.v1.json
Expand Up @@ -276,7 +276,7 @@
}
}
},
"revision": "20240303",
"revision": "20240310",
"rootUrl": "https://places.googleapis.com/",
"schemas": {
"GoogleGeoTypeViewport": {
Expand Down Expand Up @@ -1458,6 +1458,10 @@
"description": "Request proto for SearchText. ",
"id": "GoogleMapsPlacesV1SearchTextRequest",
"properties": {
"evOptions": {
"$ref": "GoogleMapsPlacesV1SearchTextRequestEVOptions",
"description": "Optional. Set the searchable EV options of a place search request."
},
"includedType": {
"description": "The requested place type. Full list of types supported: https://developers.google.com/maps/documentation/places/web-service/place-types. Only support one included type.",
"type": "string"
Expand Down Expand Up @@ -1540,6 +1544,49 @@
},
"type": "object"
},
"GoogleMapsPlacesV1SearchTextRequestEVOptions": {
"description": "Searchable EV options of a place search request.",
"id": "GoogleMapsPlacesV1SearchTextRequestEVOptions",
"properties": {
"connectorTypes": {
"description": "Optional. The list of preferred EV connector types. A place that does not support any of the listed connector types are filter out.",
"items": {
"enum": [
"EV_CONNECTOR_TYPE_UNSPECIFIED",
"EV_CONNECTOR_TYPE_OTHER",
"EV_CONNECTOR_TYPE_J1772",
"EV_CONNECTOR_TYPE_TYPE_2",
"EV_CONNECTOR_TYPE_CHADEMO",
"EV_CONNECTOR_TYPE_CCS_COMBO_1",
"EV_CONNECTOR_TYPE_CCS_COMBO_2",
"EV_CONNECTOR_TYPE_TESLA",
"EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T",
"EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET"
],
"enumDescriptions": [
"Unspecified connector.",
"Other connector types.",
"J1772 type 1 connector.",
"IEC 62196 type 2 connector. Often referred to as MENNEKES.",
"CHAdeMO type connector.",
"Combined Charging System (AC and DC). Based on SAE. Type-1 J-1772 connector",
"Combined Charging System (AC and DC). Based on Type-2 Mennekes connector",
"The generic TESLA connector. This is NACS in the North America but can be non-NACS in other parts of the world (e.g. CCS Combo 2 (CCS2) or GB/T). This value is less representative of an actual connector type, and more represents the ability to charge a Tesla brand vehicle at a Tesla owned charging station.",
"GB/T type corresponds to the GB/T standard in China. This type covers all GB_T types.",
"Unspecified wall outlet."
],
"type": "string"
},
"type": "array"
},
"minimumChargingRateKw": {
"description": "Optional. Filtering places by minimum charging rate. Any places with charging a rate less than the minimum charging rate are filtered out.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"GoogleMapsPlacesV1SearchTextRequestLocationBias": {
"description": "The region to search. This location serves as a bias which means results around given location might be returned.",
"id": "GoogleMapsPlacesV1SearchTextRequestLocationBias",
Expand Down

0 comments on commit 37e5f9e

Please sign in to comment.