Class /GOOG/CL_TRAVELIMPACTMODEL_V1

Class

/GOOG/CL_TRAVELIMPACTMODEL_V1
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Travel Impact Model API v1
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 ComputeFlightEmissionsRequest PUBLIC
TY_002 ComputeFlightEmissionsResponse PUBLIC
TY_003 Date PUBLIC
TY_004 EmissionsGramsPerPax PUBLIC
TY_005 Flight PUBLIC
TY_006 FlightWithEmissions PUBLIC
TY_007 ModelVersion PUBLIC
TY_T_005 Flight PUBLIC
TY_T_006 FlightWithEmissions PUBLIC

Constants

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

COMPUTE_FLIGHT_EMISSIONS_FL

  • Description: travelimpactmodel.flights.computeFlightEmissions
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_001 ComputeFlightEmissionsRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 ComputeFlightEmissionsResponse
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