From 37e5f9e98f758c5548950e949ab5e570ffab46f4 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 12 Mar 2024 07:08:28 +0000 Subject: [PATCH] feat(places): update the api #### places:v1 The following keys were added: - schemas.GoogleMapsPlacesV1SearchTextRequest.properties.evOptions.$ref (Total Keys: 1) - schemas.GoogleMapsPlacesV1SearchTextRequestEVOptions (Total Keys: 6) --- docs/dyn/places_v1.places.html | 6 +++ .../discovery_cache/documents/places.v1.json | 49 ++++++++++++++++++- 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/docs/dyn/places_v1.places.html b/docs/dyn/places_v1.places.html index f79b2762a2..fd04040510 100644 --- a/docs/dyn/places_v1.places.html +++ b/docs/dyn/places_v1.places.html @@ -1029,6 +1029,12 @@

Method Details

The object takes the form of: { # Request proto for SearchText. + "evOptions": { # Searchable EV options of a place search request. # Optional. Set the searchable EV options of a place search request. + "connectorTypes": [ # Optional. The list of preferred EV connector types. A place that does not support any of the listed connector types are filter out. + "A String", + ], + "minimumChargingRateKw": 3.14, # Optional. Filtering places by minimum charging rate. Any places with charging a rate less than the minimum charging rate are filtered out. + }, "includedType": "A String", # 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. "languageCode": "A String", # 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. "locationBias": { # 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. diff --git a/googleapiclient/discovery_cache/documents/places.v1.json b/googleapiclient/discovery_cache/documents/places.v1.json index 7507d68a39..41b6bb1d16 100644 --- a/googleapiclient/discovery_cache/documents/places.v1.json +++ b/googleapiclient/discovery_cache/documents/places.v1.json @@ -276,7 +276,7 @@ } } }, -"revision": "20240303", +"revision": "20240310", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -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" @@ -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",