public sealed class Trigger : IMessage<JobTrigger.Types.Trigger>, IEquatable<JobTrigger.Types.Trigger>, IDeepCloneable<JobTrigger.Types.Trigger>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class JobTrigger.Types.Trigger.
What event needs to occur for a new job to be started.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eJobTrigger.Types.Trigger\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API, detailing its role in defining the events that start new jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eJobTrigger.Types.Trigger\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing methods and functionalities for data handling and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides documentation for versions of the google cloud DLP v2 API ranging from 2.15.0 all the way to 4.16.0, with 4.16.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTrigger\u003c/code\u003e offers properties for specifying how jobs are triggered, including \u003ccode\u003eManual\u003c/code\u003e for manually started jobs and \u003ccode\u003eSchedule\u003c/code\u003e for jobs triggered on a recurring time basis.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are provided for the \u003ccode\u003eTrigger\u003c/code\u003e class, allowing either for the creation of a new instance or one that is a copy of another instance.\u003c/p\u003e\n"]]],[],null,[]]