Google Cloud Data Loss Prevention v2 API - Class JobTrigger (4.5.0)

public sealed class JobTrigger : IMessage<JobTrigger>, IEquatable<JobTrigger>, IDeepCloneable<JobTrigger>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class JobTrigger.

Contains a configuration to make dlp api calls on a repeating basis. See https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more.

Inheritance

Object > JobTrigger

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

JobTrigger()

public JobTrigger()

JobTrigger(JobTrigger)

public JobTrigger(JobTrigger other)
Parameter
NameDescription
otherJobTrigger

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of a triggeredJob.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

User provided description (max 256 chars)

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Display name (max 100 chars)

Property Value
TypeDescription
String

Errors

public RepeatedField<Error> Errors { get; }

Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.

Property Value
TypeDescription
RepeatedField<Error>

InspectJob

public InspectJobConfig InspectJob { get; set; }

For inspect jobs, a snapshot of the configuration.

Property Value
TypeDescription
InspectJobConfig

JobCase

public JobTrigger.JobOneofCase JobCase { get; }
Property Value
TypeDescription
JobTrigger.JobOneofCase

JobTriggerName

public JobTriggerName JobTriggerName { get; set; }

JobTriggerName-typed view over the Name resource name property.

Property Value
TypeDescription
JobTriggerName

LastRunTime

public Timestamp LastRunTime { get; set; }

Output only. The timestamp of the last time this trigger executed.

Property Value
TypeDescription
Timestamp

Name

public string Name { get; set; }

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

Property Value
TypeDescription
String

Status

public JobTrigger.Types.Status Status { get; set; }

Required. A status for this trigger.

Property Value
TypeDescription
JobTrigger.Types.Status

Triggers

public RepeatedField<JobTrigger.Types.Trigger> Triggers { get; }

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.

Property Value
TypeDescription
RepeatedField<JobTrigger.Types.Trigger>

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of a triggeredJob.

Property Value
TypeDescription
Timestamp