View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2DataProfilePubSubMessage (google_api_dlp v0.50.1)

Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.

Attributes

  • event (type: String.t, default: nil) - The event that caused the Pub/Sub message to be sent.
  • fileStoreProfile (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FileStoreDataProfile.t, default: nil) - If DetailLevel is FILE_STORE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and file_store_path will be populated.
  • profile (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TableDataProfile.t, default: nil) - If DetailLevel is TABLE_PROFILE this will be fully populated. Otherwise, if DetailLevel is RESOURCE_NAME, then only name and full_resource will be populated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2DataProfilePubSubMessage{
  event: String.t() | nil,
  fileStoreProfile:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FileStoreDataProfile.t() | nil,
  profile: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TableDataProfile.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.