Class /GOOG/CL_API_INVOKER

Class

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

Constants

Name Type Description Value Visibility
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name apiinvoker:v1 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

INVOKE

  • Description: Invoke API
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_URI IMPORTING STRING Request URI
IS_INPUT IMPORTING DATA Request Body Data
IV_INPUT_JSON IMPORTING STRING Request Body JSON Data
IV_METHOD IMPORTING STRING CRUD Operation
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING STRING API Response
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