# Cloud Pub/Sub API - Class Google::Cloud::PubSub::TopicAdmin::Client (v3.3.0)

3.3.0 (latest) 3.2.1 3.1.1 3.0.3 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.1 2.17.0 2.16.0 2.15.5 2.14.0 2.12.1 2.11.0 2.10.0 2.9.2 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.


<br />

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

    def publish(*args, **kwargs)

The `publish` method is a data plane operation.
**Raises**

- (NotImplementedError) --- This method is not implemented on the admin client. Use [Publisher](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-pubsub/latest/Google-Cloud-PubSub-Publisher "Google::Cloud::PubSub::Publisher (class)") instead.