Google Cloud Data Loss Prevention v2 API - Class JobTrigger (4.9.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 API calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/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
Name Description
other JobTrigger

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of a triggeredJob.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

User provided description (max 256 chars)

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Display name (max 100 chars)

Property Value
Type Description
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
Type Description
RepeatedFieldError

InspectJob

public InspectJobConfig InspectJob { get; set; }

For inspect jobs, a snapshot of the configuration.

Property Value
Type Description
InspectJobConfig

JobCase

public JobTrigger.JobOneofCase JobCase { get; }
Property Value
Type Description
JobTriggerJobOneofCase

JobTriggerName

public JobTriggerName JobTriggerName { get; set; }

JobTriggerName-typed view over the Name resource name property.

Property Value
Type Description
JobTriggerName

LastRunTime

public Timestamp LastRunTime { get; set; }

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

Property Value
Type Description
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
Type Description
string

Status

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

Required. A status for this trigger.

Property Value
Type Description
JobTriggerTypesStatus

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
Type Description
RepeatedFieldJobTriggerTypesTrigger

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of a triggeredJob.

Property Value
Type Description
Timestamp