Class /GOOG/CL_TASKS_V1

Class

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

Types

Type Description Visibility
TY_001 Task PUBLIC
TY_002 TaskList PUBLIC
TY_003 TaskLists PUBLIC
TY_004 Tasks PUBLIC
TY_006 Links PUBLIC
TY_T_001 Task PUBLIC
TY_T_002 TaskList PUBLIC
TY_T_006 Links PUBLIC

Constants

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

CLEAR_TASKS

  • Description: tasks.tasks.clear
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw 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_TASKLISTS

  • Description: tasks.tasklists.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw 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: tasks.tasks.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASK IMPORTING STRING task
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw 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_TASKLISTS

  • Description: tasks.tasklists.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 TaskList
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: tasks.tasks.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASK IMPORTING STRING task
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 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

INSERT_TASKLISTS

  • Description: tasks.tasklists.insert
  • Visibility: PUBLIC

Parameters

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

INSERT_TASKS

  • Description: tasks.tasks.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PARENT IMPORTING STRING parent
IV_Q_PREVIOUS IMPORTING STRING previous
IV_P_TASKLIST IMPORTING STRING tasklist
IS_INPUT IMPORTING TY_001 Task
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 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_TASKLISTS

  • Description: tasks.tasklists.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_PAGETOKEN IMPORTING STRING pageToken
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 TaskLists
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: tasks.tasks.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_COMPLETEDMAX IMPORTING STRING completedMax
IV_Q_COMPLETEDMIN IMPORTING STRING completedMin
IV_Q_DUEMAX IMPORTING STRING dueMax
IV_Q_DUEMIN IMPORTING STRING dueMin
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_SHOWCOMPLETED IMPORTING STRING showCompleted
IV_Q_SHOWDELETED IMPORTING STRING showDeleted
IV_Q_SHOWHIDDEN IMPORTING STRING showHidden
IV_Q_UPDATEDMIN IMPORTING STRING updatedMin
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 Tasks
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

MOVE_TASKS

  • Description: tasks.tasks.move
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PARENT IMPORTING STRING parent
IV_Q_PREVIOUS IMPORTING STRING previous
IV_P_TASK IMPORTING STRING task
IV_P_TASKLIST IMPORTING STRING tasklist
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 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

PATCH_TASKLISTS

  • Description: tasks.tasklists.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASKLIST IMPORTING STRING tasklist
IS_INPUT IMPORTING TY_002 TaskList
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 TaskList
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_TASKS

  • Description: tasks.tasks.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASK IMPORTING STRING task
IV_P_TASKLIST IMPORTING STRING tasklist
IS_INPUT IMPORTING TY_001 Task
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 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

UPDATE_TASKLISTS

  • Description: tasks.tasklists.update
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASKLIST IMPORTING STRING tasklist
IS_INPUT IMPORTING TY_002 TaskList
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 TaskList
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_TASKS

  • Description: tasks.tasks.update
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TASK IMPORTING STRING task
IV_P_TASKLIST IMPORTING STRING tasklist
IS_INPUT IMPORTING TY_001 Task
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 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

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC