OrganizationJobTriggerArgs

data class OrganizationJobTriggerArgs(val description: Output<String>? = null, val displayName: Output<String>? = null, val inspectJob: Output<GooglePrivacyDlpV2InspectJobConfigArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null, val status: Output<OrganizationJobTriggerStatus>? = null, val triggerId: Output<String>? = null, val triggers: Output<List<GooglePrivacyDlpV2TriggerArgs>>? = null) : ConvertibleToJava<OrganizationJobTriggerArgs>

Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, displayName: Output<String>? = null, inspectJob: Output<GooglePrivacyDlpV2InspectJobConfigArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, organizationId: Output<String>? = null, status: Output<OrganizationJobTriggerStatus>? = null, triggerId: Output<String>? = null, triggers: Output<List<GooglePrivacyDlpV2TriggerArgs>>? = null)

Properties

Link copied to clipboard
val description: Output<String>? = null

User provided description (max 256 chars)

Link copied to clipboard
val displayName: Output<String>? = null

Display name (max 100 chars)

Link copied to clipboard

For inspect jobs, a snapshot of the configuration.

Link copied to clipboard
val location: Output<String>? = null

Deprecated. This field has no effect.

Link copied to clipboard
val name: Output<String>? = null

Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example projects/dlp-test-project/jobTriggers/53234423.

Link copied to clipboard
val organizationId: Output<String>? = null
Link copied to clipboard

A status for this trigger.

Link copied to clipboard
val triggerId: Output<String>? = null

The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one.

Link copied to clipboard

A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.

Functions

Link copied to clipboard
open override fun toJava(): OrganizationJobTriggerArgs