NotificationConfig constructor

const NotificationConfig({
  1. Input<List<NotificationConfigEventTypesItem>>? eventTypes,
  2. required Input<NotificationConfigPayloadFormat> payloadFormat,
  3. required Input<String> pubsubTopic,
})

Creates a new NotificationConfig. eventTypes Event types for which a notification is desired. If empty, send notifications for all event types. payloadFormat The desired format of the notification message payloads. pubsubTopic The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.

Implementation

const NotificationConfig({
  this.eventTypes,
  required this.payloadFormat,
  required this.pubsubTopic,
});