PSTopic

gcp4zio.pubsub.topic.PSTopic$
See thePSTopic companion trait
object PSTopic

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PSTopic.type

Members list

Concise view

Value members

Concrete methods

def createTopic(project: String, topic: String): ZIO[PSTopic, Throwable, Topic]

Attributes

project

GCP Project ID

topic

The name of the topic to be created

def deleteTopic(project: String, topic: String): ZIO[PSTopic, Throwable, Unit]

Attributes

project

GCP Project ID

topic

The name of the topic to be created

def live(path: Option[String]): TaskLayer[PSTopic]

Attributes

path

Optional path to google service account credential file

Returns:

PSTopic

Concrete fields

val test: TaskLayer[PSTopic]

Test layer

Test layer

Attributes

Returns:

PSTopic