TransferJobNotificationConfig

data class TransferJobNotificationConfig(val eventTypes: List<String>? = null, val payloadFormat: String, val pubsubTopic: String)

Constructors

Link copied to clipboard
constructor(eventTypes: List<String>? = null, payloadFormat: String, pubsubTopic: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val eventTypes: List<String>? = null

Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".

Link copied to clipboard

The desired format of the notification message payloads. One of "NONE" or "JSON".

Link copied to clipboard

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.