Send feedback
Class /GOOG/CL_CLOUDTASKS_V2
Stay organized with collections
Save and categorize content based on your preferences.
On-premises or any cloud edition v1.10 keyboard_arrow_down
Class
/GOOG/CL_CLOUDTASKS_V2
Inheriting from:/GOOG/CL_HTTP_CLIENT
Description:Cloud Tasks API v2
For general information about a class in ABAP SDK for Google Cloud,
see
API client stub .
Types
Type
Description
Visibility
TY_001
AppEngineHttpRequest
PUBLIC
TY_002
AppEngineRouting
PUBLIC
TY_003
Attempt
PUBLIC
TY_004
Binding
PUBLIC
TY_005
CreateTaskRequest
PUBLIC
TY_007
Expr
PUBLIC
TY_008
GetIamPolicyRequest
PUBLIC
TY_009
GetPolicyOptions
PUBLIC
TY_010
HttpRequest
PUBLIC
TY_011
ListLocationsResponse
PUBLIC
TY_012
ListQueuesResponse
PUBLIC
TY_013
ListTasksResponse
PUBLIC
TY_014
Location
PUBLIC
TY_015
OAuthToken
PUBLIC
TY_016
OidcToken
PUBLIC
TY_018
Policy
PUBLIC
TY_020
Queue
PUBLIC
TY_021
RateLimits
PUBLIC
TY_023
RetryConfig
PUBLIC
TY_024
RunTaskRequest
PUBLIC
TY_025
SetIamPolicyRequest
PUBLIC
TY_026
StackdriverLoggingConfig
PUBLIC
TY_027
Status
PUBLIC
TY_028
Task
PUBLIC
TY_029
TestIamPermissionsRequest
PUBLIC
TY_030
TestIamPermissionsResponse
PUBLIC
TY_031
BufferTaskRequest
PUBLIC
TY_032
BufferTaskResponse
PUBLIC
TY_033
CmekConfig
PUBLIC
TY_034
Header
PUBLIC
TY_035
HeaderOverride
PUBLIC
TY_036
HttpBody
PUBLIC
TY_037
HttpTarget
PUBLIC
TY_038
PathOverride
PUBLIC
TY_039
QueryOverride
PUBLIC
TY_040
UriOverride
PUBLIC
TY_T_004
Binding
PUBLIC
TY_T_014
Location
PUBLIC
TY_T_020
Queue
PUBLIC
TY_T_028
Task
PUBLIC
TY_T_035
HeaderOverride
PUBLIC
TY_T_STRING
Table of Strings
PUBLIC
Constants
Name
Type
Description
Value
Visibility
C_SERVICE_NAME
/GOOG/SERVICE_NAME
Google Service Name
cloudtasks:v2
PUBLIC
C_SUPPORTED_AUTH
/GOOG/SUPP_AUTH
Supported Auth Types
IJIJWW
PUBLIC
C_ROOT_URL
STRING
API Root URL
https://cloudtasks.googleapis.com
PUBLIC
C_REVISION_DATE
DATUM
Discovery Document revision Date
20250218
PUBLIC
C_PATH_PREFIX
STRING
API Path Prefix
PUBLIC
C_ON_PREM_VERSION
/GOOG/SDK_VERSION
Lowest On-premises Version
1.7
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
BUFFER_TASKS
Description: cloudtasks.projects.locations.queues.tasks.buffer
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IV_P_TASK_ID
IMPORTING
STRING
taskId
IS_INPUT
IMPORTING
TY_031
BufferTaskRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_032
BufferTaskResponse
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_QUEUES
Description: cloudtasks.projects.locations.queues.create
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_020
Queue
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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_TASKS
Description: cloudtasks.projects.locations.queues.tasks.create
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
TY_005
CreateTaskRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_028
Task
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_QUEUES
Description: cloudtasks.projects.locations.queues.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
DATA
Output Data
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_TASKS
Description: cloudtasks.projects.locations.queues.tasks.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IV_P_TASKS_ID
IMPORTING
STRING
tasksId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
DATA
Output Data
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_CMEK_CONFIG_LOCATIONS
Description: cloudtasks.projects.locations.getCmekConfig
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
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_033
CmekConfig
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_QUEUES
Description: cloudtasks.projects.locations.queues.getIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
TY_008
GetIamPolicyRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_018
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_LOCATIONS
Description: cloudtasks.projects.locations.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
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_014
Location
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_QUEUES
Description: cloudtasks.projects.locations.queues.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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_TASKS
Description: cloudtasks.projects.locations.queues.tasks.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_RESPONSEVIEW
IMPORTING
STRING
responseView
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IV_P_TASKS_ID
IMPORTING
STRING
tasksId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_028
Task
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: cloudtasks.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_011
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_QUEUES
Description: cloudtasks.projects.locations.queues.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_012
ListQueuesResponse
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_TASKS
Description: cloudtasks.projects.locations.queues.tasks.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_PAGESIZE
IMPORTING
STRING
pageSize
IV_Q_PAGETOKEN
IMPORTING
STRING
pageToken
IV_Q_RESPONSEVIEW
IMPORTING
STRING
responseView
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_013
ListTasksResponse
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_QUEUES
Description: cloudtasks.projects.locations.queues.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_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
TY_020
Queue
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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
PAUSE_QUEUES
Description: cloudtasks.projects.locations.queues.pause
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
DATA
Input Data
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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
PURGE_QUEUES
Description: cloudtasks.projects.locations.queues.purge
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
DATA
Input Data
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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
RESUME_QUEUES
Description: cloudtasks.projects.locations.queues.resume
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
DATA
Input Data
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
Queue
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
RUN_TASKS
Description: cloudtasks.projects.locations.queues.tasks.run
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IV_P_TASKS_ID
IMPORTING
STRING
tasksId
IS_INPUT
IMPORTING
TY_024
RunTaskRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_028
Task
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_QUEUES
Description: cloudtasks.projects.locations.queues.setIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
TY_025
SetIamPolicyRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_018
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_QUEUES
Description: cloudtasks.projects.locations.queues.testIamPermissions
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_QUEUES_ID
IMPORTING
STRING
queuesId
IS_INPUT
IMPORTING
TY_029
TestIamPermissionsRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_030
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
UPDATE_CMEK_CONFIG_LOCATION
Description: cloudtasks.projects.locations.updateCmekConfig
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
IS_INPUT
IMPORTING
TY_033
CmekConfig
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_033
CmekConfig
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 2025-04-17 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 2025-04-17 UTC."],[],[]]