Class /GOOG/CL_GEOCODE

Class

/GOOG/CL_GEOCODE
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Google Maps Platform Geocode API
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_T_STRING Table of String PUBLIC

Constants

Name Type Description Value Visibility
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name geocode PUBLIC
C_ROOT_URL STRING API Root URL https://maps.googleapis.com PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types AAAAAA PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.5 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version 1.0 PUBLIC
C_VERSION STRING Open API Specification Version 1.22.5 PUBLIC

Methods

For general information about a method in ABAP SDK for Google Cloud, see 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

GEOCODE

  • Description: geocode
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ADDRESS IMPORTING STRING Address
IT_Q_BOUNDS IMPORTING TY_T_STRING Bounds
IT_Q_COMPONENTS IMPORTING TY_T_STRING Components
IV_Q_LATLNG IMPORTING STRING LatLng
IT_Q_LOCATION_TYPE IMPORTING TY_T_STRING Location Type
IV_Q_PLACE_ID IMPORTING STRING Place ID
IT_Q_RESULT_TYPE IMPORTING TY_T_STRING Result Type
IV_Q_LANGUAGE IMPORTING STRING Language
IV_Q_REGION IMPORTING STRING Region
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING /GOOG/IF_MAPS~TY_037 GeocodingResponse
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