Publisher

com.google.pubsub.v1.pubsub.Publisher
See thePublisher companion object
trait Publisher[F[_]]

The service that an application uses to manipulate topics, and to send messages to a topic.

Attributes

Companion:
object
Source:
Publisher.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def createTopic(request: Topic, ctx: Headers): F[Topic]

Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names).

Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names).

Attributes

Source:
Publisher.scala

Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_.

Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_.

Attributes

Source:
Publisher.scala

Detaches a subscription from this topic. All messages retained in the subscription are dropped. Subsequent Pull and StreamingPull requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will stop.

Detaches a subscription from this topic. All messages retained in the subscription are dropped. Subsequent Pull and StreamingPull requests will return FAILED_PRECONDITION. If the subscription is a push subscription, pushes to the endpoint will stop.

Attributes

Source:
Publisher.scala
def getTopic(request: GetTopicRequest, ctx: Headers): F[Topic]

Gets the configuration of a topic.

Gets the configuration of a topic.

Attributes

Source:
Publisher.scala

Lists the names of the snapshots on this topic. Snapshots are used in Seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.

Lists the names of the snapshots on this topic. Snapshots are used in Seek operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.

Attributes

Source:
Publisher.scala

Lists the names of the attached subscriptions on this topic.

Lists the names of the attached subscriptions on this topic.

Attributes

Source:
Publisher.scala

Lists matching topics.

Lists matching topics.

Attributes

Source:
Publisher.scala

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.

Attributes

Source:
Publisher.scala

Updates an existing topic. Note that certain properties of a topic are not modifiable.

Updates an existing topic. Note that certain properties of a topic are not modifiable.

Attributes

Source:
Publisher.scala