Reference documentation and code samples for the Cloud Pub/Sub API class Google::Cloud::PubSub::AsyncPublisherStopped.
Indicates that the AsyncPublisher has been stopped and cannot accept messages to publish.
Inherits
- Google::Cloud::Error
Methods
#initialize
def initialize(message = "Can't publish when stopped.") -> AsyncPublisherStopped
Returns
- (AsyncPublisherStopped) — a new instance of AsyncPublisherStopped