Send feedback
Class /GOOG/CL_PUBSUB_V1BETA2
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_PUBSUB_V1BETA2
Inheriting from:/GOOG/CL_HTTP_CLIENT
Description:Cloud Pub/Sub API v1beta2
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_002
Binding
PUBLIC
TY_004
Expr
PUBLIC
TY_005
ListSubscriptionsResponse
PUBLIC
TY_006
ListTopicSubscriptionsResponse
PUBLIC
TY_007
ListTopicsResponse
PUBLIC
TY_008
ModifyAckDeadlineRequest
PUBLIC
TY_009
ModifyPushConfigRequest
PUBLIC
TY_010
OidcToken
PUBLIC
TY_011
Policy
PUBLIC
TY_012
PublishRequest
PUBLIC
TY_013
PublishResponse
PUBLIC
TY_014
PubsubMessage
PUBLIC
TY_015
PullRequest
PUBLIC
TY_016
PullResponse
PUBLIC
TY_017
PushConfig
PUBLIC
TY_018
ReceivedMessage
PUBLIC
TY_019
SetIamPolicyRequest
PUBLIC
TY_020
Subscription
PUBLIC
TY_021
TestIamPermissionsRequest
PUBLIC
TY_022
TestIamPermissionsResponse
PUBLIC
TY_023
Topic
PUBLIC
TY_T_002
Binding
PUBLIC
TY_T_014
PubsubMessage
PUBLIC
TY_T_018
ReceivedMessage
PUBLIC
TY_T_020
Subscription
PUBLIC
TY_T_023
Topic
PUBLIC
TY_T_STRING
Table of Strings
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.10
PUBLIC
C_PATH_PREFIX
STRING
API Path Prefix
PUBLIC
C_REVISION_DATE
DATUM
Discovery Document revision Date
20250225
PUBLIC
C_ROOT_URL
STRING
API Root URL
https://pubsub.googleapis.com
PUBLIC
C_SERVICE_NAME
/GOOG/SERVICE_NAME
Google Service Name
pubsub:v1beta2
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
ACKNOWLEDGE_SUBSCRIPTIONS
Description: pubsub.projects.subscriptions.acknowledge
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
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.projects.subscriptions.create
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
IS_INPUT
IMPORTING
TY_020
Subscription
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
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.projects.topics.create
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
IS_INPUT
IMPORTING
TY_023
Topic
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_023
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.projects.subscriptions.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
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.projects.topics.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
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_IAM_POLICY_SUBSCRIPTION
Description: pubsub.projects.subscriptions.getIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_OPTIONSREQUESTEDPOLICYVER
IMPORTING
STRING
options.requestedPolicyVersion
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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_IAM_POLICY_TOPICS
Description: pubsub.projects.topics.getIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_OPTIONSREQUESTEDPOLICYVER
IMPORTING
STRING
options.requestedPolicyVersion
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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_SUBSCRIPTIONS
Description: pubsub.projects.subscriptions.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_020
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.projects.topics.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_023
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.projects.subscriptions.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
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_005
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_SUBSCRIPTIONS1
Description: pubsub.projects.topics.subscriptions.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_PAGESIZE
IMPORTING
STRING
pageSize
IV_Q_PAGETOKEN
IMPORTING
STRING
pageToken
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_006
ListTopicSubscriptionsResponse
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.projects.topics.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
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_007
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.projects.subscriptions.modifyAckDeadline
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
IS_INPUT
IMPORTING
TY_008
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.projects.subscriptions.modifyPushConfig
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
IS_INPUT
IMPORTING
TY_009
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_TOPICS
Description: pubsub.projects.topics.publish
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
IS_INPUT
IMPORTING
TY_012
PublishRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_013
PublishResponse
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.projects.subscriptions.pull
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
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
SET_IAM_POLICY_SUBSCRIPTION
Description: pubsub.projects.subscriptions.setIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
IS_INPUT
IMPORTING
TY_019
SetIamPolicyRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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
SET_IAM_POLICY_TOPICS
Description: pubsub.projects.topics.setIamPolicy
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
IS_INPUT
IMPORTING
TY_019
SetIamPolicyRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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_SUBSCR
Description: pubsub.projects.subscriptions.testIamPermissions
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_SUBSCRIPTIONS_ID
IMPORTING
STRING
subscriptionsId
IS_INPUT
IMPORTING
TY_021
TestIamPermissionsRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_022
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
TEST_IAM_PERMISSIONS_TOPICS
Description: pubsub.projects.topics.testIamPermissions
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_TOPICS_ID
IMPORTING
STRING
topicsId
IS_INPUT
IMPORTING
TY_021
TestIamPermissionsRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_022
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
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."],[],[]]