Cloud PubSub Client - Class Rest (1.42.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.42.1 keyboard_arrow_down
Reference documentation and code samples for the Cloud PubSub Client class Rest.
Implementation of the
Google Pub/Sub REST API .
The PUBSUB_EMULATOR_HOST
environment variable from the gcloud SDK is
honored, otherwise the actual API endpoint will be used.
Methods
__construct
Parameter Name Description config
array
createTopic
Parameter Name Description args
array
updateTopic
Parameter Name Description args
array
getTopic
Parameter Name Description args
array
deleteTopic
Parameter Name Description args
array
listTopics
Parameter Name Description args
array
publishMessage
Parameter Name Description args
array
listSubscriptionsByTopic
Parameter Name Description args
array
getTopicIamPolicy
Parameter Name Description args
array
setTopicIamPolicy
Parameter Name Description args
array
testTopicIamPermissions
Parameter Name Description args
array
createSubscription
Parameter Name Description args
array
updateSubscription
Parameter Name Description args
array
getSubscription
Parameter Name Description args
array
listSubscriptions
Parameter Name Description args
array
deleteSubscription
Parameter Name Description args
array
modifyPushConfig
Parameter Name Description args
array
pull
Parameter Name Description args
array
modifyAckDeadline
Parameter Name Description args
array
acknowledge
Parameter Name Description args
array
listSnapshots
Parameter Name Description args
array
createSnapshot
Parameter Name Description args
array
deleteSnapshot
Parameter Name Description args
array
seek
Parameter Name Description args
array
getSubscriptionIamPolicy
Parameter Name Description args
array
setSubscriptionIamPolicy
Parameter Name Description args
array
testSubscriptionIamPermissions
Parameter Name Description args
array
detachSubscription
Parameter Name Description args
array
listSchemas
Parameter Name Description args
array
createSchema
Parameter Name Description args
array
getSchema
Parameter Name Description args
array
deleteSchema
Parameter Name Description args
array
validateSchema
Parameter Name Description args
array
validateMessage
Parameter Name Description args
array
Constants
BASE_URI
Value: 'https://pubsub.googleapis.com/'
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 2024-12-13 UTC.
[[["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 2024-12-13 UTC."],[],[]]