Search
@spec create_subscription(String.t(), String.t()) :: {:ok, Google.Pubsub.V1.Subscription.t()} | {:error, any()}
@spec create_topic(String.t()) :: {:ok, Google.Pubsub.V1.Topic.t()} | {:error, any()}
@spec get_subscription(String.t()) :: {:ok, Google.Pubsub.V1.Subscription.t()} | {:error, any()}
@spec get_topic(String.t()) :: {:ok, Google.Pubsub.V1.Topic.t()} | {:error, any()}
@spec publish(String.t(), [Google.Pubsub.V1.PubsubMessage.t()]) :: {:ok, Google.Pubsub.V1.PublishResponse.t()} | {:error, any()}