<button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">On-premises or any cloud edition v1.15</button>

- [SAP BTP edition v1.1](https://docs.cloud.google.com/sap/docs/abap-sdk/btp/latest/reference/googcl_places_v1)
- [On-premises or any cloud edition v1.15](https://docs.cloud.google.com/sap/docs/abap-sdk/on-premises-or-any-cloud/latest/reference/googcl_places_v1.md.txt)

## Class

```abap
/GOOG/CL_PLACES_V1
```

- Inheriting from:`/GOOG/CL_HTTP_CLIENT`
- Description:`Places API (New) v1`

For general information about a class in ABAP SDK for Google Cloud, see [API client stub](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#client_stub).

## Types

| Type | Description | Visibility |
|---|---|---|
| `TY_001` | `GoogleGeoTypeViewport` | PUBLIC |
| `TY_002` | `GoogleMapsPlacesV1AuthorAttribution` | PUBLIC |
| `TY_003` | `GoogleMapsPlacesV1Circle` | PUBLIC |
| `TY_005` | `GoogleMapsPlacesV1Place` | PUBLIC |
| `TY_006` | `GoogleMapsPlacesV1PlaceAddressComponent` | PUBLIC |
| `TY_007` | `GoogleMapsPlacesV1PlaceAttribution` | PUBLIC |
| `TY_008` | `GoogleMapsPlacesV1PlaceOpeningHours` | PUBLIC |
| `TY_009` | `GoogleMapsPlacesV1PlaceOpeningHoursPeriod` | PUBLIC |
| `TY_010` | `GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint` | PUBLIC |
| `TY_011` | `GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay` | PUBLIC |
| `TY_012` | `GoogleMapsPlacesV1PlacePlusCode` | PUBLIC |
| `TY_014` | `GoogleMapsPlacesV1SearchTextRequest` | PUBLIC |
| `TY_016` | `GoogleMapsPlacesV1SearchTextRequestLocationBias` | PUBLIC |
| `TY_017` | `GoogleMapsPlacesV1SearchTextRequestLocationRestriction` | PUBLIC |
| `TY_018` | `GoogleMapsPlacesV1SearchTextResponse` | PUBLIC |
| `TY_019` | `GoogleTypeDate` | PUBLIC |
| `TY_020` | `GoogleTypeLatLng` | PUBLIC |
| `TY_021` | `GoogleTypeLocalizedText` | PUBLIC |
| `TY_022` | `GoogleMapsPlacesV1Review` | PUBLIC |
| `TY_023` | `GoogleMapsPlacesV1AutocompletePlacesRequest` | PUBLIC |
| `TY_024` | `GoogleMapsPlacesV1AutocompletePlacesRequestLocationBias` | PUBLIC |
| `TY_025` | `GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestricti` | PUBLIC |
| `TY_026` | `GoogleMapsPlacesV1AutocompletePlacesResponse` | PUBLIC |
| `TY_027` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion` | PUBLIC |
| `TY_028` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormat` | PUBLIC |
| `TY_029` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionPlaceP` | PUBLIC |
| `TY_030` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionQueryP` | PUBLIC |
| `TY_031` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionString` | PUBLIC |
| `TY_032` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStruct` | PUBLIC |
| `TY_033` | `GoogleMapsPlacesV1ContentBlock` | PUBLIC |
| `TY_034` | `GoogleMapsPlacesV1ContextualContent` | PUBLIC |
| `TY_035` | `GoogleMapsPlacesV1ContextualContentJustification` | PUBLIC |
| `TY_036` | `GoogleMapsPlacesV1ContextualContentJustificationBusinessAvai` | PUBLIC |
| `TY_037` | `GoogleMapsPlacesV1ContextualContentJustificationReviewJustif` | PUBLIC |
| `TY_038` | `GoogleMapsPlacesV1ContextualContentJustificationReviewJustif` | PUBLIC |
| `TY_039` | `GoogleMapsPlacesV1ContextualContentJustificationReviewJustif` | PUBLIC |
| `TY_040` | `GoogleMapsPlacesV1EVChargeOptions` | PUBLIC |
| `TY_041` | `GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation` | PUBLIC |
| `TY_042` | `GoogleMapsPlacesV1FuelOptions` | PUBLIC |
| `TY_043` | `GoogleMapsPlacesV1FuelOptionsFuelPrice` | PUBLIC |
| `TY_044` | `GoogleMapsPlacesV1Photo` | PUBLIC |
| `TY_045` | `GoogleMapsPlacesV1PhotoMedia` | PUBLIC |
| `TY_046` | `GoogleMapsPlacesV1PlaceAccessibilityOptions` | PUBLIC |
| `TY_047` | `GoogleMapsPlacesV1PlaceAreaSummary` | PUBLIC |
| `TY_048` | `GoogleMapsPlacesV1PlaceGenerativeSummary` | PUBLIC |
| `TY_049` | `GoogleMapsPlacesV1PlaceParkingOptions` | PUBLIC |
| `TY_050` | `GoogleMapsPlacesV1PlacePaymentOptions` | PUBLIC |
| `TY_051` | `GoogleMapsPlacesV1PlaceSubDestination` | PUBLIC |
| `TY_052` | `GoogleMapsPlacesV1References` | PUBLIC |
| `TY_053` | `GoogleMapsPlacesV1SearchNearbyRequest` | PUBLIC |
| `TY_054` | `GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction` | PUBLIC |
| `TY_055` | `GoogleMapsPlacesV1SearchNearbyResponse` | PUBLIC |
| `TY_056` | `GoogleMapsPlacesV1SearchTextRequestEVOptions` | PUBLIC |
| `TY_057` | `GoogleTypeMoney` | PUBLIC |
| `TY_058` | `GoogleMapsPlacesV1AddressDescriptor` | PUBLIC |
| `TY_059` | `GoogleMapsPlacesV1AddressDescriptorArea` | PUBLIC |
| `TY_060` | `GoogleMapsPlacesV1AddressDescriptorLandmark` | PUBLIC |
| `TY_061` | `GoogleMapsPlacesV1PlaceContainingPlace` | PUBLIC |
| `TY_062` | `GoogleMapsPlacesV1PlaceGoogleMapsLinks` | PUBLIC |
| `TY_063` | `GoogleMapsPlacesV1Polyline` | PUBLIC |
| `TY_064` | `GoogleMapsPlacesV1PriceRange` | PUBLIC |
| `TY_065` | `GoogleMapsPlacesV1RouteModifiers` | PUBLIC |
| `TY_066` | `GoogleMapsPlacesV1RoutingParameters` | PUBLIC |
| `TY_067` | `GoogleMapsPlacesV1RoutingSummary` | PUBLIC |
| `TY_068` | `GoogleMapsPlacesV1RoutingSummaryLeg` | PUBLIC |
| `TY_069` | `GoogleMapsPlacesV1SearchTextRequestSearchAlongRouteParameter` | PUBLIC |
| `TY_070` | `GoogleTypeTimeZone` | PUBLIC |
| `TY_T_002` | `GoogleMapsPlacesV1AuthorAttribution` | PUBLIC |
| `TY_T_005` | `GoogleMapsPlacesV1Place` | PUBLIC |
| `TY_T_006` | `GoogleMapsPlacesV1PlaceAddressComponent` | PUBLIC |
| `TY_T_007` | `GoogleMapsPlacesV1PlaceAttribution` | PUBLIC |
| `TY_T_008` | `GoogleMapsPlacesV1PlaceOpeningHours` | PUBLIC |
| `TY_T_009` | `GoogleMapsPlacesV1PlaceOpeningHoursPeriod` | PUBLIC |
| `TY_T_011` | `GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay` | PUBLIC |
| `TY_T_022` | `GoogleMapsPlacesV1Review` | PUBLIC |
| `TY_T_027` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestion` | PUBLIC |
| `TY_T_031` | `GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionString` | PUBLIC |
| `TY_T_033` | `GoogleMapsPlacesV1ContentBlock` | PUBLIC |
| `TY_T_034` | `GoogleMapsPlacesV1ContextualContent` | PUBLIC |
| `TY_T_035` | `GoogleMapsPlacesV1ContextualContentJustification` | PUBLIC |
| `TY_T_039` | `GoogleMapsPlacesV1ContextualContentJustificationReviewJustif` | PUBLIC |
| `TY_T_041` | `GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation` | PUBLIC |
| `TY_T_043` | `GoogleMapsPlacesV1FuelOptionsFuelPrice` | PUBLIC |
| `TY_T_044` | `GoogleMapsPlacesV1Photo` | PUBLIC |
| `TY_T_051` | `GoogleMapsPlacesV1PlaceSubDestination` | PUBLIC |
| `TY_T_059` | `GoogleMapsPlacesV1AddressDescriptorArea` | PUBLIC |
| `TY_T_060` | `GoogleMapsPlacesV1AddressDescriptorLandmark` | PUBLIC |
| `TY_T_061` | `GoogleMapsPlacesV1PlaceContainingPlace` | PUBLIC |
| `TY_T_067` | `GoogleMapsPlacesV1RoutingSummary` | PUBLIC |
| `TY_T_068` | `GoogleMapsPlacesV1RoutingSummaryLeg` | PUBLIC |
| `TY_T_STRING` | `Table of Strings` | PUBLIC |

## Constants

| Name | Type | Description | Value | Visibility |
|---|---|---|---|---|
| `C_CLOUD_VERSION` | `/GOOG/SDK_VERSION` | Lowest Cloud Version |   | PUBLIC |
| `C_ON_PREM_VERSION` | `/GOOG/SDK_VERSION` | Lowest On-premises Version | 1.7 | PUBLIC |
| `C_PATH_PREFIX` | `STRING` | API Path Prefix |   | PUBLIC |
| `C_REVISION_DATE` | `DATUM` | Discovery Document revision Date | 20250305 | PUBLIC |
| `C_ROOT_URL` | `STRING` | API Root URL | https://places.googleapis.com | PUBLIC |
| `C_SERVICE_NAME` | `/GOOG/SERVICE_NAME` | Google Service Name | places:v1 | PUBLIC |
| `C_SUPPORTED_AUTH` | `/GOOG/SUPP_AUTH` | Supported Auth Types | IJIJWW | PUBLIC |

## Methods

For general information about a method in ABAP SDK for Google Cloud, see [API method](https://docs.cloud.google.com/sap/docs/abap-sdk/latest/developer#api_method).

### CONSTRUCTOR

- Description: Constructor
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_KEY_NAME` | IMPORTING | `/GOOG/KEYNAME` | Google Cloud Key Name |
| `IV_LOG_OBJ` | IMPORTING | `BALOBJ_D` | Application log: Object name (Application code) |
| `IV_LOG_SUBOBJ` | IMPORTING | `BALSUBOBJ` | Application Log: Subobject |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### AUTOCOMPLETE_PLACES

- Description: places.places.autocomplete
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_023` | GoogleMapsPlacesV1AutocompletePlacesRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_026` | GoogleMapsPlacesV1AutocompletePlacesResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_MEDIA_PHOTOS

- Description: places.places.photos.getMedia
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_MAXHEIGHTPX` | IMPORTING | `STRING` | maxHeightPx |
| `IV_Q_MAXWIDTHPX` | IMPORTING | `STRING` | maxWidthPx |
| `IV_Q_SKIPHTTPREDIRECT` | IMPORTING | `STRING` | skipHttpRedirect |
| `IV_P_PLACES_ID` | IMPORTING | `STRING` | placesId |
| `IV_P_PHOTOS_ID` | IMPORTING | `STRING` | photosId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_045` | GoogleMapsPlacesV1PhotoMedia |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### GET_PLACES

- Description: places.places.get
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IV_Q_LANGUAGECODE` | IMPORTING | `STRING` | languageCode |
| `IV_Q_REGIONCODE` | IMPORTING | `STRING` | regionCode |
| `IV_Q_SESSIONTOKEN` | IMPORTING | `STRING` | sessionToken |
| `IV_P_PLACES_ID` | IMPORTING | `STRING` | placesId |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_005` | GoogleMapsPlacesV1Place |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### SEARCH_NEARBY_PLACES

- Description: places.places.searchNearby
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_053` | GoogleMapsPlacesV1SearchNearbyRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_055` | GoogleMapsPlacesV1SearchNearbyResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### SEARCH_TEXT_PLACES

- Description: places.places.searchText
- Visibility: PUBLIC

#### Parameters

| Name | Category | Type | Description |
|---|---|---|---|
| `IS_INPUT` | IMPORTING | `TY_014` | GoogleMapsPlacesV1SearchTextRequest |
| `ES_RAW` | EXPORTING | `DATA` | Raw Output Data |
| `ES_OUTPUT` | EXPORTING | `TY_018` | GoogleMapsPlacesV1SearchTextResponse |
| `EV_RET_CODE` | EXPORTING | `I` | Return Code |
| `EV_ERR_TEXT` | EXPORTING | `STRING` | Error Text |
| `ES_ERR_RESP` | EXPORTING | `/GOOG/ERR_RESP` | Error Response |

#### Exception

| Name | Description |
|---|---|
| `/GOOG/CX_SDK` | ABAP SDK for Google Cloud: Exception Class |

### CLOSE

- Description: Close Connection
- Visibility: PUBLIC