Reference documentation and code samples for the Cloud Pub/Sub API class Google::Cloud::PubSub::TopicAdmin::Client.
The TopicAdmin client is used to manage topics.
This client is a subclass of the auto-generated TopicAdmin client, and provides
the same methods. However, it raises errors on data plane operations
to prevent misuse.
Inherits
Google::Cloud::PubSub::V1::TopicAdmin::Client
Methods
#publish
defpublish(*args,**kwargs)
The publish method is a data plane operation.
Raises
(NotImplementedError) — This method is not implemented on the
admin client. Use Publisher instead.
[[["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-08-04 UTC."],[],[]]