PubSub constructor
Creates a new PubSub.
enabled Enable notifications for Pub/Sub.
filter Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
topic The desired Pub/Sub topic to which notifications will be sent by GKE. Format is projects/{project}/topics/{topic}.
Implementation
const PubSub({
this.enabled,
this.filter,
this.topic,
});