public static class PubsubIO.Write
extends java.lang.Object
PCollection<String> to a Pubsub stream.| Modifier and Type | Class and Description |
|---|---|
static class |
PubsubIO.Write.Bound
A PTransfrom that writes a unbounded
PCollection<String>
to a PubSub stream. |
| Constructor and Description |
|---|
PubsubIO.Write() |
| Modifier and Type | Method and Description |
|---|---|
static PubsubIO.Write.Bound |
named(java.lang.String name) |
static PubsubIO.Write.Bound |
topic(java.lang.String topic)
The topic to publish to.
|
public static PubsubIO.Write.Bound named(java.lang.String name)
public static PubsubIO.Write.Bound topic(java.lang.String topic)
/topics/<project>/<topic>,
where <project> is the name of the publishing project.