View Source Google.Pubsub.Topic (google_grpc_pubsub v0.1.4)

Link to this section Summary

Link to this section Types

@type opts() :: [project: String.t(), topic: String.t()]
@type t() :: Google.Pubsub.V1.Topic.t()

Link to this section Functions

@spec create(opts()) :: {:ok, t()} | {:error, any()}
@spec get(opts()) :: {:ok, t()} | {:error, any()}
@spec id(opts()) :: String.t()
@spec publish(t(), [Google.Pubsub.Message.t()]) :: :ok | {:error, any()}