PSSubscriptionImpl

gcp4zio.pubsub.subscription.PSSubscriptionImpl
case class PSSubscriptionImpl(client: SubscriptionAdminClient) extends PSSubscription

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def createBQSubscription(project: String, subscription: String, topic: String, bqTableId: String): Task[Subscription]

Attributes

bqTableId

The name of the table to which to write data, of the form {projectId}:{datasetId}.{tableId}

project

GCP Project ID

subscription

The name of the subscription

topic

The name of the topic from which this subscription is receiving messages

Returns:

Subscription

Definition Classes
override def createPullSubscription(project: String, subscription: String, topic: String, ackDeadlineSeconds: Int): Task[Subscription]

Attributes

ackDeadlineSeconds

Messages not successfully acknowledged within seconds defined by this param will get resent by the server.

project

GCP Project ID

subscription

The name of the subscription

topic

The name of the topic from which this subscription is receiving messages

Returns:

Subscription

Definition Classes
override def createPushSubscription(project: String, subscription: String, topic: String, ackDeadlineSeconds: Int, pushEndpoint: String): Task[Subscription]

Attributes

ackDeadlineSeconds

Messages not successfully acknowledged within seconds defined by this param will get resent by the server.

project

GCP Project ID

pushEndpoint

A URL locating the endpoint to which messages should be pushed.

subscription

The name of the subscription

topic

The name of the topic from which this subscription is receiving messages

Returns:

Subscription

Definition Classes
override def deleteSubscription(project: String, subscription: String): Task[Unit]

Attributes

project

GCP Project ID

subscription

The name of the subscription to be deleted

Returns:

Unit

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product