PreventionDiscoveryConfigActionPubSubNotification

data class PreventionDiscoveryConfigActionPubSubNotification(val detailOfMessage: String? = null, val event: String? = null, val pubsubCondition: PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition? = null, val topic: String? = null)

Constructors

constructor(detailOfMessage: String? = null, event: String? = null, pubsubCondition: PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition? = null, topic: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val detailOfMessage: String? = null

How much data to include in the pub/sub message. Possible values are: TABLE_PROFILE, RESOURCE_NAME.

Link copied to clipboard
val event: String? = null

The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted. Possible values are: NEW_PROFILE, CHANGED_PROFILE, SCORE_INCREASED, ERROR_CHANGED.

Link copied to clipboard

Conditions for triggering pubsub Structure is documented below.

Link copied to clipboard
val topic: String? = null

Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.