NotificationConfig class
Specification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following PubsubMessage.attributes: * "eventType": one of the EventType values * "payloadFormat": one of the PayloadFormat values * "projectId": the project_id of the TransferOperation * "transferJobName": the transfer_job_name of the TransferOperation * "transferOperationName": the name of the TransferOperation The PubsubMessage.data contains a TransferOperation resource formatted according to the specified PayloadFormat.
Constructors
-
NotificationConfig({Input<
List< ? eventTypes, required Input<NotificationConfigEventTypesItem> >NotificationConfigPayloadFormat> payloadFormat, required Input<String> pubsubTopic}) -
Creates a new NotificationConfig.
eventTypesEvent types for which a notification is desired. If empty, send notifications for all event types.payloadFormatThe desired format of the notification message payloads.pubsubTopicTheTopic.nameof 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.const -
NotificationConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
eventTypes
→ Input<
List< ?NotificationConfigEventTypesItem> > -
Event types for which a notification is desired. If empty, send notifications for all event types.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
payloadFormat
→ Input<
NotificationConfigPayloadFormat> -
The desired format of the notification message payloads.
final
-
pubsubTopic
→ Input<
String> -
The
Topic.nameof 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.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited