Class /GOOG/CL_CLOUDFUNC_V2

Class


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

Types

Type Description Visibility
TY_001 AuditConfig PUBLIC
TY_002 AuditLogConfig PUBLIC
TY_003 Binding PUBLIC
TY_004 BuildConfig PUBLIC
TY_005 EventFilter PUBLIC
TY_006 EventTrigger PUBLIC
TY_007 Expr PUBLIC
TY_008 Function PUBLIC
TY_010 GenerateDownloadUrlResponse PUBLIC
TY_011 GenerateUploadUrlRequest PUBLIC
TY_012 GenerateUploadUrlResponse PUBLIC
TY_014 GoogleCloudFunctionsV2StateMessage PUBLIC
TY_018 ListFunctionsResponse PUBLIC
TY_019 ListLocationsResponse PUBLIC
TY_020 ListOperationsResponse PUBLIC
TY_021 ListRuntimesResponse PUBLIC
TY_022 Location PUBLIC
TY_023 Operation PUBLIC
TY_024 Policy PUBLIC
TY_025 RepoSource PUBLIC
TY_026 Runtime PUBLIC
TY_027 SecretEnvVar PUBLIC
TY_028 SecretVersion PUBLIC
TY_029 SecretVolume PUBLIC
TY_030 ServiceConfig PUBLIC
TY_031 SetIamPolicyRequest PUBLIC
TY_032 Source PUBLIC
TY_033 SourceProvenance PUBLIC
TY_035 Status PUBLIC
TY_036 StorageSource PUBLIC
TY_037 TestIamPermissionsRequest PUBLIC
TY_038 TestIamPermissionsResponse PUBLIC
TY_040 Date PUBLIC
TY_042 OnDeployUpdatePolicy PUBLIC
TY_048 UpgradeInfo PUBLIC
TY_T_001 AuditConfig PUBLIC
TY_T_002 AuditLogConfig PUBLIC
TY_T_003 Binding PUBLIC
TY_T_005 EventFilter PUBLIC
TY_T_008 Function PUBLIC
TY_T_014 GoogleCloudFunctionsV2StateMessage PUBLIC
TY_T_022 Location PUBLIC
TY_T_023 Operation PUBLIC
TY_T_026 Runtime PUBLIC
TY_T_027 SecretEnvVar PUBLIC
TY_T_028 SecretVersion PUBLIC
TY_T_029 SecretVolume PUBLIC
TY_T_STRING Table of Strings 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 cloudfunctions:v2 PUBLIC
C_ROOT_URL STRING API Root URL https://cloudfunctions.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20240315 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premise Version 1.0 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version 1.0 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

ABORT_FUNCTION_UPGRADE_FUNC

  • Description: projects.locations.functions.abortFunctionUpgrade
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

COMMIT_FUNCTION_UPGRADE_FUN

  • Description: projects.locations.functions.commitFunctionUpgrade
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

CREATE_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FUNCTIONID IMPORTING STRING functionId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_008 Function
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

DELETE_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

GENERATE_DOWNLOAD_URL_FUNCT

  • Description: projects.locations.functions.generateDownloadUrl
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 GenerateDownloadUrlResponse
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

GENERATE_UPLOAD_URL_FUNCTIO

  • Description: projects.locations.functions.generateUploadUrl
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_011 GenerateUploadUrlRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 GenerateUploadUrlResponse
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

GET_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_REVISION IMPORTING STRING revision
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 Function
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

GET_IAM_POLICY_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.getIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_OPTIONSREQUESTEDPOLICYVER IMPORTING STRING options.requestedPolicyVersion
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_024 Policy
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

GET_OPERATIONS

  • Description: cloudfunctions.projects.locations.operations.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

LIST_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_Q_ORDERBY IMPORTING STRING orderBy
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_018 ListFunctionsResponse
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

LIST_LOCATIONS

  • Description: cloudfunctions.projects.locations.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_019 ListLocationsResponse
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

LIST_OPERATIONS

  • Description: cloudfunctions.projects.locations.operations.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_020 ListOperationsResponse
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

LIST_RUNTIMES

  • Description: cloudfunctions.projects.locations.runtimes.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_FILTER IMPORTING STRING filter
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_021 ListRuntimesResponse
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

PATCH_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_UPDATEMASK IMPORTING STRING updateMask
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING TY_008 Function
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

REDIRECT_FUNCTION_UPGRADE_T

  • Description: projects.locations.functions.redirectFunctionUpgradeTraffic
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

ROLLBACK_FUNCTION_UPGRADE_T

  • Description: projects.locations.functions.rollbackFunctionUpgradeTraffic
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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

SETUP_FUNCTION_UPGRADE_CONF

  • Description: projects.locations.functions.setupFunctionUpgradeConfig
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 Operation
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_IAM_POLICY_FUNCTIONS

  • Description: cloudfunctions.projects.locations.functions.setIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING TY_031 SetIamPolicyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_024 Policy
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

TEST_IAM_PERMISSIONS_FUNCTI

  • Description: projects.locations.functions.testIamPermissions
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_FUNCTIONS_ID IMPORTING STRING functionsId
IS_INPUT IMPORTING TY_037 TestIamPermissionsRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_038 TestIamPermissionsResponse
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