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

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

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 instead.