Class /GOOG/CL_CLOUDFUNC_INVOKER

Class

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

Constants

Name Type Description Value Visibility
C_REVISION_DATE DATUM Date 20230425 PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name cfinvoker:v1 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC
C_CF_ENV_GEN_1 STRING Cloud Function Gen-1 Environment GEN_1 PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.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

GET_CLOUDFUNC_ENDPOINT

  • Description: Get Cloud Function Endpoint
  • Visibility: PRIVATE

Parameters

Name Category Type Description
IV_CF_NAME IMPORTING STRING Cloud Function Name
IV_CF_LOCATION IMPORTING STRING Cloud Function Location
IO_CF_INSTANCE IMPORTING /GOOG/CL_CLOUDFUNC_V2 Instance of Cloud Functions API v2
EV_ENDPOINT EXPORTING STRING Cloud Function Endpoint
EV_ENVIRONMENT EXPORTING STRING Cloud function Environment

Exception

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

INVOKE

  • Description: Invoke Cloud Function
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_CF_NAME IMPORTING STRING Cloud Function Name
IV_CF_LOCATION IMPORTING STRING Cloud Function Location
IO_CF_INSTANCE IMPORTING /GOOG/CL_CLOUDFUNC_V2 Instance of Cloud Functions API v2
IV_BODY IMPORTING STRING Request body - Character data
IV_XBODY IMPORTING XSTRING Request Body - Binary data
IV_PATH IMPORTING STRING Path Parameters
IV_METHOD IMPORTING STRING CRUD Operation
IV_CONTENT_TYPE IMPORTING STRING Content Type
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING STRING Cloud Function 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

SET_ENDPOINT_URL

  • Description: Set Endpoint URL
  • Visibility: PRIVATE

Parameters

Name Category Type Description
IV_CF_NAME IMPORTING STRING Cloud Function Name
IV_CF_LOCATION IMPORTING STRING Cloud Function Location
IO_CF_INSTANCE IMPORTING /GOOG/CL_CLOUDFUNC_V2 Instance of Cloud Functions API v2

Exception

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

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC