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

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.

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.