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({List<
String> ? eventTypes, String? payloadFormat, String? pubsubTopic}) - NotificationConfig.fromJson(Map json_)
Properties
-
eventTypes
↔ List<
String> ? -
Event types for which a notification is desired.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- payloadFormat ↔ String?
-
The desired format of the notification message payloads.
getter/setter pair
- pubsubTopic ↔ String?
-
The
Topic.name
of the Pub/Sub topic to which to publish notifications.getter/setter pair - 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited