Send feedback
Class /GOOG/CL_DISTANCE_MATRIX
Stay organized with collections
Save and categorize content based on your preferences.
SAP BTP edition v1.0 keyboard_arrow_down
Class
/GOOG/CL_DISTANCE_MATRIX
Inheriting from:/GOOG/CL_HTTP_CLIENT
Description:Google Maps Platform Distance Matrix 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_CLOUD_VERSION
/GOOG/SDK_VERSION
Lowest cloud version
1.0
PUBLIC
C_ON_PREM_VERSION
/GOOG/SDK_VERSION
Lowest on-prem version
1.5
PUBLIC
C_SUPPORTED_AUTH
/GOOG/SUPP_AUTH
Supported Auth Types
AAAAAA
PUBLIC
C_VERSION
STRING
Open API Specification Version
1.22.5
PUBLIC
C_SERVICE_NAME
/GOOG/SERVICE_NAME
Google Service Name
distance_matrix
PUBLIC
C_ROOT_URL
STRING
API Root URL
https://maps.googleapis.com
PUBLIC
C_PATH_PREFIX
STRING
API Path Prefix
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
DISTANCE_MATRIX
Description: distanceMatrix
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IT_Q_DESTINATIONS
IMPORTING
TY_T_STRING
Destinations
IT_Q_ORIGINS
IMPORTING
TY_T_STRING
Origins
IV_Q_ARRIVAL_TIME
IMPORTING
/GOOG/NUM_FLOAT
Arrival Time
IV_Q_DEPARTURE_TIME
IMPORTING
/GOOG/NUM_FLOAT
Departure Time
IV_Q_AVOID
IMPORTING
STRING
Avoid
IV_Q_UNITS
IMPORTING
STRING
Units
IV_Q_LANGUAGE
IMPORTING
STRING
Language
IV_Q_MODE
IMPORTING
STRING
Mode
IV_Q_REGION
IMPORTING
STRING
Region
IV_Q_TRAFFIC_MODEL
IMPORTING
STRING
Traffic Model
IV_Q_TRANSIT_MODE
IMPORTING
STRING
Transit Mode
IV_Q_TRANSIT_ROUTING_PREFER000
IMPORTING
STRING
Transit Routing Preference
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
/GOOG/IF_MAPS~TY_014
DistanceMatrixResponse
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]