Cloud PubSub Client - Class Rest (1.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
Namespace
Google \ Cloud \ PubSub \ Connection
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-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-08-21 UTC.",
"confidential": False
}