NotificationConfig class

Specification to configure notifications published to Cloud Pub/Sub. Notifications will be 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 will contain a TransferOperation resource formatted according to the specified PayloadFormat.

Constructors

NotificationConfig()
NotificationConfig.fromJson(Map _json)

Properties

eventTypes List<String>
Event types for which a notification is desired. If empty, send notifications for all event types.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
payloadFormat String
Required. The desired format of the notification message payloads. Possible string values are: [...]
read / write
pubsubTopic String
Required. The Topic.name of the Cloud Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format will result in an INVALID_ARGUMENT error.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited