GoogleApi.StorageTransfer.V1.Model.NotificationConfig (google_api_storage_transfer v0.37.3)
View SourceSpecification 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
.
Attributes
-
eventTypes
(type:list(String.t)
, default:nil
) - Event types for which a notification is desired. If empty, send notifications for all event types. -
payloadFormat
(type:String.t
, default:nil
) - Required. The desired format of the notification message payloads. -
pubsubTopic
(type:String.t
, default:nil
) - Required. TheTopic.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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.