View Source GoogleApi.StorageTransfer.V1.Model.NotificationConfig (google_api_storage_transfer v0.33.2)

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 contains a TransferOperation resource formatted according to the specified PayloadFormat.


  • 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. The 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.StorageTransfer.V1.Model.NotificationConfig{
  eventTypes: [String.t()] | nil,
  payloadFormat: String.t() | nil,
  pubsubTopic: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.