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

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.

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.