Class /GOOG/CL_PUBSUB_V1BETA1A

Class

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

Types

Type Description Visibility
TY_001 AcknowledgeRequest PUBLIC
TY_003 Label PUBLIC
TY_004 ListSubscriptionsResponse PUBLIC
TY_005 ListTopicsResponse PUBLIC
TY_006 ModifyAckDeadlineRequest PUBLIC
TY_007 ModifyPushConfigRequest PUBLIC
TY_008 PublishBatchRequest PUBLIC
TY_009 PublishBatchResponse PUBLIC
TY_010 PublishRequest PUBLIC
TY_011 PubsubEvent PUBLIC
TY_012 PubsubMessage PUBLIC
TY_013 PullBatchRequest PUBLIC
TY_014 PullBatchResponse PUBLIC
TY_015 PullRequest PUBLIC
TY_016 PullResponse PUBLIC
TY_017 PushConfig PUBLIC
TY_018 Subscription PUBLIC
TY_019 Topic PUBLIC
TY_T_003 Label PUBLIC
TY_T_012 PubsubMessage PUBLIC
TY_T_016 PullResponse PUBLIC
TY_T_018 Subscription PUBLIC
TY_T_019 Topic 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 pubsub:v1beta1a PUBLIC
C_ROOT_URL STRING API Root URL https://pubsub.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250225 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.10 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

ACKNOWLEDGE_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.acknowledge
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_001 AcknowledgeRequest
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

CREATE_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.create
  • Visibility: PUBLIC

Parameters

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

  • Description: pubsub.topics.create
  • Visibility: PUBLIC

Parameters

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

  • Description: pubsub.subscriptions.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_SUBSCRIPTIONS_ID IMPORTING STRING subscriptionsId
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_TOPICS

  • Description: pubsub.topics.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TOPICS_ID IMPORTING STRING topicsId
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_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_SUBSCRIPTIONS_ID IMPORTING STRING subscriptionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_018 Subscription
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_TOPICS

  • Description: pubsub.topics.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_TOPICS_ID IMPORTING STRING topicsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_019 Topic
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_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_QUERY IMPORTING STRING query
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 ListSubscriptionsResponse
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_TOPICS

  • Description: pubsub.topics.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_QUERY IMPORTING STRING query
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_005 ListTopicsResponse
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

MODIFY_ACK_DEADLINE_SUBSCRI

  • Description: pubsub.subscriptions.modifyAckDeadline
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_006 ModifyAckDeadlineRequest
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

MODIFY_PUSH_CONFIG_SUBSCRIP

  • Description: pubsub.subscriptions.modifyPushConfig
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_007 ModifyPushConfigRequest
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

PUBLISH_BATCH_TOPICS

  • Description: pubsub.topics.publishBatch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_008 PublishBatchRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 PublishBatchResponse
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

PUBLISH_TOPICS

  • Description: pubsub.topics.publish
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_010 PublishRequest
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

PULL_BATCH_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.pullBatch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_013 PullBatchRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_014 PullBatchResponse
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

PULL_SUBSCRIPTIONS

  • Description: pubsub.subscriptions.pull
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IS_INPUT IMPORTING TY_015 PullRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_016 PullResponse
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