[[["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\u003eThe \u003ccode\u003eTriggerEntity\u003c/code\u003e class represents a trigger in the Database Migration v1 API and is not used independently, but rather as part of a Table entity.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTriggerEntity\u003c/code\u003e implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, making it compatible with protocol buffers.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eSqlCode\u003c/code\u003e, \u003ccode\u003eTriggerType\u003c/code\u003e, \u003ccode\u003eTriggeringEvents\u003c/code\u003e, and \u003ccode\u003eCustomFeatures\u003c/code\u003e to describe various aspects of the trigger.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available for the \u003ccode\u003eTriggerEntity\u003c/code\u003e class, ranging from version 1.0.0 to the latest version 2.5.0.\u003c/p\u003e\n"]]],[],null,["# Database Migration v1 API - Class TriggerEntity (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.4.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.3.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.2.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.1.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/2.0.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.2.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.1.0/Google.Cloud.CloudDms.V1.TriggerEntity)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/1.0.0/Google.Cloud.CloudDms.V1.TriggerEntity) \n\n public sealed class TriggerEntity : IMessage\u003cTriggerEntity\u003e, IEquatable\u003cTriggerEntity\u003e, IDeepCloneable\u003cTriggerEntity\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Database Migration v1 API class TriggerEntity.\n\nTrigger is not used as an independent entity, it is retrieved as part of a\nTable entity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TriggerEntity \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TriggerEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.TriggerEntity), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TriggerEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.TriggerEntity), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TriggerEntity](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1.TriggerEntity), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudDms.V1](/dotnet/docs/reference/Google.Cloud.CloudDms.V1/latest/Google.Cloud.CloudDms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudDms.V1.dll\n\nConstructors\n------------\n\n### TriggerEntity()\n\n public TriggerEntity()\n\n### TriggerEntity(TriggerEntity)\n\n public TriggerEntity(TriggerEntity other)\n\nProperties\n----------\n\n### CustomFeatures\n\n public Struct CustomFeatures { get; set; }\n\nCustom engine specific features.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the trigger.\n\n### SqlCode\n\n public string SqlCode { get; set; }\n\nThe SQL code which creates the trigger.\n\n### TriggerType\n\n public string TriggerType { get; set; }\n\nIndicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH\nROW.\n\n### TriggeringEvents\n\n public RepeatedField\u003cstring\u003e TriggeringEvents { get; }\n\nThe DML, DDL, or database events that fire the trigger, for example\nINSERT, UPDATE."]]